|
|
|
@ -63,9 +63,13 @@ OutputStream* copyout[Core::MAX]{
|
|
|
|
&dout[7]
|
|
|
|
&dout[7]
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unsigned int testx, testy;
|
|
|
|
|
|
|
|
|
|
|
|
// Main function
|
|
|
|
// Main function
|
|
|
|
// (the bootstrap processor starts here)}
|
|
|
|
// (the bootstrap processor starts here)}
|
|
|
|
extern "C" int main() {
|
|
|
|
extern "C" int main() {
|
|
|
|
|
|
|
|
CGA::setCursor(0, 0);
|
|
|
|
|
|
|
|
|
|
|
|
unsigned int numCPUs = Core::count();
|
|
|
|
unsigned int numCPUs = Core::count();
|
|
|
|
DBG_VERBOSE << "Number of CPUs: " << numCPUs << endl;
|
|
|
|
DBG_VERBOSE << "Number of CPUs: " << numCPUs << endl;
|
|
|
|
|
|
|
|
|
|
|
|
@ -102,8 +106,12 @@ extern "C" int main() {
|
|
|
|
|
|
|
|
|
|
|
|
PS2Controller::drainBuffer();
|
|
|
|
PS2Controller::drainBuffer();
|
|
|
|
|
|
|
|
|
|
|
|
Application{}.action();
|
|
|
|
DBG << "Main CPU " << static_cast<int>(LAPIC::getID()) << endl << flush;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Application{}.action();
|
|
|
|
while (true){
|
|
|
|
while (true){
|
|
|
|
|
|
|
|
DBG << "pos: " << testx << ", " << testy << endl << flush;
|
|
|
|
|
|
|
|
Core::pause();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
|