This commit is contained in:
Adrien Bourmault 2019-03-19 13:59:54 +01:00
parent a2cf863cd0
commit 9f4c8196ce
3 changed files with 5 additions and 5 deletions

View File

@ -33,8 +33,8 @@
//
void InitBootInfo(multiboot_info_t *mbi)
{
KalAssert(mbi);
// We need the multiboot structure
KalAlwaysAssert(mbi);
extern uint MB_header;
//Retrieves the bootloader informations

View File

@ -27,7 +27,7 @@
int cpuCount = 1;
Processor_t cpuTable[NCPUS] = {0};
BootInfo_t bootTab = {0}
BootInfo_t bootTab = {0};
Terminal_t *StdOut = 0, *StdDbg = 0;
volatile char *PanicStr = 0;

View File

@ -27,8 +27,8 @@
error_t InitMemoryMap(void)
{
///uint MapIsValid = (GetBootInfo(btldr).grubFlags & MULTIBOOT_INFO_MEM_MAP = MULTIBOOT_INFO_MEM_MAP ? 1 : 0);
KalAlwaysAssert(MapIsValid);
uint mapIsValid = (GetBootInfo(btldr).grubFlags & MULTIBOOT_INFO_MEM_MAP) == MULTIBOOT_INFO_MEM_MAP;
KalAlwaysAssert(0);
return EOK;
}