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