optionrom.h (84a5a8014801a83d1b8d15fa7f0fde03db081530) optionrom.h (5be5df720e600502ff530cee51a7ac0622f62f6f)
1/*
2 * Common Option ROM Functions
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 5 unchanged lines hidden (view full) ---

14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
16 *
17 * Copyright Novell Inc, 2009
18 * Authors: Alexander Graf <agraf@suse.de>
19 */
20
21
1/*
2 * Common Option ROM Functions
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 5 unchanged lines hidden (view full) ---

14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
16 *
17 * Copyright Novell Inc, 2009
18 * Authors: Alexander Graf <agraf@suse.de>
19 */
20
21
22#include "../../include/hw/nvram/fw_cfg_keys.h"
22#define FW_CFG_KERNEL_ADDR 0x07
23#define FW_CFG_KERNEL_SIZE 0x08
24#define FW_CFG_KERNEL_CMDLINE 0x09
25#define FW_CFG_INITRD_ADDR 0x0a
26#define FW_CFG_INITRD_SIZE 0x0b
27#define FW_CFG_KERNEL_ENTRY 0x10
28#define FW_CFG_KERNEL_DATA 0x11
29#define FW_CFG_INITRD_DATA 0x12
30#define FW_CFG_CMDLINE_ADDR 0x13
31#define FW_CFG_CMDLINE_SIZE 0x14
32#define FW_CFG_CMDLINE_DATA 0x15
33#define FW_CFG_SETUP_ADDR 0x16
34#define FW_CFG_SETUP_SIZE 0x17
35#define FW_CFG_SETUP_DATA 0x18
23
24#define BIOS_CFG_IOPORT_CFG 0x510
25#define BIOS_CFG_IOPORT_DATA 0x511
26
27/* Break the translation block flow so -d cpu shows us values */
28#define DEBUG_HERE \
29 jmp 1f; \
30 1:

--- 121 unchanged lines hidden ---
36
37#define BIOS_CFG_IOPORT_CFG 0x510
38#define BIOS_CFG_IOPORT_DATA 0x511
39
40/* Break the translation block flow so -d cpu shows us values */
41#define DEBUG_HERE \
42 jmp 1f; \
43 1:

--- 121 unchanged lines hidden ---