Import backup from 2004-07-10
This commit is contained in:
1 parent
0729754659
commit
872d562d6a
6 files changed
+74
-16
No files matched your search
+7
-1
@@ -4,7 +4,13 @@
|
||||
|
||||
#include "multiboot.h"
|
||||
|
||||
#define LINK_ADDRESS 0xC0000000
|
||||
#define VIRT_OFFSET 0xC0000000
|
||||
#define MAX_MODULES 16
|
||||
#define MAX_MMAP 16
|
||||
|
||||
typedef unsigned int u32_t;
|
||||
typedef unsigned short u16_t;
|
||||
typedef unsigned char u8_t;
|
||||
|
||||
/* returns true to callee if we should jump to a real mode module */
|
||||
int k_mbsave(mb_info_t *mbinfo, unsigned int mb_magic);
|
||||
|
||||
+12
-12
@@ -66,26 +66,26 @@ typedef struct
|
||||
typedef struct
|
||||
{
|
||||
unsigned int flags;
|
||||
unsigned int mem_lower;
|
||||
unsigned int mem_lower; // present if flags[0] is set
|
||||
unsigned int mem_upper;
|
||||
unsigned int boot_device;
|
||||
unsigned int cmdline;
|
||||
unsigned int mods_count;
|
||||
unsigned int boot_device; // 1
|
||||
unsigned int cmdline; // 2
|
||||
unsigned int mods_count; // 3
|
||||
unsigned int mods_addr;
|
||||
union
|
||||
{
|
||||
mb_aout_symbol_table_t aout_sym;
|
||||
mb_elf_section_header_table_t elf_sec;
|
||||
mb_aout_symbol_table_t aout_sym; // 4
|
||||
mb_elf_section_header_table_t elf_sec; // 5
|
||||
};
|
||||
unsigned int mmap_length;
|
||||
unsigned int mmap_length; // 6
|
||||
unsigned int mmap_addr;
|
||||
unsigned int drives_length;
|
||||
unsigned int drives_length; // 7
|
||||
unsigned int drives_addr;
|
||||
unsigned int config_table;
|
||||
unsigned int bootloader_name;
|
||||
unsigned int apm_table;
|
||||
unsigned int config_table; // 8
|
||||
unsigned int bootloader_name; // 9
|
||||
unsigned int apm_table; // 10
|
||||
|
||||
unsigned int vbe_control_info;
|
||||
unsigned int vbe_control_info; // 11
|
||||
unsigned int vbe_mode_info;
|
||||
unsigned short vbe_mode;
|
||||
unsigned short vbe_interface_seg;
|
||||
|
||||
Reference in new issue
Block a user