This is threads.h in view mode; [Download] [Up]
#ifndef _THREAD_H_ #import <mach/m68k/thread_status.h> #define REGS_STATE M68K_THREAD_STATE_REGS #define REGS_STRUCT struct m68k_thread_state_regs #define REGS_COUNT M68K_THREAD_STATE_REGS_COUNT #define PC_FIELD(regsState) ((regsState).pc) #define FP_REGS_STATE M68K_THREAD_STATE_68882 #define FP_REGS_STRUCT struct m68k_thread_state_68882 #define FP_REGS_COUNT M68K_THREAD_STATE_68882_COUNT #define USER_REG_STATE M68K_THREAD_STATE_USER_REG #define USER_REG_STRUCT struct m68k_thread_state_user_reg #define USER_REG_COUNT M68K_THREAD_STATE_USER_REG_COUNT #define USER_REG(userRegState) ((userRegState).user_reg) #define TRACE_STATE REGS_STATE #define TRACE_STRUCT REGS_STRUCT #define TRACE_COUNT REGS_COUNT #define TRACE_BIT_SET(traceState) (traceState.sr & 0x8000) #define SET_TRACE_BIT(traceState) (traceState.sr |= 0x8000) #define CLEAR_TRACE_BIT(traceState) (traceState.sr &= ~0x8000) #define _THREAD_H_ #endif /* !_THREAD_H_ */
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.