commit a840d16a89c230f83caf82ffd0bd2a8d95eb117e Author: Natalia Portillo Date: Tue May 17 15:47:26 2016 +0100 Added skeleton. diff --git a/Aclock.c b/Aclock.c new file mode 100644 index 0000000..357c4be --- /dev/null +++ b/Aclock.c @@ -0,0 +1,34 @@ +/** @file + Aclock is an analog clock program for text mode console displays, terminals, or terminal emulators. + This program is obviously absolutely useless, except for turning your old, expensive mainframe or + supercomputer into a wall clock. + + Copyright (c) 1994-2016 Antoni Sawicki + Copyright (c) 2016 Natalia Portillo +**/ + +#include +#include +#include + +/** + as the real entry point for the application. + + @param[in] ImageHandle The firmware allocated handle for the EFI image. + @param[in] SystemTable A pointer to the EFI System Table. + + @retval EFI_SUCCESS The entry point is executed successfully. + @retval other Some error occurs when executing this entry point. + +**/ +EFI_STATUS +EFIAPI +UefiMain ( + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable + ) +{ + Print(L"Hello World \n"); + return EFI_SUCCESS; +} + diff --git a/Aclock.inf b/Aclock.inf new file mode 100644 index 0000000..bd460ed --- /dev/null +++ b/Aclock.inf @@ -0,0 +1,42 @@ +## @file +# Aclock is an analog clock program for text mode console displays, terminals, or terminal emulators. +# This program is obviously absolutely useless, except for turning your old, expensive mainframe or +# supercomputer into a wall clock. +# +# Copyright (c) 1994-2016 Antoni Sawicki +# Copyright (c) 2016 Natalia Portillo +# +## + +[Defines] + INF_VERSION = 1.25 + BASE_NAME = Aclock + FILE_GUID = 23825e7d-3da7-4201-836d-582d369b0986 + MODULE_TYPE = UEFI_APPLICATION + VERSION_STRING = 1.0 + ENTRY_POINT = UefiMain +# +# The following information is for reference only and not required by the build tools. +# +# VALID_ARCHITECTURES = IA32 X64 IPF EBC Etc... +# + +[Sources] + Aclock.c + +[Packages] + MdePkg/MdePkg.dec + +[LibraryClasses] + UefiApplicationEntryPoint + UefiLib + +[Guids] + +[Ppis] + +[Protocols] + +[FeaturePcd] + +[Pcd]