|
|
1.1 ! root 1: /* ! 2: * Fake versions of driver_alloc and driver_fail ! 3: * to test the loader. ! 4: */ ! 5: #include "ld.h" ! 6: /* ! 7: * build like normal file. ! 8: */ ! 9: driver_alloc(aouth) ! 10: AOUTHDR *aouth; ! 11: { ! 12: aouth->text_start = 0xA8; ! 13: aouth->data_start = ((aouth->text_start + aouth->tsize) & 0x0fff) ! 14: + DATABASE; ! 15: return(1); /* ok */ ! 16: } ! 17: ! 18: /* ! 19: * Say we got here. ! 20: */ ! 21: void ! 22: driver_fail() ! 23: { ! 24: printf("driver_fail called\n"); ! 25: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.