ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

machpc.h
Go to the documentation of this file.
00001 /* $Id: machpc.h 56270 2012-03-29 08:25:20Z tkreuzer $
00002  *
00003  *  FreeLoader
00004  *
00005  *  Copyright (C) 2003  Eric Kohl
00006  *
00007  *  This program is free software; you can redistribute it and/or modify
00008  *  it under the terms of the GNU General Public License as published by
00009  *  the Free Software Foundation; either version 2 of the License, or
00010  *  (at your option) any later version.
00011  *
00012  *  This program is distributed in the hope that it will be useful,
00013  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  *  GNU General Public License for more details.
00016  *
00017  *  You should have received a copy of the GNU General Public License along
00018  *  with this program; if not, write to the Free Software Foundation, Inc.,
00019  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00020  */
00021 
00022 #pragma once
00023 
00024 #ifndef __MEMORY_H
00025 #include "mm.h"
00026 #endif
00027 
00028 VOID PcMachInit(const char *CmdLine);
00029 
00030 VOID PcConsPutChar(int Ch);
00031 BOOLEAN PcConsKbHit(VOID);
00032 int PcConsGetCh(VOID);
00033 
00034 VOID PcVideoClearScreen(UCHAR Attr);
00035 VIDEODISPLAYMODE PcVideoSetDisplayMode(char *DisplayMode, BOOLEAN Init);
00036 VOID PcVideoGetDisplaySize(PULONG Width, PULONG Height, PULONG Depth);
00037 ULONG PcVideoGetBufferSize(VOID);
00038 VOID PcVideoSetTextCursorPosition(UCHAR X, UCHAR Y);
00039 VOID PcVideoHideShowTextCursor(BOOLEAN Show);
00040 VOID PcVideoPutChar(int Ch, UCHAR Attr, unsigned X, unsigned Y);
00041 VOID PcVideoCopyOffScreenBufferToVRAM(PVOID Buffer);
00042 BOOLEAN PcVideoIsPaletteFixed(VOID);
00043 VOID PcVideoSetPaletteColor(UCHAR Color, UCHAR Red, UCHAR Green, UCHAR Blue);
00044 VOID PcVideoGetPaletteColor(UCHAR Color, UCHAR* Red, UCHAR* Green, UCHAR* Blue);
00045 VOID PcVideoSync(VOID);
00046 VOID PcVideoPrepareForReactOS(IN BOOLEAN Setup);
00047 VOID PcPrepareForReactOS(IN BOOLEAN Setup);
00048 
00049 PFREELDR_MEMORY_DESCRIPTOR PcMemGetMemoryMap(ULONG *MemoryMapSize);
00050 
00051 BOOLEAN PcDiskGetBootPath(char *BootPath, unsigned Size);
00052 BOOLEAN PcDiskReadLogicalSectors(UCHAR DriveNumber, ULONGLONG SectorNumber, ULONG SectorCount, PVOID Buffer);
00053 BOOLEAN PcDiskGetPartitionEntry(UCHAR DriveNumber, ULONG PartitionNumber, PPARTITION_TABLE_ENTRY PartitionTableEntry);
00054 BOOLEAN PcDiskGetDriveGeometry(UCHAR DriveNumber, PGEOMETRY DriveGeometry);
00055 ULONG PcDiskGetCacheableBlockCount(UCHAR DriveNumber);
00056 
00057 TIMEINFO* PcGetTime(VOID);
00058 
00059 PCONFIGURATION_COMPONENT_DATA PcHwDetect(VOID);
00060 VOID PcHwIdle(VOID);
00061 
00062 extern BIOS_MEMORY_MAP PcBiosMemoryMap[];
00063 extern ULONG PcBiosMapCount;
00064 
00065 /* EOF */

Generated on Mon May 28 2012 04:18:56 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.