summaryrefslogblamecommitdiffstats
path: root/efi_memtest/MemtestEfi.c
blob: 0a58bfe2de8c84b462a6af2fc005ab926edc7726 (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 "main.h" // TODO move into main dir
#include "memtest86+/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;
}