From owner-cvs-all Tue Dec 10 12:16: 9 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3637837B401; Tue, 10 Dec 2002 12:16:08 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E490943EB2; Tue, 10 Dec 2002 12:16:07 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gBAKBKmV061060; Tue, 10 Dec 2002 12:11:20 -0800 (PST) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBAKBKp7061056; Tue, 10 Dec 2002 12:11:20 -0800 (PST) Message-Id: <200212102011.gBAKBKp7061056@repoman.freebsd.org> From: Marcel Moolenaar Date: Tue, 10 Dec 2002 12:11:20 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/efi/include efilib.h src/sys/boot/efi/libefi bootinfo.c libefi.c src/sys/boot/efi/loader main.c version X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG marcel 2002/12/10 12:11:20 PST Modified files: sys/boot/efi/include efilib.h sys/boot/efi/libefi bootinfo.c libefi.c sys/boot/efi/loader main.c version Log: Pass the HCDP table address to the kernel. If no such table exists, NULL is passed. The address of the HCDP table can be found by iterating over the configuration tables in the EFI system table. To avoid more duplication, a function can be called with the GUID of interest. The function will do the scanning. Use the function in all places where we iterate over the configuration tables in an attempt to find a specific one. Bump the loader version number as the result of this. Approved by: re (blanket) Revision Changes Path 1.3 +1 -0 src/sys/boot/efi/include/efilib.h 1.8 +3 -0 src/sys/boot/efi/libefi/bootinfo.c 1.4 +14 -0 src/sys/boot/efi/libefi/libefi.c 1.16 +4 -14 src/sys/boot/efi/loader/main.c 1.5 +2 -0 src/sys/boot/efi/loader/version To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message