svn commit: r292429 - head/sys/sys
Warner Losh
imp at FreeBSD.org
Fri Dec 18 06:13:20 UTC 2015
Author: imp
Date: Fri Dec 18 06:13:18 2015
New Revision: 292429
URL: https://svnweb.freebsd.org/changeset/base/292429
Log:
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.
Modified:
head/sys/sys/linker.h
Modified: head/sys/sys/linker.h
==============================================================================
--- head/sys/sys/linker.h Fri Dec 18 05:55:24 2015 (r292428)
+++ head/sys/sys/linker.h Fri Dec 18 06:13:18 2015 (r292429)
@@ -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 */
More information about the svn-src-head
mailing list