j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: afaerber Date: Sat Nov 13 21:28:20 2010 New Revision: 955 URL: http://tracker.coreboot.org/trac/openbios/changeset/955
Log: ppc: Introduce RFI macro
Macro name as seen in Linux. Use of macro suggested by Alex.
Signed-off-by: Andreas Färber andreas.faerber@web.de Signed-off-by: Alexander Graf agraf@suse.de
Modified: trunk/openbios-devel/arch/ppc/qemu/start.S trunk/openbios-devel/include/arch/ppc/asmdefs.h
Modified: trunk/openbios-devel/arch/ppc/qemu/start.S ============================================================================== --- trunk/openbios-devel/arch/ppc/qemu/start.S Sat Nov 13 14:04:34 2010 (r954) +++ trunk/openbios-devel/arch/ppc/qemu/start.S Sat Nov 13 21:28:20 2010 (r955) @@ -234,7 +234,7 @@ ori r3,r3,0x2000 mtsrr1 r3 mfsprg1 r3 - rfi + RFI
ILLEGAL_VECTOR( 0x900 ) ILLEGAL_VECTOR( 0xa00 )
Modified: trunk/openbios-devel/include/arch/ppc/asmdefs.h ============================================================================== --- trunk/openbios-devel/include/arch/ppc/asmdefs.h Sat Nov 13 14:04:34 2010 (r954) +++ trunk/openbios-devel/include/arch/ppc/asmdefs.h Sat Nov 13 21:28:20 2010 (r955) @@ -88,6 +88,12 @@ addi (D), (D), LO(x) #endif
+#ifdef __powerpc64__ +#define RFI rfid +#else +#define RFI rfi +#endif + #ifndef __darwin__ #define GLOBL( name ) .globl name ; name #define EXTERN( name ) name