URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 40 |
Rev 1765 |
! _exit() system call
|
! _exit() system call
|
|
|
#include "syscallasm.h"
|
#include "syscallasm.h"
|
|
|
TEXT_SECTION
|
TEXT_SECTION
|
ALIGN (4)
|
ALIGN (4)
|
GLOBAL (ASM_SYMBOL (_exit))
|
GLOBAL (ASM_SYMBOL (_exit))
|
ASM_SYMBOL (_exit):
|
ASM_SYMBOL (_exit):
|
mov SYS_exit,%g1
|
mov SYS_exit,%g1
|
ta SYSCALL_TRAP
|
ta SYSCALL_TRAP
|
|
|
! If that returns (yikes!), try an illegal insn ...
|
! If that returns (yikes!), try an illegal insn ...
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.