EMILE/libmacos/macos
Laurent Vivier c1b482e48a Preserve register %a2.
If we don't preserver the %a2 register through MacOS traps, the content
of "emile_l2_header_t* info" in second/main:start() is lost.

It seems gcc supposes this register is not modified whereas it is.

This has been detected on a powermac 7100. I don't know if this appears
because of the powermac ROM or of the gcc version (4.3.2).

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2009-06-11 22:02:04 +02:00
..
devices.h correct typo 2007-09-29 21:27:31 +00:00
errors.h add #ifdef __mc68000__ for inlined asm functions 2006-12-29 20:27:15 +00:00
events.h add #ifdef __mc68000__ for inlined asm functions 2006-12-29 20:27:15 +00:00
files.h add #ifdef __mc68000__ for inlined asm functions 2006-12-29 20:27:15 +00:00
gestalt.h add #ifdef __mc68000__ for inlined asm functions 2006-12-29 20:27:15 +00:00
init.h add #ifdef __mc68000__ for inlined asm functions 2006-12-29 20:27:15 +00:00
lowmem.h Add LMSetBootDriver() 2007-11-03 20:40:37 +00:00
memory.h add #ifdef __mc68000__ for inlined asm functions 2006-12-29 20:27:15 +00:00
osutils.h Add FlushInstructionCache(), FlushDataCache(), DisableExtCache(), FlushExtCache() and FlushCodeCacheRange() 2007-11-03 20:37:55 +00:00
quickdraw.h Push parameters of _SetEntries into the stack instead of registers. 2008-09-17 14:45:35 +02:00
romdefs.h Change my email address to Laurent@lvivier.info 2006-09-15 14:55:39 +00:00
scsi.h add #ifdef __mc68000__ for inlined asm functions 2006-12-29 20:27:15 +00:00
serial.h Change my email address to Laurent@lvivier.info 2006-09-15 14:55:39 +00:00
slotmanager.h add #ifdef __mc68000__ for inlined asm functions 2006-12-29 20:27:15 +00:00
traps.h Preserve register %a2. 2009-06-11 22:02:04 +02:00
types.h remove display_properties.S and define LMGetMainDevice(), detect display in vga_init() 2007-03-31 07:26:05 +00:00
video.h Add some definitions to video.h 2008-09-14 23:55:35 +02:00