⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kernel.java

📁 nachos操作系统框架
💻 JAVA
字号:
// PART OF THE MACHINE SIMULATION. DO NOT CHANGE.package nachos.machine;/** * An OS kernel. */public abstract class Kernel {    /** Globally accessible reference to the kernel. */    public static Kernel kernel = null;    /**     * Allocate a new kernel.     */    public Kernel() {	// make sure only one kernel is created	Lib.assert(kernel == null);		kernel = this;    }    /**     * Initialize this kernel.     */    public abstract void initialize(String[] args);        /**     * Test that this module works.     *     * <b>Warning:</b> this method will not be invoked by the autograder when     * we grade your projects. You should perform all initialization in     * <tt>initialize()</tt>.     */    public abstract void selfTest();        /**     * Begin executing user programs, if applicable.     */    public abstract void run();    /**     * Terminate this kernel. Never returns.     */    public abstract void terminate();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -