x86 multiboot.h

Change-Id: I245564a98fb9e2572b88f8feb7411ad6800a543c
This commit is contained in:
Ben Gras
2013-12-10 22:47:53 +01:00
committed by Lionel Sambuc
parent 7df88eaa69
commit be9fe09e97
12 changed files with 111 additions and 213 deletions

View File

@@ -292,7 +292,7 @@ struct multiboot_info
/* Kernel command line */
u32_t cmdline;
/* Boot-Module list */
u32_t mods_count;
u32_t mi_mods_count;
u32_t mods_addr;
union
{
@@ -338,8 +338,8 @@ typedef struct multiboot_mod_list multiboot_module_t;
struct multiboot_mmap_entry
{
u32_t size;
u64_t addr;
u64_t len;
u64_t mm_base_addr;
u64_t mm_length;
#define MULTIBOOT_MEMORY_AVAILABLE 1
#define MULTIBOOT_MEMORY_RESERVED 2
u32_t type;

View File

@@ -1,12 +1,14 @@
#ifndef _TYPE_H
#define _TYPE_H
#include <sys/types.h>
#include <machine/multiboot.h>
#ifndef _MINIX_SYS_CONFIG_H
#include <minix/sys_config.h>
#endif
#include <sys/types.h>
#include <sys/sigtypes.h>
#include <stdint.h>