Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
k_float_disable.c File Reference
#include <zephyr/ztest.h>
#include <zephyr/sys/barrier.h>

Macros

#define STACKSIZE   1024
 
#define PRIORITY   K_PRIO_COOP(0)
 
#define K_FLOAT_DISABLE_SYSCALL_RETVAL   -ENOTSUP
 

Functions

 K_THREAD_STACK_DEFINE (usr_fp_thread_stack, 1024)
 
static void usr_fp_thread_entry_1 (void *p1, void *p2, void *p3)
 
static void usr_fp_thread_entry_2 (void *p1, void *p2, void *p3)
 
 ZTEST (k_float_disable, test_k_float_disable_common)
 
 ZTEST (k_float_disable, test_k_float_disable_syscall)
 
 ZTEST (k_float_disable, test_k_float_disable_irq)
 
 ZTEST_SUITE (k_float_disable, NULL, NULL, NULL, NULL, NULL)
 

Variables

struct k_thread usr_fp_thread
 
static ZTEST_BMEM volatile int test_ret = TC_PASS
 

Macro Definition Documentation

◆ K_FLOAT_DISABLE_SYSCALL_RETVAL

#define K_FLOAT_DISABLE_SYSCALL_RETVAL   -ENOTSUP

◆ PRIORITY

#define PRIORITY   K_PRIO_COOP(0)

◆ STACKSIZE

#define STACKSIZE   1024

Function Documentation

◆ K_THREAD_STACK_DEFINE()

K_THREAD_STACK_DEFINE ( usr_fp_thread_stack  ,
1024   
)

◆ usr_fp_thread_entry_1()

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

◆ usr_fp_thread_entry_2()

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

◆ ZTEST() [1/3]

ZTEST ( k_float_disable  ,
test_k_float_disable_common   
)

◆ ZTEST() [2/3]

ZTEST ( k_float_disable  ,
test_k_float_disable_irq   
)

◆ ZTEST() [3/3]

ZTEST ( k_float_disable  ,
test_k_float_disable_syscall   
)

◆ ZTEST_SUITE()

ZTEST_SUITE ( k_float_disable  ,
NULL  ,
NULL  ,
NULL  ,
NULL  ,
NULL   
)

Variable Documentation

◆ test_ret

ZTEST_BMEM volatile int test_ret = TC_PASS
static

◆ usr_fp_thread

struct k_thread usr_fp_thread