TestHelloWorld: Code cleanup
SPDX-License-Identifier: BSD-3-Clause
**/
-#include <Uefi.h>
-#include <Library/UefiLib.h>
-#include <Library/UefiApplicationEntryPoint.h>
#include <Library/UefiBootServicesTableLib.h>
+#include <Library/DebugLib.h>
+STATIC
EFI_STATUS
EFIAPI
UefiMain (
@@ -15,11 +14,12 @@ UefiMain (
IN EFI_SYSTEM_TABLE *SystemTable
)
{
- Print (L"Hello world\n");
+ DEBUG ((DEBUG_ERROR, "Hello world\n"));
return EFI_SUCCESS;
}
int main(int argc, const char *argv[]) {
UefiMain (gImageHandle, gST);
+
return 0;
}
