D | callback_srm.S | 19 ldq $0,hwrpb # gp is set up by CALLBACK macro. 29 extwl $25,0,$16 # SRM callback function code 59 #define CALLBACK(NAME, CODE, ARG_CNT) \ macro 65 #define CALLBACK(NAME, CODE, ARG_CNT) \ macro 78 CALLBACK(puts, CCB_PUTS, 4) 79 CALLBACK(open, CCB_OPEN, 3) 80 CALLBACK(close, CCB_CLOSE, 2) 81 CALLBACK(read, CCB_READ, 5) 82 CALLBACK(open_console, CCB_OPEN_CONSOLE, 1) 83 CALLBACK(close_console, CCB_CLOSE_CONSOLE, 1) [all …]
|