Added skeleton.
This commit is contained in:
34
Aclock.c
Normal file
34
Aclock.c
Normal file
@@ -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 <as@tenoware.com>
|
||||||
|
Copyright (c) 2016 Natalia Portillo <claunia@claunia.com>
|
||||||
|
**/
|
||||||
|
|
||||||
|
#include <Uefi.h>
|
||||||
|
#include <Library/UefiApplicationEntryPoint.h>
|
||||||
|
#include <Library/UefiLib.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
42
Aclock.inf
Normal file
42
Aclock.inf
Normal file
@@ -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 <as@tenoware.com>
|
||||||
|
# Copyright (c) 2016 Natalia Portillo <claunia@claunia.com>
|
||||||
|
#
|
||||||
|
##
|
||||||
|
|
||||||
|
[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]
|
||||||
Reference in New Issue
Block a user