OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [sys/] [sparc64/] [_exit.S] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
! _exit() system call
2
 
3
#include "sys/syscallasm.h"
4
 
5
        TEXT_SECTION
6
        ALIGN (4)
7
        GLOBAL (ASM_SYMBOL (_exit))
8
ASM_SYMBOL (_exit):
9
        mov     SYS_exit,%g1
10
        ta      %icc,SYSCALL_TRAP
11
 
12
! If that returns (yikes!), try an illegal insn ...
13
 
14
        WORD (0)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.