Adding upstream version 6.03~pre2+dfsg.
[syslinux-debian/hramrach.git] / efi32 / include / efi / efirtlib.h
blobc073ead97a7c4d64d891d8e79b317cc2b130b220
1 #ifndef _EFI_RT_LIB_INCLUDE_
2 #define _EFI_RT_LIB_INCLUDE_
3 /*++
5 Copyright (c) 1998 Intel Corporation
7 Module Name:
9 efilib.h
11 Abstract:
13 EFI Runtime library functions
17 Revision History
19 --*/
21 #include "efidebug.h"
22 #include "efipart.h"
23 #include "efilibplat.h"
26 VOID
27 RUNTIMEFUNCTION
28 RtZeroMem (
29 IN VOID *Buffer,
30 IN UINTN Size
33 VOID
34 RUNTIMEFUNCTION
35 RtSetMem (
36 IN VOID *Buffer,
37 IN UINTN Size,
38 IN UINT8 Value
41 VOID
42 RUNTIMEFUNCTION
43 RtCopyMem (
44 IN VOID *Dest,
45 IN CONST VOID *Src,
46 IN UINTN len
49 INTN
50 RUNTIMEFUNCTION
51 RtCompareMem (
52 IN CONST VOID *Dest,
53 IN CONST VOID *Src,
54 IN UINTN len
57 INTN
58 RUNTIMEFUNCTION
59 RtStrCmp (
60 IN CONST CHAR16 *s1,
61 IN CONST CHAR16 *s2
65 VOID
66 RUNTIMEFUNCTION
67 RtStrCpy (
68 IN CHAR16 *Dest,
69 IN CONST CHAR16 *Src
72 VOID
73 RUNTIMEFUNCTION
74 RtStrCat (
75 IN CHAR16 *Dest,
76 IN CONST CHAR16 *Src
79 UINTN
80 RUNTIMEFUNCTION
81 RtStrLen (
82 IN CONST CHAR16 *s1
85 UINTN
86 RUNTIMEFUNCTION
87 RtStrSize (
88 IN CONST CHAR16 *s1
91 INTN
92 RUNTIMEFUNCTION
93 RtCompareGuid (
94 IN EFI_GUID *Guid1,
95 IN EFI_GUID *Guid2
98 UINT8
99 RUNTIMEFUNCTION
100 RtDecimaltoBCD(
101 IN UINT8 BcdValue
104 UINT8
105 RUNTIMEFUNCTION
106 RtBCDtoDecimal(
107 IN UINT8 BcdValue
111 // Virtual mapping transition support. (Only used during
112 // the virtual address change transisition)
115 VOID
116 RUNTIMEFUNCTION
117 RtLibEnableVirtualMappings (
118 VOID
121 VOID
122 RUNTIMEFUNCTION
123 RtConvertList (
124 IN UINTN DebugDisposition,
125 IN OUT LIST_ENTRY *ListHead
128 VOID
129 RUNTIMEFUNCTION
130 RtAcquireLock (
131 IN FLOCK *Lock
134 VOID
135 RUNTIMEFUNCTION
136 RtReleaseLock (
137 IN FLOCK *Lock
141 #endif