As with all files, rename the file, adding a preceding l (the letter after k and before m)
| line# | action |
| 16 | replace void TAlloc(void); with void *TAlloc(int *arg); |
| 24 | remove void __irq IRQHandler(void); |
| 25 | remove void SateAndResotre(tcbstruc* SaveTask, tcbstruc* RestoreTask); |
| 26 | remove void InitialiseContext(tcbstruc * tcb); |
| 32 | replace void SaveAlmanacs(void); with void SaveAlmanacs(int arg); |
| 33 | replace void ValidateEphemeris(int sv); with void ValdiateEphemeris(int sv, int arg); |
| 34 | replace void ValidateAlmanac(int sv); with void ValidateAlmanac(int sv, int arg); |
| 45 | replace void OscillatorAccuracy(void); with void OscillatorAccuracy(int arg); |
| 50 | replace void ProcessCommand(char *cb); with void ProcessCommand(char *cb, double *cv); |
| 51 | replace void CheckCommandBuffer(void); with int CheckCommandBuffer(unsigned fifo); |
| 52 | replace void LoadAlmanacs(void); with void LoadAlmanacs(double *cv); |
| 53 | remove voidExtracAlmanac(char *Buffer); |
| 54 | replace void Process_F13(char *Buffer); with void Process_F13(int sats); |
| 55 | replace void Process_F14(char *Buffer); with void Process_F14(int sats); |
| 56 | replace void Process_F15(char *Buffer); with void Process_F15(void); |
| 61 | replace void TDisplay(void); with void *TDisplay(void *arg); |
| 62 | replace void ContinuousData(void); with void ContinuousData(int arg); |
| 63 | replace void Sentence_F03(void); with void Sentence_F03(int arg); |
| 64 | replace void Sentence_F04(void); with void Sentence_F04(int arg); |
| 99 | replace void ConfigureInterrupt(void); with void ConfigureInterrupt(int IO_Address, int IRQ_Number); |
| 100 | insert void HardwareTest(void); |
| 101 | insert void InterfaceTestInterruptRoutine(void); |
| 102 | insert void WaiForFullTIC(void); |
| 104 | remove void disable(void); |
| 105 | remove void enable(void); |
| 106 | remove void ErrorMsg(char *msg); |
| 107 | remove #define outpw(A,D) *(volatile long *)(A) = (unsigned long)(D) |
| 108 | remove #define outpb(A,D) *(volatile char *)(A) = (char)(D) |
| 110 | remove #define inpf(A) (*(volatile unsigned short *)(A)) |
| 111 | remove struct ss {volatile short s;} |
| 115 | remove #define inpw(A) (((struct ss *)(A))->s),/td> |
| 116 | remove #define inpb(A) (*(volatile char *)(A)) |
| 121 | replace int main(void); with int init_module(void); |
| 122 | replace void GpsArchitect(void) with void *GpsBldr2Linux(void *arg); |
| 123 | insert void cleanup_module(void); |
| 124 | insert inline int rec_mutex_lock(int thid); |
| 125 | insert inline int rec_mutex_unlock(int thid); |
| 159 | replace void TNav(void); with void *TNav(void *arg); |
| 160 | replace GetNavFix(navstatestruc *Nav, clockmodelstruc *Clk); with GetNavFix(navstatestruc *Nav, clockmodelstruc *Clk, int arg); |
| 161 | replace void NavSol(ompstruc *omp, ompstruc *observed, navstatestruc *Nav, clockmodelstruc *Clk); with void NavSol(ompstruc *omp, ompstruc *observed, navstatestruc *Nav, clockmodelstruc *Clk, int arg); |
| 163 | replace void EstimatePosition(navstatestruc *Nav); with void ExtimatePosition(navstatestruc *Nav, int arg); |
| 164 | replace logical Observed(obsstruc *obs, int *nsats, ompstruc *observed); with logical Observed(obsstruc *obs, int *nsats, ompstruc *observed, int arg); |
| 165 | replace void ObservedMinusPredicted(ompstruc *observed, navstatestruc *Nav, ompstruc *omp); with void ObservedMinusPredicted(ompstruc *observed, navstatestruc *Nav, ompstruc *omp); |
| 168 | replace void PredictedData(double sec, intsat, navstatestruc *Nav, pseudostruc *pred); with void PredictedData(double sec, int sat, navstatestruc *Nav,pseudostruc *pred, int arg); |
| 170 | replace logical GetDGPSCorr(double sec, int sat, pseudostruc *dgps_corr); with logical GetDGPSCorr(double sec, int sat, pseudostruc *dgps_corr,int arg); |