As with all files, rename the file, adding a preceding l (the letter after k and before m)
| line# | action |
| 1 | replace #include "includes.h" with #include "lincludes.h" |
| 23 | replace void TAlloc(void) with void *TAlloc(void *arg) |
| 28 | insert pthread_setfp_np (pthread_self(), 1); after unsigned long start_tic; |
| 31 | insert pthread_wait_np(); after while(1) { |
| 38 | replace CurrentTIC(&start_tic); with CurrentTIC(&start_tic,0); |
| 42 | remove CheckCommandBuffer(); |
| 47 | replace SVPredicts(CurrentPredictSV); with SVPredicts(CurrentPredictSV, (int)arg); |
| 53 | replace OscillatorAccuracy(); with OscillatorAccuracy((int)arg); |
| 57 | replace UpdateSatelliteFlags(); with UpdateSatelliteFlags((int)arg); |
| 61 | remove Suspend(1,start_tic); |
| 256 | replace outpw(ctrl_base+SATCNTL,0x0800); with outw_p(prntaps[newsv-1]|0x8000UL,TR((ctrl_base+SATCNTL)>>ADDRESS_SHIFT)); |
| 271 | replace outpw(ctrl_base+SATCNTL,prntaps[newsv-1]|0x8000UL); with outw_p(prntaps[newsv-1]|0x8000UL,TR((ctrl_base+SATCNTL)>>ADDRESS_SHIFT)); |
| 290 | replace outpw(ctrl_base+CARRIER_DCO_INCR_HIGH,CH[chan].CARRDCOSearch>>20); with outw_p(CH[chan].CARRDCOSearch>>20,TR((ctrl_base+CARRIER_DCO_INCR_HIGH)>>ADDRESS_SHIFT)); |
| 291 | replace outpw(ctrl_base+CARRIER_DCO_INCR_LOW,CH[chan].CARRDCOSearch>>4); with outw_p(CH[chan].CARRDCOSearch>>4,TR((ctrl_base+CARRIER_DCO_INCR_LOW)>>ADDRESS_SHIFT)); |
| 292 | replace outpw(ctrl_base+CODE_DCO_INCR_HIGH,CH[chan].CODEDCOSearch>>21); with outw_p(CH[chan].CODEDCOSearch>>21,TR((ctrl_base+CODE_DCO_INCR_HIGH)>>ADDRESS_SHIFT)); |
| 293 | replace outpw(ctrl_base+CODE_DCO_INCR_LOW,CH[chan].CODEDCOSearch>>5); with outw_p(CH[chan].CODEDCOSearch>>5,TR((ctrl_base+CODE_DCO_INCR_LOW)>>ADDRESS_SHIFT)); |