Add a generic firmware dependent handle to pass from the loader to the
kernel. This will be used for passing in things like the system table from EFI or other similar metadata that can be used by the kernel to communicate with the firmware.
This commit is contained in:
@@ -215,6 +215,7 @@ void *linker_hwpmc_list_objects(void);
|
||||
#define MODINFOMD_SHDR 0x0009 /* section header table */
|
||||
#define MODINFOMD_CTORS_ADDR 0x000a /* address of .ctors */
|
||||
#define MODINFOMD_CTORS_SIZE 0x000b /* size of .ctors */
|
||||
#define MODINFOMD_FW_HANDLE 0x000c /* Firmware dependent handle */
|
||||
#define MODINFOMD_NOCOPY 0x8000 /* don't copy this metadata to the kernel */
|
||||
|
||||
#define MODINFOMD_DEPLIST (0x4001 | MODINFOMD_NOCOPY) /* depends on */
|
||||
|
||||
Reference in New Issue
Block a user