Files
RockOS/kernel/multiboot.h

29 lines
546 B
C
Raw Normal View History

2026-06-13 20:43:09 -04:00
#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