update PrintInt and change PutString to PutInt
This commit is contained in:
@@ -308,4 +308,7 @@ int Kernel::CreateFile(char *filename)
|
||||
return fileSystem->Create(filename);
|
||||
}
|
||||
|
||||
|
||||
void Kernel::PrintInt(int value)
|
||||
{
|
||||
return synchConsoleOut->PutInt(value);
|
||||
}
|
||||
|
||||
@@ -42,7 +42,9 @@ class Kernel {
|
||||
|
||||
void ConsoleTest(); // interactive console self test
|
||||
void NetworkTest(); // interactive 2-machine network test
|
||||
Thread* getThread(int threadID){return t[threadID];}
|
||||
Thread* getThread(int threadID){return t[threadID];}
|
||||
|
||||
void PrintInt(int n);
|
||||
|
||||
int CreateFile(char* filename); // fileSystem call
|
||||
|
||||
|
||||
Reference in New Issue
Block a user