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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [libgloss/] [sparc/] [libsys/] [_exit.S] - Diff between revs 40 and 1765

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 ...
 
 

powered by: WebSVN 2.1.0

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