Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenamd64.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 #ifndef __ASM__ 00022 #pragma once 00023 #endif 00024 00025 // This is needed because headers define wrong one for ReactOS 00026 #undef KIP0PCRADDRESS 00027 #define KIP0PCRADDRESS 0xFFFFF78000001000ULL /* FIXME!!! */ 00028 00029 #define VA_MASK 0x0000FFFFFFFFFFFFUL 00030 00031 #define PtrToPfn(p) \ 00032 ((((ULONGLONG)p) >> PAGE_SHIFT) & 0xfffffffULL) 00033 00034 #define VAtoPXI(va) ((((ULONG64)va) >> PXI_SHIFT) & 0x1FF) 00035 #define VAtoPPI(va) ((((ULONG64)va) >> PPI_SHIFT) & 0x1FF) 00036 #define VAtoPDI(va) ((((ULONG64)va) >> PDI_SHIFT) & 0x1FF) 00037 #define VAtoPTI(va) ((((ULONG64)va) >> PTI_SHIFT) & 0x1FF) 00038 00039 #ifndef ASM 00040 00041 VOID FrLdrSetupGdtIdt(VOID); 00042 #define MachInit PcMachInit 00043 #endif 00044 00045 /* EOF */ Generated on Sun May 27 2012 04:19:13 for ReactOS by
1.7.6.1
|