Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
arm_syscalls.c File Reference
#include <zephyr/ztest.h>
#include <zephyr/arch/cpu.h>
#include <cmsis_core.h>
#include <zephyr/kernel_structs.h>
#include <zephyr/sys/barrier.h>
#include <offsets_short_arch.h>
#include <ksched.h>
#include <zephyr/internal/syscall_handler.h>
#include "test_syscalls.h"
#include <zephyr/syscalls/test_arm_user_syscall_mrsh.c>
#include <zephyr/syscalls/test_arm_cpu_write_reg_mrsh.c>

Macros

#define PRIORITY   0
 
#define DB_VAL   0xDEADBEEF
 

Functions

static K_THREAD_STACK_DEFINE (user_thread_stack, 1024)
 
void arm_isr_handler (const void *args)
 
static void user_thread_entry (void *p1, void *p2, void *p3)
 
void test_arm_syscalls (void)
 Test ARM thread swap mechanism.
 
void test_syscall_cpu_scrubs_regs (void)
 Test CPU scrubs registers after system call.
 

Variables

static struct k_thread user_thread
 

Macro Definition Documentation

◆ DB_VAL

#define DB_VAL   0xDEADBEEF

◆ PRIORITY

#define PRIORITY   0

Function Documentation

◆ arm_isr_handler()

void arm_isr_handler ( const void * args)

◆ K_THREAD_STACK_DEFINE()

static K_THREAD_STACK_DEFINE ( user_thread_stack ,
1024  )
static

◆ user_thread_entry()

static void user_thread_entry ( void * p1,
void * p2,
void * p3 )
static

Variable Documentation

◆ user_thread

struct k_thread user_thread
static