Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Dec 2015 06:13:18 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r292429 - head/sys/sys
Message-ID:  <201512180613.tBI6DI3Q062978@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512180613.tBI6DI3Q062978>