diff options
author | imp <imp@FreeBSD.org> | 2015-12-18 06:13:18 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2015-12-18 06:13:18 +0000 |
commit | c013da36dd6433af682a60f3f39d806ea5fcebd3 (patch) | |
tree | e4d30d7bd1a762fc02f9bd1ff35ed0fd6e36fd44 | |
parent | 6862523ccbf5daf90337d3fbb6f5609fd93dcd8e (diff) | |
download | FreeBSD-src-c013da36dd6433af682a60f3f39d806ea5fcebd3.zip FreeBSD-src-c013da36dd6433af682a60f3f39d806ea5fcebd3.tar.gz |
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.
-rw-r--r-- | sys/sys/linker.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/linker.h b/sys/sys/linker.h index 7e562a6..5248bfb 100644 --- a/sys/sys/linker.h +++ b/sys/sys/linker.h @@ -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 */ |