efilib.h (138141) | efilib.h (163898) |
---|---|
1/*- 2 * Copyright (c) 2000 Doug Rabson 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2000 Doug Rabson 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/boot/efi/include/efilib.h 138141 2004-11-28 00:30:22Z marcel $ | 26 * $FreeBSD: head/sys/boot/efi/include/efilib.h 163898 2006-11-02 02:42:48Z marcel $ |
27 */ 28 | 27 */ 28 |
29#include <efifpswa.h> 30 |
|
29extern EFI_HANDLE IH; 30extern EFI_SYSTEM_TABLE *ST; 31extern EFI_BOOT_SERVICES *BS; 32extern EFI_RUNTIME_SERVICES *RS; 33 | 31extern EFI_HANDLE IH; 32extern EFI_SYSTEM_TABLE *ST; 33extern EFI_BOOT_SERVICES *BS; 34extern EFI_RUNTIME_SERVICES *RS; 35 |
36/* DIG64 Headless Console & Debug Port Table. */ 37#define HCDP_TABLE_GUID \ 38 {0xf951938d,0x620b,0x42ef,{0x82,0x79,0xa8,0x4b,0x79,0x61,0x78,0x98}} 39 |
|
34void *efi_get_table(EFI_GUID *tbl); 35void efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *system_table); 36 37EFI_PHYSICAL_ADDRESS efimd_va2pa(EFI_VIRTUAL_ADDRESS); 38 39EFI_STATUS main(int argc, CHAR16 *argv[]); 40void exit(EFI_STATUS status); | 40void *efi_get_table(EFI_GUID *tbl); 41void efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *system_table); 42 43EFI_PHYSICAL_ADDRESS efimd_va2pa(EFI_VIRTUAL_ADDRESS); 44 45EFI_STATUS main(int argc, CHAR16 *argv[]); 46void exit(EFI_STATUS status); |