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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [sysvi386/] [sigaction.s] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
/
2
/ The SCO signal stuff seems to be weird.  The POSIX stuff appears to
3
/ "extended" system calls, and use values in eax and edx.
4
/ Like most of the other signal routines, it takes a function pointer
5
/ in %edx.  Since this function is terribly small, I am including it
6
/ in all of the ones that need it, for now at least.  Seems silly to include
7
/ a whole file for two instructions.
8
 
9
sigret:
10
        addl    $4, %esp
11
        lcall   $0xf, $0
12
        .globl  sigaction
13
sigaction:
14
        movl    $0x2728, %eax
15
        movl    sigret, %edx
16
        lcall   $7,$0
17
        jb      _cerror
18
        ret
19
        addl    $4, %esp
20
        lcall   $0xf,$0

powered by: WebSVN 2.1.0

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