Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

141 lines
1.7 KiB

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