1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00
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) void InitBootInfo(multiboot_info_t *mbi)
{ {
KalAssert(mbi); // We need the multiboot structure
KalAlwaysAssert(mbi);
extern uint MB_header; extern uint MB_header;
//Retrieves the bootloader informations //Retrieves the bootloader informations

View File

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

View File

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