Cucumber/kernel/include/Tier0/system.h

27 lines
621 B
C

#ifndef __SYSTEM_H__
#define __SYSTEM_H__
struct S_SYSTEM_MLTBT_MMAP {
u32 Size;
u32 BaseLow;
u32 BaseHigh;
u32 LengthLow;
u32 LengthHigh;
u32 Type;
} __attribute__ ((packed));
typedef struct S_SYSTEM_MLTBT_MMAP T_SYSTEM_MLTBT_MMAP;
struct S_SYSTEM_INVALID_RAM {
u32 Base;
u32 Size;
} __attribute__ ((packed));
typedef struct S_SYSTEM_INVALID_RAM T_SYSTEM_INVALID_RAM;
void system_parse_multiboot_header(void *Header);
u32 system_get_memory_upper(void);
u32 system_get_memory_lower(void);
s8 *system_get_bootloader_name(void);
u8 system_memory_available(u32 Start, u32 Length);
#endif