4.115
Last change
on this file since 7d4a859 was
2d7ae960,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/11/12 at 18:37:29
|
v850 port: Initial addition with BSP for simulator in GDB
Port
+ v850 does not have appear to have any optimized bit scan instructions
+ v850 does have single instructions for wap u16 and u32
+ Code path optimization preferences set
+ Add BSP variants for each GCC CPU model flag and a README
- v850e1 variant does not work (fails during BSP initialization)
BSP for GDB v850 Simulator
+ linkcmds matches defaults in GDB simulator with RTEMS mods
+ crt1.c added from v850 newlib port for main()
+ BSP exits cleanly
+ printk and console I/O work
+ uses clock tick from IDLE task
+ Tests not requiring real clock ISR work
Documentation
+ CPU Supplment chapter for v850 added
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | /* from libgloss/v850 */ |
---|
2 | #ifndef _SYS_SYSCALL_H_ |
---|
3 | #define _SYS_SYSCALL_H_ |
---|
4 | |
---|
5 | #ifndef ASM |
---|
6 | extern int __trap0 (int function, int p1, int p2, int p3); |
---|
7 | |
---|
8 | #define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3)) |
---|
9 | #endif |
---|
10 | |
---|
11 | #define SYS_exit 1 |
---|
12 | #define SYS_fork 2 |
---|
13 | |
---|
14 | #define SYS_read 3 |
---|
15 | #define SYS_write 4 |
---|
16 | #define SYS_open 5 |
---|
17 | #define SYS_close 6 |
---|
18 | #define SYS_wait4 7 |
---|
19 | #define SYS_creat 8 |
---|
20 | #define SYS_link 9 |
---|
21 | #define SYS_unlink 10 |
---|
22 | #define SYS_execv 11 |
---|
23 | #define SYS_chdir 12 |
---|
24 | #define SYS_mknod 14 |
---|
25 | #define SYS_chmod 15 |
---|
26 | #define SYS_chown 16 |
---|
27 | #define SYS_lseek 19 |
---|
28 | #define SYS_getpid 20 |
---|
29 | #define SYS_isatty 21 |
---|
30 | #define SYS_fstat 22 |
---|
31 | #define SYS_time 23 |
---|
32 | |
---|
33 | |
---|
34 | #define SYS_ARG 24 |
---|
35 | #define SYS_stat 38 |
---|
36 | |
---|
37 | |
---|
38 | #define SYS_pipe 42 |
---|
39 | #define SYS_execve 59 |
---|
40 | #define SYS_times 43 |
---|
41 | #define SYS_gettimeofday 116 |
---|
42 | #define SYS_rename 134 |
---|
43 | |
---|
44 | #define SYS_utime 201 /* not really a system call */ |
---|
45 | #define SYS_wait 202 /* nor is this */ |
---|
46 | |
---|
47 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.