/* * bug routines -- assumes that the necessary sections of memory * are preserved. */ #include #include /* returns 0: success, nonzero: error */ int mvmeprom_netfopen(arg) struct mvmeprom_netfopen *arg; { asm volatile ("mr 3, %0": : "r" (arg)); MVMEPROM_CALL(MVMEPROM_NETFOPEN); return (arg->status); }