00001 /* Copyright 2008 Fred Cooke 00002 00003 This file is part of the FreeEMS project. 00004 00005 FreeEMS software is free software: you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation, either version 3 of the License, or 00008 (at your option) any later version. 00009 00010 FreeEMS software is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with any FreeEMS software. If not, see http://www.gnu.org/licenses/ 00017 00018 We ask that if you make any changes to this file you email them upstream to 00019 us at admin(at)diyefi(dot)org or, even better, fork the code on github.com! 00020 00021 Thank you for choosing FreeEMS to run your engine! */ 00022 00023 00037 /* Header file multiple inclusion protection courtesy eclipse Header Template */ 00038 /* and http://gcc.gnu.org/onlinedocs/gcc-3.1.1/cpp/ C pre processor manual */ 00039 #ifndef FILE_PAGED_LOCATION_BUFFERS_H_SEEN 00040 #define FILE_PAGED_LOCATION_BUFFERS_H_SEEN 00041 00042 00043 #ifdef EXTERN 00044 #warning "EXTERN already defined by another header, please sort it out!" 00045 #undef EXTERN /* If fail on warning is off, remove the definition such that we can redefine correctly. */ 00046 #endif 00047 00048 00049 #ifdef BLOCK_DETAILS_LOOKUP_C 00050 #define EXTERN 00051 #else 00052 #define EXTERN extern 00053 #endif 00054 00055 00056 /*&&&&&&&&&&&&&&&&&&&&& Large 1k or 2k blocks here only &&&&&&&&&&&&&&&&&&&&&*/ 00057 00058 /* Fueling blocks */ 00059 EXTERN void* VETableMainFlashLocation; 00060 EXTERN void* VETableMainFlash2Location; 00061 EXTERN void* VETableSecondaryFlashLocation; 00062 EXTERN void* VETableSecondaryFlash2Location; 00063 EXTERN void* VETableTertiaryFlashLocation; 00064 EXTERN void* VETableTertiaryFlash2Location; 00065 EXTERN void* LambdaTableFlashLocation; 00066 EXTERN void* LambdaTableFlash2Location; 00067 00068 /* Timing blocks */ 00069 EXTERN void* IgnitionAdvanceTableMainFlashLocation; 00070 EXTERN void* IgnitionAdvanceTableMainFlash2Location; 00071 EXTERN void* IgnitionAdvanceTableSecondaryFlashLocation; 00072 EXTERN void* IgnitionAdvanceTableSecondaryFlash2Location; 00073 EXTERN void* InjectionAdvanceTableMainFlashLocation; 00074 EXTERN void* InjectionAdvanceTableMainFlash2Location; 00075 EXTERN void* InjectionAdvanceTableSecondaryFlashLocation; 00076 EXTERN void* InjectionAdvanceTableSecondaryFlash2Location; 00077 00078 /* Tunable blocks */ 00079 EXTERN void* SmallTablesAFlashLocation; 00080 EXTERN void* SmallTablesAFlash2Location; 00081 EXTERN void* SmallTablesBFlashLocation; 00082 EXTERN void* SmallTablesBFlash2Location; 00083 EXTERN void* SmallTablesCFlashLocation; 00084 EXTERN void* SmallTablesCFlash2Location; 00085 EXTERN void* SmallTablesDFlashLocation; 00086 EXTERN void* SmallTablesDFlash2Location; 00087 00088 /* Flash ONLY blocks */ 00089 EXTERN void* IATTransferTableLocation; 00090 EXTERN void* CHTTransferTableLocation; 00091 EXTERN void* MAFTransferTableLocation; 00092 EXTERN void* TestTransferTableLocation; 00093 00094 00095 /*&&&&&&&&&&&&&&& Small chunks of the above blocks here only! &&&&&&&&&&&&&&&*/ 00096 00097 /* Small chunks of TablesA here */ 00098 EXTERN void* dwellDesiredVersusVoltageTableLocation; 00099 EXTERN void* dwellDesiredVersusVoltageTable2Location; 00100 EXTERN void* injectorDeadTimeTableLocation; 00101 EXTERN void* injectorDeadTimeTable2Location; 00102 EXTERN void* postStartEnrichmentTableLocation; 00103 EXTERN void* postStartEnrichmentTable2Location; 00104 EXTERN void* engineTempEnrichmentTableFixedLocation; 00105 EXTERN void* engineTempEnrichmentTableFixed2Location; 00106 EXTERN void* primingVolumeTableLocation; 00107 EXTERN void* primingVolumeTable2Location; 00108 EXTERN void* engineTempEnrichmentTablePercentLocation; 00109 EXTERN void* engineTempEnrichmentTablePercent2Location; 00110 EXTERN void* dwellMaxVersusRPMTableLocation; 00111 EXTERN void* dwellMaxVersusRPMTable2Location; 00112 00113 /* Small chunks of TablesB here */ 00114 EXTERN void* perCylinderFuelTrimsLocation; 00115 EXTERN void* perCylinderFuelTrims2Location; 00116 00117 /* Small chunks of TablesC here */ 00118 00119 /* Small chunks of TablesD here */ 00120 00121 /* Small chunks of FixedConf1 here */ 00122 00123 /* Small chunks of FixedConf2 here */ 00124 00125 /* Fillers here */ 00126 EXTERN void* fillerALocation; 00127 EXTERN void* fillerA2Location; 00128 EXTERN void* fillerBLocation; 00129 EXTERN void* fillerB2Location; 00130 EXTERN void* fillerCLocation; 00131 EXTERN void* fillerC2Location; 00132 EXTERN void* fillerDLocation; 00133 EXTERN void* fillerD2Location; 00134 00135 00136 #undef EXTERN 00137 00138 00139 #else 00140 /* let us know if we are being untidy with headers */ 00141 #warning "Header file PAGED_LOCATION_BUFFERS_H seen before, sort it out!" 00142 /* end of the wrapper ifdef from the very top */ 00143 #endif