mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-21 13:50:34 +00:00
19 lines
399 B
C
19 lines
399 B
C
#ifndef GRUB_MIPS_ASM_HEADER
|
|
#define GRUB_MIPS_ASM_HEADER 1
|
|
|
|
#if defined(_MIPS_SIM) && defined(_ABIN32) && _MIPS_SIM == _ABIN32
|
|
#define GRUB_ASM_T4 $a4
|
|
#define GRUB_ASM_T5 $a5
|
|
#define GRUB_ASM_SZREG 8
|
|
#define GRUB_ASM_REG_S sd
|
|
#define GRUB_ASM_REG_L ld
|
|
#else
|
|
#define GRUB_ASM_T4 $t4
|
|
#define GRUB_ASM_T5 $t5
|
|
#define GRUB_ASM_SZREG 4
|
|
#define GRUB_ASM_REG_S sw
|
|
#define GRUB_ASM_REG_L lw
|
|
#endif
|
|
|
|
#endif
|