Add a pointer to the root device to the LinuxBIOS table. Used for
example to access the device list from Open Firmware. Signed-off-by: Jens Freimann <jens@freimann.org> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@500 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
d3f1396e9b
commit
d2d637c4ac
2 changed files with 31 additions and 1 deletions
|
|
@ -167,6 +167,14 @@ struct lb_string {
|
|||
u8 string[0];
|
||||
};
|
||||
|
||||
#define LB_TAG_DEVTREE_PTR 0x000e
|
||||
|
||||
struct lb_devtree {
|
||||
u32 tag;
|
||||
u32 size;
|
||||
u32 dev_root_ptr; /* Pointer to the root device */
|
||||
};
|
||||
|
||||
/* The following structures are for the cmos definitions table */
|
||||
#define LB_TAG_CMOS_OPTION_TABLE 200
|
||||
/* cmos header record */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue