Changeset View
Changeset View
Standalone View
Standalone View
sys/mips/include/asm.h
Show First 20 Lines • Show All 247 Lines • ▼ Show 20 Lines | |||||
#define PRINTF(msg) \ | #define PRINTF(msg) \ | ||||
PTR_LA a0, 9f; \ | PTR_LA a0, 9f; \ | ||||
jal _C_LABEL(printf); \ | jal _C_LABEL(printf); \ | ||||
nop; \ | nop; \ | ||||
MSG(msg) | MSG(msg) | ||||
#define MSG(msg) \ | #define MSG(msg) \ | ||||
.rdata; \ | .section .rdata; \ | ||||
9: .asciiz msg; \ | 9: .asciiz msg; \ | ||||
.text | .text | ||||
#define ASMSTR(str) \ | #define ASMSTR(str) \ | ||||
.asciiz str; \ | .asciiz str; \ | ||||
.align 3 | .align 3 | ||||
#if defined(__mips_o32) | #if defined(__mips_o32) | ||||
▲ Show 20 Lines • Show All 447 Lines • Show Last 20 Lines |