OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [newlib/] [libc/] [sys/] [sysvi386/] [waitpid.S] - Blame information for rev 345

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
        .globl  _waitpid
2
        .globl  waitpid
3
_waitpid:
4
waitpid:
5
        pushfl
6
        popl    %eax
7
        orl     $0x8c4,%eax
8
        pushl   %eax
9
        popfl
10
        movl    $0x7, %eax
11
        lcall   $7,$0
12
        jb      _cerror
13
        movl    8(%esp), %ecx
14
        testl   %ecx, %ecx
15
        je      bye
16
        movl    %edx, (%ecx)
17
bye:
18
        ret

powered by: WebSVN 2.1.0

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