]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/DxeResetSystemLib/UnitTest/MockUefiRuntimeServicesTableLib.c
MdeModulePkg: Add DxeResetSystemLib unit test
[mirror_edk2.git] / MdeModulePkg / Library / DxeResetSystemLib / UnitTest / MockUefiRuntimeServicesTableLib.c
diff --git a/MdeModulePkg/Library/DxeResetSystemLib/UnitTest/MockUefiRuntimeServicesTableLib.c b/MdeModulePkg/Library/DxeResetSystemLib/UnitTest/MockUefiRuntimeServicesTableLib.c
new file mode 100644 (file)
index 0000000..3540e1c
--- /dev/null
@@ -0,0 +1,13 @@
+/** @file\r
+  Mock implementation of the UEFI Runtime Services Table Library.\r
+\r
+  Copyright (C) Microsoft Corporation.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#include <Uefi.h>\r
+\r
+extern EFI_RUNTIME_SERVICES  MockRuntime;\r
+\r
+EFI_RUNTIME_SERVICES  *gRT = &MockRuntime;\r