xref: /netbsd-src/sys/external/bsd/gnu-efi/dist/inc/ia64/efilibplat.h (revision b2c829d73acfa2ef1ac1967460ebcec8f439b096)
1 /*	$NetBSD: efilibplat.h,v 1.1.1.1 2014/04/01 16:16:07 jakllsch Exp $	*/
2 
3 #ifndef _EFI_LIB_PLAT_H
4 #define _EFI_LIB_PLAT_H
5 /*++
6 
7 Copyright (c) 1998  Intel Corporation
8 
9 Module Name:
10 
11     efilibplat.h
12 
13 Abstract:
14 
15     EFI to compile bindings
16 
17 
18 
19 Revision History
20 
21 --*/
22 
23 #include "salproc.h"
24 
25 
26 VOID
27 InitializeLibPlatform (
28     IN EFI_HANDLE           ImageHandle,
29     IN EFI_SYSTEM_TABLE     *SystemTable
30     );
31 
32 VOID
33 LibInitSalAndPalProc(
34     OUT PLABEL  *SalPlabel,
35     OUT UINT64  *PalEntry
36     );
37 
38 EFI_STATUS
39 LibGetSalIoPortMapping (
40     OUT UINT64  *IoPortMapping
41     );
42 
43 EFI_STATUS
44 LibGetSalIpiBlock (
45     OUT UINT64  *IpiBlock
46     );
47 
48 EFI_STATUS
49 LibGetSalWakeupVector (
50     OUT UINT64  *WakeVector
51     );
52 
53 VOID *
54 LibSearchSalSystemTable (
55     IN  UINT8   EntryType
56     );
57 
58 
59 VOID
60 LibSalProc (
61     IN  UINT64    Arg1,
62     IN  UINT64    Arg2,
63     IN  UINT64    Arg3,
64     IN  UINT64    Arg4,
65     IN  UINT64    Arg5,
66     IN  UINT64    Arg6,
67     IN  UINT64    Arg7,
68     IN  UINT64    Arg8,
69     OUT rArg      *Results  OPTIONAL
70     );
71 
72 VOID
73 LibPalProc (
74     IN  UINT64    Arg1,
75     IN  UINT64    Arg2,
76     IN  UINT64    Arg3,
77     IN  UINT64    Arg4,
78     OUT rArg      *Results  OPTIONAL
79     );
80 
81 #endif
82 
83