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 #ifndef __REGISTRY_H 00024 #include "../../reactos/registry.h" 00025 #endif 00026 00027 #define CONFIG_CMD(bus, dev_fn, where) \ 00028 (0x80000000 | (((ULONG)(bus)) << 16) | (((dev_fn) & 0x1F) << 11) | (((dev_fn) & 0xE0) << 3) | ((where) & ~3)) 00029 00030 // 00031 // Static heap for ARC Hardware Component Tree 00032 // 16KB oughta be enough for anyone. 00033 // 00034 #define HW_MAX_ARC_HEAP_SIZE 16 * 1024 00035 00036 // 00037 // ARC Component Configuration Routines 00038 // 00039 VOID 00040 NTAPI 00041 FldrCreateSystemKey( 00042 OUT PCONFIGURATION_COMPONENT_DATA *SystemKey 00043 ); 00044 00045 VOID 00046 NTAPI 00047 FldrCreateComponentKey( 00048 IN PCONFIGURATION_COMPONENT_DATA SystemKey, 00049 IN CONFIGURATION_CLASS Class, 00050 IN CONFIGURATION_TYPE Type, 00051 IN IDENTIFIER_FLAG Flags, 00052 IN ULONG Key, 00053 IN ULONG Affinity, 00054 IN PCHAR IdentifierString, 00055 IN PCM_PARTIAL_RESOURCE_LIST ResourceList, 00056 IN ULONG Size, 00057 OUT PCONFIGURATION_COMPONENT_DATA *ComponentKey 00058 ); 00059 00060 /* PROTOTYPES ***************************************************************/ 00061 00062 /* hardware.c */ 00063 00064 VOID StallExecutionProcessor(ULONG Microseconds); 00065 00066 VOID HalpCalibrateStallExecution(VOID); 00067 00068 ULONGLONG RDTSC(VOID); 00069 00070 /* EOF */ Generated on Fri May 25 2012 04:17:17 for ReactOS by
1.7.6.1
|