Rewrite core of the XTLDR boot loader
Reviewed-on: #7 Reviewed-by: Piotr Likoski <likoski@noreply.codingworkshop.git> Co-authored-by: Rafal Kupiec <belliash@codingworkshop.eu.org> Co-committed-by: Rafal Kupiec <belliash@codingworkshop.eu.org>
This commit is contained in:
committed by
CodingWorkshop Signing Team
parent
44905bb71d
commit
4412d4fc98
38
xtldr/modules/beep/includes/beep.h
Normal file
38
xtldr/modules/beep/includes/beep.h
Normal file
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtldr/modules/beep/includes/beep.h
|
||||
* DESCRIPTION: XTLDR Beep Module header file
|
||||
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||
*/
|
||||
|
||||
#ifndef __XTLDR_BEEP_BEEP_H
|
||||
#define __XTLDR_BEEP_BEEP_H
|
||||
|
||||
#include <xtblapi.h>
|
||||
#include <globals.h>
|
||||
|
||||
|
||||
/* Beep module routines forward references */
|
||||
XTCDECL
|
||||
VOID
|
||||
BpDisableToneBeep();
|
||||
|
||||
XTCDECL
|
||||
VOID
|
||||
BpEnableToneBeep(IN UINT Pitch);
|
||||
|
||||
XTCDECL
|
||||
VOID
|
||||
BpPlayTune(IN PWCHAR Arguments);
|
||||
|
||||
XTCDECL
|
||||
UINT
|
||||
BpWideStringToNumber(IN PWCHAR String);
|
||||
|
||||
XTCDECL
|
||||
EFI_STATUS
|
||||
XtLdrModuleMain(IN EFI_HANDLE ImageHandle,
|
||||
IN PEFI_SYSTEM_TABLE SystemTable);
|
||||
|
||||
#endif/* __XTLDR_BEEP_BEEP_H */
|
18
xtldr/modules/beep/includes/globals.h
Normal file
18
xtldr/modules/beep/includes/globals.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtldr/modules/beep/includes/globals.h
|
||||
* DESCRIPTION: XTLDR Beep Module global variables
|
||||
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||
*/
|
||||
|
||||
#ifndef __XTLDR_BEEP_GLOBALS_H
|
||||
#define __XTLDR_BEEP_GLOBALS_H
|
||||
|
||||
#include <beep.h>
|
||||
|
||||
|
||||
/* XTLDR protocol handler */
|
||||
EXTERN PXTBL_LOADER_PROTOCOL XtLdrProto;
|
||||
|
||||
#endif/* __XTLDR_BEEP_GLOBALS_H */
|
Reference in New Issue
Block a user