main: disable interrupts on BSP entry

this prevents boot failure due to unallocated memory being written to
during early boot
This commit is contained in:
Michael Shaw 2023-11-01 15:35:26 -04:00
commit b1c7737d0e

View file

@ -108,6 +108,7 @@ char *kcmdline_get_symbol(const char *sym)
void kmain(void)
{
cli();
hhdm_start = hhdm_req.response->offset;
data_end = (uintptr_t)(&__data_end);
bss_start = (uintptr_t)(&__bss_start);