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

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [src/] [arch/] [arm/] [syscall.S.ARM] - Blame information for rev 6

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 drasko
/*
2
 * The syscall page.
3
 *
4
 * Exported to userspace, used merely for entering the kernel.
5
 * Actual handling happens elsewhere.
6
 *
7
 * Copyright (C) 2007 Bahadir Balban
8
 */
9
 
10
#include INC_ARCH(asm.h)
11
 
12
.balign 4096
13
.section .data.syscalls
14
 
15
.global __syscall_page_start;
16
__syscall_page_start:
17
 
18
/* LR_USR is inspected to find out which system call. */
19
BEGIN_PROC(arm_system_calls)
20
        swi     0x14            @ ipc                   /* 0x0 */
21
        swi     0x14            @ thread_switch         /* 0x4 */
22
        swi     0x14            @ thread_control        /* 0x8 */
23
        swi     0x14            @ exchange_registers    /* 0xc */
24
        swi     0x14            @ schedule              /* 0x10 */
25
        swi     0x14            @ unmap                 /* 0x14 */
26
        swi     0x14            @ space_control         /* 0x18 */
27
        swi     0x14            @ processor_control     /* 0x1c */
28
        swi     0x14            @ memory_control        /* 0x20 */
29
        swi     0x14            @ getid                 /* 0x24 */
30
        swi     0x14            @ kread                 /* 0x28 */
31
        swi     0x14            @ kmem_control          /* 0x2C */
32
        swi     0x14            @ time                  /* 0x30 */
33
        swi     0x14            @ mutex_control         /* 0x34 */
34
        swi     0x14            @ cache_control         /* 0x38 */
35
END_PROC(arm_system_calls)
36
 

powered by: WebSVN 2.1.0

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