ReactOS 0.4.16-dev-297-gc569aee
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
10VOID
12
15
16int
17UefiConsGetCh(void);
18
21
22VOID
24
27
28VOID
30
33
34VOID
36
37VOID
39
40VOID
42
43VOID
44UefiVideoPutChar(int Ch, UCHAR Attr,
45 unsigned X, unsigned Y);
46
47
48VOID
50
53
54VOID
57
58VOID
61
62VOID
64
65VOID
67
69UefiMemGetMemoryMap(ULONG *MemoryMapSize);
70
71VOID
74
77
80 IN ULONGLONG SectorNumber,
83
86 PGEOMETRY Geometry);
87
90
93
96
100
101VOID
103
104VOID
106
107VOID
109 _In_ EFI_SYSTEM_TABLE *SystemTable);
110
111VOID
unsigned char BOOLEAN
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:31
#define RomFontPointers
Definition: winldr.c:348
#define ExtendedBIOSDataArea
Definition: winldr.c:346
#define ExtendedBIOSDataSize
Definition: winldr.c:347
@ 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
TIMEINFO * UefiGetTime(VOID)
Definition: uefiutil.c:20
BOOLEAN UefiConsKbHit(VOID)
Definition: ueficon.c:122
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:51
EFI_STATUS UefiInitializeVideo(VOID)
Definition: uefivid.c:31
BOOLEAN UefiInitializeBootDevices(VOID)
Definition: uefidisk.c:499
VOID UefiVideoGetDisplaySize(PULONG Width, PULONG Height, PULONG Depth)
Definition: uefivid.c:154
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
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:26
VOID UefiVideoCopyOffScreenBufferToVRAM(PVOID Buffer)
Definition: uefivid.c:175
VOID UefiVideoSync(VOID)
Definition: stubs.c:32
VOID UefiInitializeFileSystemSupport(_In_ EFI_HANDLE ImageHandle, _In_ EFI_SYSTEM_TABLE *SystemTable)
int UefiConsGetCh(void)
Definition: ueficon.c:128
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:38
VOID UefiConsPutChar(int Ch)
Definition: ueficon.c:26
ULONG UefiDiskGetCacheableBlockCount(UCHAR DriveNumber)
Definition: uefidisk.c:590
VOID UefiPcBeep(VOID)
Definition: stubs.c:45
VOID UefiPrepareForReactOS(VOID)
Definition: uefimem.c:284
#define _In_
Definition: no_sal2.h:158
#define _In_opt_
Definition: no_sal2.h:212
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:26
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