diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-06-15 21:24:36 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-06-15 21:24:36 +0200 |
commit | f8dd9dd71ab603af23e008f1147f652b429c9296 (patch) | |
tree | 316bbf3585b9baeb55ca2b870e7be4724ce4936c /src/kernel/kernel.c | |
parent | 48f0fe5954a445ba890b6a3633bbbf46cddd07c9 (diff) | |
download | abaos-f8dd9dd71ab603af23e008f1147f652b429c9296.tar.gz abaos-f8dd9dd71ab603af23e008f1147f652b429c9296.tar.bz2 |
increased size of stage 2 bootloader by 1024 bytes
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r-- | src/kernel/kernel.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c index d74e031..9557745 100644 --- a/src/kernel/kernel.c +++ b/src/kernel/kernel.c @@ -31,7 +31,7 @@ static bool terminate = false; // also elimiate all the object allocated on the stack in kernel_main static driver_manager_t *global_driver_manager; -// must be first entry in kernel.bin (0x8400) as stage 2 of +// must be first entry in kernel.bin (0x8800) as stage 2 of // the boot loader expects the entry point to be here! void kernel_main( void ) { @@ -51,7 +51,8 @@ void kernel_main( void ) // initialize the early console of the kernel stdio_set_console( &console ); puts( "Started early kernel console" ); - printf( "Kernel code and data is at 0x%X, kernel stack at 0x%X\n", 0x8400, 0x90000 ); + // TODO: get those values somehow from the boot loader + printf( "Kernel code and data is at 0x%X, kernel stack at 0x%X\n", 0x8800, 0x90000 ); // exit point in case of kernel panic, do this as soon as // possible, as soon we have an early console we can croak on |