aufg 0
This commit is contained in:
6
main.cc
6
main.cc
@@ -1,14 +1,18 @@
|
||||
|
||||
#include "arch/lapic.h"
|
||||
#include "boot/startup_ap.h"
|
||||
#include "debug/output.h"
|
||||
|
||||
#include "cga.h"
|
||||
|
||||
// Main function
|
||||
// (the bootstrap processor starts here)}
|
||||
extern "C" int main() {
|
||||
unsigned int numCPUs = Core::count();
|
||||
DBG_VERBOSE << "Number of CPUs: " << numCPUs << endl;
|
||||
|
||||
clear_display();
|
||||
puts("Moin!");
|
||||
|
||||
/* Start application processors
|
||||
* To avoid unexpected behaviour, make sure that interrupts are not
|
||||
* enabled before the APs are booted. Otherwise it might interfere with the
|
||||
|
||||
Reference in New Issue
Block a user