Subversion Repositories HelenOS

Rev

Rev 2726 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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