summaryrefslogtreecommitdiffstats
path: root/memtestEDK/Memtest/SingleComponents/TestSmp.c
blob: 5a44cbd58d12e05470667d3b251992937f495855 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

#define UEFI


#include <Uefi.h>
#include <Library/UefiLib.h>
#include <Library/UefiApplicationEntryPoint.h>

#include "cpuid.h"
#include "smp.h"
#include "SmpTestFunctions/cpuid_test.h"
#include "SmpTestFunctions/apic_test.h"

EFI_STATUS
EFIAPI
UefiMain (
  IN EFI_HANDLE        ImageHandle,
  IN EFI_SYSTEM_TABLE  *SystemTable
  )
{
  Print(L"Test of smp.h\n\n");
  get_cpuid_Fn0000_0000();

  Print(L"Test of smp.c\n\n");
  smp_find_cpus_test();

  Print(L"Test finished.\n");

  return EFI_SUCCESS;
}