init: init nachos hw01, should pass jenkins os_group_20_hw job but fail on os_group_20_ta job

This commit is contained in:
TA
2024-09-19 18:59:13 +08:00
commit 6ad2fa368f
267 changed files with 71977 additions and 0 deletions

19
code/threads/main.h Normal file
View File

@@ -0,0 +1,19 @@
// main.h
// This file defines the Nachos global variables
//
// Copyright (c) 1992-1996 The Regents of the University of California.
// All rights reserved. See copyright.h for copyright notice and limitation
// of liability and disclaimer of warranty provisions.
#ifndef MAIN_H
#define MAIN_H
#include "copyright.h"
#include "debug.h"
#include "kernel.h"
extern Kernel *kernel;
extern Debug *debug;
#endif // MAIN_H