summaryrefslogtreecommitdiffstats
path: root/memtestEDK/Memtest/Cpuid/TestCpuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'memtestEDK/Memtest/Cpuid/TestCpuid.c')
-rw-r--r--memtestEDK/Memtest/Cpuid/TestCpuid.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/memtestEDK/Memtest/Cpuid/TestCpuid.c b/memtestEDK/Memtest/Cpuid/TestCpuid.c
new file mode 100644
index 0000000..2dffb1d
--- /dev/null
+++ b/memtestEDK/Memtest/Cpuid/TestCpuid.c
@@ -0,0 +1,23 @@
+
+#include <Uefi.h>
+#include <Library/UefiLib.h>
+#include <Library/UefiApplicationEntryPoint.h>
+
+#include "cpuid.h"
+
+
+EFI_STATUS
+EFIAPI
+UefiMain (
+ IN EFI_HANDLE ImageHandle,
+ IN EFI_SYSTEM_TABLE *SystemTable
+ )
+{
+ Print(L"Test for cpuid\n\n");
+
+ get_cpuid();
+
+ Print(L"Test finished.\n");
+
+ return EFI_SUCCESS;
+} \ No newline at end of file