Hi!

 This patch adds SP initialization fot the Malta YAMON pseudo-loader.

 It allows to run standalone (written in C) applications:

http://www.nwpi.ru/~alec/mips/yamon_test_salone.tgz


$ qemu-system-mipsel -nographic -M malta -kernel yamon_test.elf
Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal
error, but for better emulation accuracy either use a 2.6 host Linux kernel or
type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root.
YAMON TEST
argc = 00000002
argv = 80002000
argv[00000000] = "yamon_test.elf"
argv[00000001] = ""
envp = 80002008
envp->name = "memsize"
envp->val = "134217728"
envp->name = "modetty0"
envp->val = "38400n8r"
memsize = 08000000



--
-=AV=-

Attachment: malta-stack.patch
Description: Binary data

Reply via email to