4 * Copyright (C) 2003 Eric Kohl
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 VOID
PcMachInit(const char *CmdLine
);
31 VOID
PcConsPutChar(int Ch
);
32 BOOLEAN
PcConsKbHit(VOID
);
33 int PcConsGetCh(VOID
);
35 VOID
PcVideoClearScreen(UCHAR Attr
);
36 VIDEODISPLAYMODE
PcVideoSetDisplayMode(char *DisplayMode
, BOOLEAN Init
);
37 VOID
PcVideoGetDisplaySize(PULONG Width
, PULONG Height
, PULONG Depth
);
38 ULONG
PcVideoGetBufferSize(VOID
);
39 VOID
PcVideoSetTextCursorPosition(UCHAR X
, UCHAR Y
);
40 VOID
PcVideoHideShowTextCursor(BOOLEAN Show
);
41 VOID
PcVideoPutChar(int Ch
, UCHAR Attr
, unsigned X
, unsigned Y
);
42 VOID
PcVideoCopyOffScreenBufferToVRAM(PVOID Buffer
);
43 BOOLEAN
PcVideoIsPaletteFixed(VOID
);
44 VOID
PcVideoSetPaletteColor(UCHAR Color
, UCHAR Red
, UCHAR Green
, UCHAR Blue
);
45 VOID
PcVideoGetPaletteColor(UCHAR Color
, UCHAR
* Red
, UCHAR
* Green
, UCHAR
* Blue
);
46 VOID
PcVideoSync(VOID
);
47 VOID
PcVideoPrepareForReactOS(IN BOOLEAN Setup
);
48 VOID
PcPrepareForReactOS(IN BOOLEAN Setup
);
50 PFREELDR_MEMORY_DESCRIPTOR
PcMemGetMemoryMap(ULONG
*MemoryMapSize
);
52 BOOLEAN
PcDiskGetBootPath(char *BootPath
, unsigned Size
);
53 BOOLEAN
PcDiskReadLogicalSectors(UCHAR DriveNumber
, ULONGLONG SectorNumber
, ULONG SectorCount
, PVOID Buffer
);
54 BOOLEAN
PcDiskGetPartitionEntry(UCHAR DriveNumber
, ULONG PartitionNumber
, PPARTITION_TABLE_ENTRY PartitionTableEntry
);
55 BOOLEAN
PcDiskGetDriveGeometry(UCHAR DriveNumber
, PGEOMETRY DriveGeometry
);
56 ULONG
PcDiskGetCacheableBlockCount(UCHAR DriveNumber
);
58 TIMEINFO
* PcGetTime(VOID
);
60 BOOLEAN
PcInitializeBootDevices(VOID
);
61 PCONFIGURATION_COMPONENT_DATA
PcHwDetect(VOID
);
64 extern BIOS_MEMORY_MAP PcBiosMemoryMap
[];
65 extern ULONG PcBiosMapCount
;