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:
parent
5321558a25
commit
b1c7737d0e
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue