Subversion Repositories HelenOS-historic

Rev

Rev 1653 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1653 Rev 1719
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 libc
29
/** @addtogroup libc
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
Line 39... Line 39...
39
#include <kernel/syscall/syscall.h>
39
#include <kernel/syscall/syscall.h>
40
 
40
 
41
#define __SYSCALL0(id) __syscall(0, 0, 0, 0, id)
41
#define __SYSCALL0(id) __syscall(0, 0, 0, 0, id)
42
#define __SYSCALL1(id, p1) __syscall(p1, 0, 0, 0, id)
42
#define __SYSCALL1(id, p1) __syscall(p1, 0, 0, 0, id)
43
#define __SYSCALL2(id, p1, p2) __syscall(p1, p2, 0, 0, id)
43
#define __SYSCALL2(id, p1, p2) __syscall(p1, p2, 0, 0, id)
44
#define __SYSCALL3(id, p1, p2, p3) __syscall(p1,p2,p3, 0, id)
44
#define __SYSCALL3(id, p1, p2, p3) __syscall(p1, p2, p3, 0, id)
45
#define __SYSCALL4(id, p1, p2, p3, p4) __syscall(p1,p2,p3,p4,id)
45
#define __SYSCALL4(id, p1, p2, p3, p4) __syscall(p1, p2, p3, p4, id)
46
 
46
 
47
extern void __main(void);
47
extern void __main(void);
-
 
48
extern void __io_init(void);
48
extern void __exit(void);
49
extern void __exit(void);
49
extern sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2,
50
extern sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2, const sysarg_t p3, const sysarg_t p4, const syscall_t id);
50
              const sysarg_t p3, const sysarg_t p4,
-
 
51
              const syscall_t id);
-
 
52
 
51
 
53
 
52
 
54
#endif
53
#endif
55
 
54
 
56
 
-
 
57
 /** @}
55
/** @}
58
 */
56
 */
59
 
-
 
60
 
-