mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 18:12:36 +03:00
[phantom] Add CLP settings interface
This interface provides access to firmware settings (e.g. MAC address) that will apply to all drivers loaded for the duration of the current system boot.
This commit is contained in:
@@ -106,6 +106,15 @@ enum unm_reg_blocks {
|
||||
#define UNM_CAM_RAM_DMESG_SIG(n) ( UNM_CAM_RAM + 0x0003c + (n) * 0x10 )
|
||||
#define UNM_CAM_RAM_DMESG_SIG_MAGIC 0xcafebabeUL
|
||||
#define UNM_CAM_RAM_NUM_DMESG_BUFFERS 5
|
||||
#define UNM_CAM_RAM_CLP_COMMAND ( UNM_CAM_RAM + 0x000c0 )
|
||||
#define UNM_CAM_RAM_CLP_COMMAND_LAST 0x00000080UL
|
||||
#define UNM_CAM_RAM_CLP_DATA_LO ( UNM_CAM_RAM + 0x000c4 )
|
||||
#define UNM_CAM_RAM_CLP_DATA_HI ( UNM_CAM_RAM + 0x000c8 )
|
||||
#define UNM_CAM_RAM_CLP_STATUS ( UNM_CAM_RAM + 0x000cc )
|
||||
#define UNM_CAM_RAM_CLP_STATUS_START 0x00000001UL
|
||||
#define UNM_CAM_RAM_CLP_STATUS_DONE 0x00000002UL
|
||||
#define UNM_CAM_RAM_CLP_STATUS_ERROR 0x0000ff00UL
|
||||
#define UNM_CAM_RAM_CLP_STATUS_UNINITIALISED 0xffffffffUL
|
||||
#define UNM_CAM_RAM_WOL_PORT_MODE ( UNM_CAM_RAM + 0x00198 )
|
||||
#define UNM_CAM_RAM_MAC_ADDRS ( UNM_CAM_RAM + 0x001c0 )
|
||||
#define UNM_CAM_RAM_COLD_BOOT ( UNM_CAM_RAM + 0x001fc )
|
||||
|
||||
Reference in New Issue
Block a user