This is unix_traps.h in view mode; [Download] [Up]
/* * File: unix_traps.h * Author: Avadis Tevanian, Jr. * * Macro definition for fast Unix traps. */ #ifndef _M68K_UNIX_TRAPS_ #define _M68K_UNIX_TRAPS_ #import <mach/m68k/syscall_sw.h> #define fast_kernel_trap(number, args) \ movl sp,a0; \ save_registers_##args; \ kernel_trap_args_##args; \ movl \#number,d0; \ trap \#4; \ restore_registers_##args; #endif
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.