mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
* Patch by Daniel Engström, 13 Nov 2002:
Add support for i386 architecture and AMD SC520 board * Patch by Pierre Aubert, 12 Nov 2002: Add support for DOS filesystem and booting from DOS floppy disk
This commit is contained in:
@@ -38,12 +38,26 @@ mon_free:
|
||||
sub fp, ip, #4
|
||||
ldmea fp, {fp, sp, pc}
|
||||
#else /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
|
||||
|
||||
#ifdef CONFIG_I386 /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
|
||||
#define SYMBOL_NAME(X) X
|
||||
#define SYMBOL_NAME_LABEL(X) X##:
|
||||
|
||||
#define SYSCALL(name,n) \
|
||||
.globl SYMBOL_NAME(name) ; \
|
||||
SYMBOL_NAME_LABEL(name) ; \
|
||||
ret
|
||||
|
||||
#endif /* CONFIG_I386 */
|
||||
|
||||
#ifdef CONFIG_PPC
|
||||
#define SYSCALL(name,n) \
|
||||
.globl name ; \
|
||||
name: ; \
|
||||
li r0,n ; \
|
||||
sc ; \
|
||||
blr
|
||||
#endif /* CONFIG_PPC */
|
||||
|
||||
.text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user