main
Eggert Jung 7 months ago
parent 5a2e32aaeb
commit 0af397f02a

@ -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

Loading…
Cancel
Save