started work on pmm
This commit is contained in:
29
kernel/multiboot.h
Normal file
29
kernel/multiboot.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef KMULTIBOOT_H
|
||||
#define KMULTIBOOT_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct {
|
||||
uint32_t flags;
|
||||
uint32_t mem_lower;
|
||||
uint32_t mem_upper;
|
||||
uint32_t boot_device;
|
||||
uint32_t cmdline;
|
||||
uint32_t mods_count;
|
||||
uint32_t mods_addr;
|
||||
uint32_t num;
|
||||
uint32_t size;
|
||||
uint32_t addr;
|
||||
uint32_t shndx;
|
||||
uint32_t mmap_length;
|
||||
uint32_t mmap_addr;
|
||||
} multiboot_info;
|
||||
|
||||
typedef struct __attribute__((packed)) {
|
||||
uint32_t size;
|
||||
uint64_t addr;
|
||||
uint64_t len;
|
||||
uint32_t type;
|
||||
} multiboot_mmap_entry;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user