1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

start to dump kernel position as position 0 (and not 1)

This commit is contained in:
Stefan Lankes 2015-05-24 09:54:43 +02:00
parent ef16996588
commit df57d3f04f

View file

@ -46,7 +46,7 @@ static uint32_t early_print = VGA_EARLY_PRINT;
static uint32_t early_print = NO_EARLY_PRINT;
#endif
static spinlock_irqsave_t olock = SPINLOCK_IRQSAVE_INIT;
static atomic_int32_t kmsg_counter = ATOMIC_INIT(0);
static atomic_int32_t kmsg_counter = ATOMIC_INIT(-1);
static unsigned char kmessages[KMSG_SIZE] __attribute__ ((section(".kmsg"))) = {[0 ... KMSG_SIZE-1] = 0x00};
int koutput_init(void)