OvmfPkg: new macros for platform specific register addresses and values
Define some new macros for register addresses (both PCI and IO) and register values (bits) that we're going to use soon. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Acked-by: Gabriel Somlo <somlo@cmu.edu> Tested-by: Gabriel Somlo <somlo@cmu.edu> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17433 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -32,4 +32,9 @@
|
||||
//
|
||||
#define POWER_MGMT_REGISTER_PIIX4(Offset) PCI_LIB_ADDRESS (0, 1, 3, (Offset))
|
||||
|
||||
#define PIIX4_PMBA 0x40
|
||||
|
||||
#define PIIX4_PMREGMISC 0x80
|
||||
#define PIIX4_PMREGMISC_PMIOSE BIT0
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user