Lines Matching refs:kernel

6kernel space. User-mode programs cannot directly access kernel resources. System calls provide a c…
10kernel resources and interacts with the kernel. An SVC/SWI exception is triggered inside the POSIX…
15kernel/liteos\_a/syscall/los\_syscall.c**. This function is called when a system software interrup…
18 …action between user-mode programs and the kernel. You are advised to use the POSIX APIs provided b…
19kernel for the user mode, see **kernel/liteos\_a/syscall/syscall\_lookup.h**. For details about t…
29 …em call number and the declaration of the corresponding kernel processing function to the kernel s…
30 4. Add the kernel processing function corresponding to the system call to the kernel.
82 3. Add the system call number to the kernel system call header file.
84 …In the **third\_party/musl/porting/liteos\_a/kernel/include/bits/syscall.h** file, **\_\_NR\_ne…
113 …In **kernel/liteos\_a/syscall/syscall\_lookup.h**, add the line **SYSCALL\_HAND\_DEF\(\_\_NR\_ne…
129 4. Add a function corresponding to the new system call to the kernel.
131 …In **kernel/liteos\_a/syscall/los\_syscall.h**, **SysNewSyscallSample** is the declaration of t…
135 /* List of the declaration of the current kernel processing functions for system calls. */
142 /* Declaration of the kernel processing function for the new system call*/
147 The newly added kernel processing function is implemented as follows:
152 /* Add the implementation of the kernel processing function for the new system call. */
155 PRINTK("kernel mode: num = %d\n", num);
166 /* The output in both user-mode and kernel-mode APIs indicates that the new system call is enabled.…
168 kernel mode: num = 10