summaryrefslogblamecommitdiffstats
path: root/efi_memtest/MemtestEfi.c
blob: 0f1aa180a0b32481da4477a2352c70ae095aae52 (plain) (tree)
1
2
3
4
5
6
7
8



                                              
                                
 

                                                           







                                   
 

                                     
               
 


                                  

 


                     

#include "Uefi.h"
#include "Library/UefiLib.h"
#include "Library/UefiApplicationEntryPoint.h"
#include "Guid/FileSystemInfo.h"

#include "memtest86+/efi/main.h" // TODO move into main dir
#include "memtest86+/efi/logger.h"

EFI_STATUS
EFIAPI
UefiMain (
  IN EFI_HANDLE        ImageHandle,
  IN EFI_SYSTEM_TABLE  *SystemTable
  )
{

  char *msg = "MemtestEfi started\n";
  print_log(msg, sizeof(*msg));
  test_start();

  char *msg2 = "Test finished!\n";
  print_log(msg2, sizeof(*msg2));
  //while(1) {}


  return EFI_SUCCESS;
}