We try to demonstrate some concepts for user mode: - Multiple logical applications, each with their own memory domain - Creation of a sys_mem_pool and assignment to a memory partition - Use of APIs like k_queue_alloc_append() which require thread resource pools to be configured - Management of permissions for kernel objects and drivers - Show how application-specific system calls are defined - Show IPC between ISR and application (using k_msgq) and application-to-application IPC (using k_queue) Fixes: #14683 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
14 lines
249 B
C
14 lines
249 B
C
/*
|
|
* Copyright (c) 2019 Intel Corporation.
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef APP_SYSCALL_H
|
|
#define APP_SYSCALL_H
|
|
|
|
__syscall int magic_syscall(unsigned int *cookie);
|
|
|
|
#include <syscalls/app_syscall.h>
|
|
|
|
#endif /* MAGIC_SYSCALL_H */
|