/* $OpenBSD: netfopen.c,v 1.2 2001/07/04 08:31:36 niklas Exp $ */ /* * 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); }