Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenhardware.h
Go to the documentation of this file.
00001 /* 00002 * FreeLoader 00003 * 00004 * Copyright (C) 2003 Eric Kohl 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License along 00017 * with this program; if not, write to the Free Software Foundation, Inc., 00018 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00019 */ 00020 00021 #pragma once 00022 00023 #define CONFIG_CMD(bus, dev_fn, where) \ 00024 (0x80000000 | (((ULONG)(bus)) << 16) | (((dev_fn) & 0x1F) << 11) | (((dev_fn) & 0xE0) << 3) | ((where) & ~3)) 00025 00026 00027 // 00028 // Static heap for ARC Hardware Component Tree 00029 // 16KB oughta be enough for anyone. 00030 // 00031 #define HW_MAX_ARC_HEAP_SIZE 16 * 1024 00032 00033 // 00034 // ARC Component Configuration Routines 00035 // 00036 VOID 00037 NTAPI 00038 FldrCreateSystemKey( 00039 OUT PCONFIGURATION_COMPONENT_DATA *SystemKey 00040 ); 00041 00042 VOID 00043 NTAPI 00044 FldrCreateComponentKey( 00045 IN PCONFIGURATION_COMPONENT_DATA SystemKey, 00046 IN CONFIGURATION_CLASS Class, 00047 IN CONFIGURATION_TYPE Type, 00048 IN IDENTIFIER_FLAG Flags, 00049 IN ULONG Key, 00050 IN ULONG Affinity, 00051 IN PCHAR IdentifierString, 00052 IN PCM_PARTIAL_RESOURCE_LIST ResourceList, 00053 IN ULONG Size, 00054 OUT PCONFIGURATION_COMPONENT_DATA *ComponentKey 00055 ); 00056 00057 /* PROTOTYPES ***************************************************************/ 00058 00059 /* hardware.c */ 00060 00061 VOID StallExecutionProcessor(ULONG Microseconds); 00062 00063 VOID HalpCalibrateStallExecution(VOID); 00064 00065 /* hwacpi.c */ 00066 VOID DetectAcpiBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber); 00067 00068 /* hwapm.c */ 00069 VOID DetectApmBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber); 00070 00071 /* hwpci.c */ 00072 VOID DetectPciBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber); 00073 00074 /* i386pnp.S */ 00075 ULONG_PTR PnpBiosSupported(VOID); 00076 ULONG PnpBiosGetDeviceNodeCount(ULONG *NodeSize, 00077 ULONG *NodeCount); 00078 ULONG PnpBiosGetDeviceNode(UCHAR *NodeId, 00079 UCHAR *NodeBuffer); 00080 00081 /* i386pxe.S */ 00082 USHORT PxeCallApi(USHORT Segment, USHORT Offset, USHORT Service, VOID* Parameter); 00083 00084 /* EOF */ Generated on Sat May 26 2012 04:17:58 for ReactOS by
1.7.6.1
|