-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
stubs.c
56 lines (42 loc) · 785 Bytes
/
stubs.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* PROJECT: FreeLoader UEFI Support
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Function stubs
* COPYRIGHT: Copyright 2022 Justin Miller <justinmiller100@gmail.com>
*/
#include <uefildr.h>
#include <debug.h>
#ifndef _M_ARM
/* TODO: Handle this with custom Disk / partition setup */
UCHAR
DriveMapGetBiosDriveNumber(PCSTR DeviceName)
{
return 0;
}
#endif
VOID
StallExecutionProcessor(ULONG Microseconds)
{
}
VOID
UefiVideoGetFontsFromFirmware(PULONG RomFontPointers)
{
}
VOID
UefiVideoSync(VOID)
{
}
VOID
UefiGetExtendedBIOSData(PULONG ExtendedBIOSDataArea,
PULONG ExtendedBIOSDataSize)
{
}
VOID
UefiPcBeep(VOID)
{
/* Not possible on UEFI, for now */
}
VOID
UefiHwIdle(VOID)
{
}