mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
Make asm-x86/bootparam.h includable from userspace.
To actually write a bootloader (or, say, the lguest launcher) currently requires duplication of these structures. Making them includable from userspace is much nicer. We merge the common userspace-required definitions of e820_32/64.h into e820.h for export. Signed-off-by: Rusty Russell <[email protected]>
This commit is contained in:
parent
9525ca0286
commit
ee8e7cfe9d
13 changed files with 229 additions and 225 deletions
|
|
@ -46,7 +46,7 @@ typedef uint32_t u32;
|
|||
typedef uint16_t u16;
|
||||
typedef uint8_t u8;
|
||||
#include "../../include/linux/lguest_launcher.h"
|
||||
#include "../../include/asm-x86/e820_32.h"
|
||||
#include "../../include/asm-x86/e820.h"
|
||||
/*:*/
|
||||
|
||||
#define PAGE_PRESENT 0x7 /* Present, RW, Execute */
|
||||
|
|
|
|||
Loading…
Reference in a new issue