Subversion Repositories HelenOS

Rev

Rev 2726 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2726 vana 1
#ifndef _EFI_RT_LIB_INCLUDE_
2
#define _EFI_RT_LIB_INCLUDE_
3
/*++
4
 
5
Copyright (c) 1998  Intel Corporation
6
 
7
Module Name:
8
 
9
    efilib.h
10
 
11
Abstract:
12
 
13
    EFI Runtime library functions
14
 
15
 
16
 
17
Revision History
18
 
19
--*/
20
 
21
#include "efidebug.h"
22
#include "efipart.h"
23
#include "efilibplat.h"
24
 
25
 
26
VOID
27
RUNTIMEFUNCTION
28
RtZeroMem (
29
    IN VOID     *Buffer,
30
    IN UINTN     Size
31
    );
32
 
33
VOID
34
RUNTIMEFUNCTION
35
RtSetMem (
36
    IN VOID     *Buffer,
37
    IN UINTN    Size,
38
    IN UINT8    Value    
39
    );
40
 
41
VOID
42
RUNTIMEFUNCTION
43
RtCopyMem (
44
    IN VOID     *Dest,
45
    IN VOID     *Src,
46
    IN UINTN    len
47
    );
48
 
49
INTN
50
RUNTIMEFUNCTION
51
RtCompareMem (
52
    IN VOID     *Dest,
53
    IN VOID     *Src,
54
    IN UINTN    len
55
    );
56
 
57
INTN
58
RUNTIMEFUNCTION
59
RtStrCmp (
60
    IN CHAR16   *s1,
61
    IN CHAR16   *s2
62
    );
63
 
64
 
65
VOID
66
RUNTIMEFUNCTION
67
RtStrCpy (
68
    IN CHAR16   *Dest,
69
    IN CHAR16    *Src
70
    );
71
 
72
VOID
73
RUNTIMEFUNCTION
74
RtStrCat (
75
    IN CHAR16   *Dest,
76
    IN CHAR16   *Src
77
    );
78
 
79
UINTN
80
RUNTIMEFUNCTION
81
RtStrLen (
82
    IN CHAR16   *s1
83
    );
84
 
85
UINTN
86
RUNTIMEFUNCTION
87
RtStrSize (
88
    IN CHAR16   *s1
89
    );
90
 
91
INTN
92
RUNTIMEFUNCTION
93
RtCompareGuid (
94
    IN EFI_GUID     *Guid1,
95
    IN EFI_GUID     *Guid2
96
    );
97
 
98
UINT8
99
RUNTIMEFUNCTION
100
RtDecimaltoBCD(
101
    IN  UINT8 BcdValue
102
    );
103
 
104
UINT8
105
RUNTIMEFUNCTION
106
RtBCDtoDecimal(
107
    IN  UINT8 BcdValue
108
    );
109
 
110
//
111
// Virtual mapping transition support.  (Only used during
112
// the virtual address change transisition)
113
//
114
 
115
VOID
116
RUNTIMEFUNCTION
117
RtLibEnableVirtualMappings (
118
    VOID
119
    );
120
 
121
VOID
122
RUNTIMEFUNCTION
123
RtConvertList (
124
    IN UINTN            DebugDisposition,
125
    IN OUT LIST_ENTRY   *ListHead
126
    );
127
 
128
VOID
129
RUNTIMEFUNCTION
130
RtAcquireLock (
131
    IN FLOCK    *Lock
132
    );
133
 
134
VOID
135
RUNTIMEFUNCTION
136
RtReleaseLock (
137
    IN FLOCK    *Lock
138
    );
139
 
140
 
141
#endif