Rev 1276 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1276 | Rev 1656 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
- | 29 | /** @addtogroup libcppc32 ppc32 |
|
- | 30 | * @brief ppc32 architecture dependent parts of libc |
|
- | 31 | * @ingroup lc |
|
- | 32 | * @{ |
|
- | 33 | */ |
|
- | 34 | /** @file |
|
- | 35 | */ |
|
- | 36 | ||
29 | #include <libc.h> |
37 | #include <libc.h> |
30 | 38 | ||
31 | sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2, const sysarg_t p3, const sysarg_t p4, const syscall_t id) |
39 | sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2, const sysarg_t p3, const sysarg_t p4, const syscall_t id) |
32 | { |
40 | { |
33 | register sysarg_t __ppc32_reg_r3 asm("3") = p1; |
41 | register sysarg_t __ppc32_reg_r3 asm("3") = p1; |
Line 46... | Line 54... | ||
46 | "r" (__ppc32_reg_r7) |
54 | "r" (__ppc32_reg_r7) |
47 | ); |
55 | ); |
48 | 56 | ||
49 | return __ppc32_reg_r3; |
57 | return __ppc32_reg_r3; |
50 | } |
58 | } |
- | 59 | ||
- | 60 | /** @} |
|
- | 61 | */ |
|
- | 62 |