ReactOS 0.4.15-dev-7711-g5627da4
machuefi.h
Go to the documentation of this file.
1/*
2 * PROJECT: Freeldr UEFI Extension
3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE: UEFI "mach" header
5 * COPYRIGHT: Copyright 2022 Justin Miller <justinmiller100@gmail.com>
6 */
7
8#include <machine.h>
9
12 _In_ EFI_SYSTEM_TABLE *SystemTable);
13
14VOID
16
19
20VOID
22
23int
24UefiConsGetCh(void);
25
28
29VOID
31
34
35VOID
37
40
41VOID
43
44VOID
46
47VOID
49
50VOID
51UefiVideoOutputChar(UCHAR Char, unsigned X,
52 unsigned Y, ULONG FgColor, ULONG BgColor);
53
54VOID
55UefiVideoPutChar(int Ch, UCHAR Attr,
56 unsigned X, unsigned Y);
57
58
59VOID
61
64
65VOID
68
69VOID
72
73VOID
75
76VOID
78
80UefiMemGetMemoryMap(ULONG *MemoryMapSize);
81
82VOID
85
88
91 IN ULONGLONG SectorNumber,
94
97 PGEOMETRY Geometry);
98
101
104
107
111
112VOID
114
115VOID
117
118VOID
120 _In_ EFI_SYSTEM_TABLE *SystemTable);
121
122VOID
unsigned char BOOLEAN
unsigned int UINT32
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:31
#define RomFontPointers
Definition: winldr.c:347
#define ExtendedBIOSDataArea
Definition: winldr.c:345
#define ExtendedBIOSDataSize
Definition: winldr.c:346
@ Green
Definition: bl.h:199
@ Red
Definition: bl.h:201
@ Blue
Definition: bl.h:198
enum tagVIDEODISPLAYMODE VIDEODISPLAYMODE
Definition: bufpool.h:45
#define Y(I)
VOID UefiVideoGetPaletteColor(UCHAR Color, UCHAR *Red, UCHAR *Green, UCHAR *Blue)
Definition: uefivid.c:236
EFI_STATUS UefiMachInit(_In_ EFI_HANDLE ImageHandle, _In_ EFI_SYSTEM_TABLE *SystemTable)
TIMEINFO * UefiGetTime(VOID)
Definition: uefiutil.c:20
BOOLEAN UefiConsKbHit(VOID)
Definition: ueficon.c:109
VOID UefiVideoSetPaletteColor(UCHAR Color, UCHAR Red, UCHAR Green, UCHAR Blue)
Definition: uefivid.c:229
VOID UefiVideoClearScreen(UCHAR Attr)
Definition: uefivid.c:107
BOOLEAN UefiDiskGetDriveGeometry(UCHAR DriveNumber, PGEOMETRY Geometry)
Definition: uefidisk.c:574
VOID UefiVideoHideShowTextCursor(BOOLEAN Show)
Definition: uefivid.c:217
ULONG UefiVideoGetBufferSize(VOID)
Definition: uefivid.c:169
BOOLEAN UefiDiskReadLogicalSectors(IN UCHAR DriveNumber, IN ULONGLONG SectorNumber, IN ULONG SectorCount, OUT PVOID Buffer)
Definition: uefidisk.c:556
VOID UefiHwIdle(VOID)
Definition: stubs.c:53
BOOLEAN UefiInitializeBootDevices(VOID)
Definition: uefidisk.c:499
VOID UefiVideoGetDisplaySize(PULONG Width, PULONG Height, PULONG Depth)
Definition: uefivid.c:154
VOID UefiConsSetCursor(UINT32 Col, UINT32 Row)
VOID UefiVideoSetTextCursorPosition(UCHAR X, UCHAR Y)
Definition: uefivid.c:211
PCONFIGURATION_COMPONENT_DATA UefiHwDetect(_In_opt_ PCSTR Options)
Definition: uefihw.c:126
VOID UefiVideoScrollUp(VOID)
Definition: uefivid.c:191
VOID UefiVideoOutputChar(UCHAR Char, unsigned X, unsigned Y, ULONG FgColor, ULONG BgColor)
Definition: uefivid.c:116
PFREELDR_MEMORY_DESCRIPTOR UefiMemGetMemoryMap(ULONG *MemoryMapSize)
Definition: uefimem.c:146
VOID UefiVideoPutChar(int Ch, UCHAR Attr, unsigned X, unsigned Y)
Definition: uefivid.c:142
VOID UefiVideoGetFontsFromFirmware(PULONG RomFontPointers)
Definition: stubs.c:28
VOID UefiVideoCopyOffScreenBufferToVRAM(PVOID Buffer)
Definition: uefivid.c:175
VOID UefiVideoSync(VOID)
Definition: stubs.c:34
EFI_STATUS UefiInitalizeVideo(VOID)
Definition: uefivid.c:31
VOID UefiInitializeFileSystemSupport(_In_ EFI_HANDLE ImageHandle, _In_ EFI_SYSTEM_TABLE *SystemTable)
int UefiConsGetCh(void)
Definition: ueficon.c:115
VIDEODISPLAYMODE UefiVideoSetDisplayMode(char *DisplayMode, BOOLEAN Init)
Definition: uefivid.c:162
UCHAR UefiGetFloppyCount(VOID)
Definition: uefidisk.c:549
BOOLEAN UefiVideoIsPaletteFixed(VOID)
Definition: uefivid.c:223
VOID UefiGetExtendedBIOSData(PULONG ExtendedBIOSDataArea, PULONG ExtendedBIOSDataSize)
Definition: stubs.c:40
VOID UefiConsPutChar(int Ch)
Definition: ueficon.c:26
ULONG UefiDiskGetCacheableBlockCount(UCHAR DriveNumber)
Definition: uefidisk.c:589
VOID UefiPcBeep(VOID)
Definition: stubs.c:47
VOID UefiPrepareForReactOS(VOID)
Definition: uefimem.c:284
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
ULONG SectorCount
Definition: part_xbox.c:31
static VIDEODISPLAYMODE DisplayMode
Definition: pcvideo.c:117
#define Ch(x, y, z)
Definition: sha2.c:141
Definition: disk.h:25
Definition: fw.h:10
uint32_t * PULONG
Definition: typedefs.h:59
const char * PCSTR
Definition: typedefs.h:52
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
uint64_t ULONGLONG
Definition: typedefs.h:67
#define OUT
Definition: typedefs.h:40
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
Definition: font.h:89
_In_ HFONT _Out_ PUINT Height
Definition: font.h:88
_In_ PWDFDEVICE_INIT _In_ PWDF_REMOVE_LOCK_OPTIONS Options
Definition: wdfdevice.h:3534
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION _In_ ULONG _In_ SIZE_T _In_ ULONG _In_ USHORT Depth
Definition: exfuncs.h:819
unsigned char UCHAR
Definition: xmlstorage.h:181