Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
main.c File Reference
#include <ztest.h>
#include <kernel_version.h>
#include <sys/speculation.h>
#include "version.h"

Functions

void test_byteorder_memcpy_swap (void)
 Test swapping for memory contents. More...
 
void test_byteorder_mem_swap (void)
 Test sys_mem_swap() functionality. More...
 
void test_sys_get_be64 (void)
 Test sys_get_be64() functionality. More...
 
void test_sys_put_be64 (void)
 Test sys_put_be64() functionality. More...
 
void test_sys_get_be48 (void)
 Test sys_get_be48() functionality. More...
 
void test_sys_put_be48 (void)
 Test sys_put_be48() functionality. More...
 
void test_sys_get_be32 (void)
 Test sys_get_be32() functionality. More...
 
void test_sys_put_be32 (void)
 Test sys_put_be32() functionality. More...
 
void test_sys_get_be24 (void)
 Test sys_get_be24() functionality. More...
 
void test_sys_put_be24 (void)
 Test sys_put_be24() functionality. More...
 
void test_sys_get_be16 (void)
 Test sys_get_be16() functionality. More...
 
void test_sys_put_be16 (void)
 Test sys_put_be16() functionality. More...
 
void test_sys_get_le16 (void)
 Test sys_get_le16() functionality. More...
 
void test_sys_put_le16 (void)
 Test sys_put_le16() functionality. More...
 
void test_sys_get_le24 (void)
 Test sys_get_le24() functionality. More...
 
void test_sys_put_le24 (void)
 Test sys_put_le24() functionality. More...
 
void test_sys_get_le32 (void)
 Test sys_get_le32() functionality. More...
 
void test_sys_put_le32 (void)
 Test sys_put_le32() functionality. More...
 
void test_sys_get_le48 (void)
 Test sys_get_le48() functionality. More...
 
void test_sys_put_le48 (void)
 Test sys_put_le48() functionality. More...
 
void test_sys_get_le64 (void)
 Test sys_get_le64() functionality. More...
 
void test_sys_put_le64 (void)
 Test sys_put_le64() functionality. More...
 
void test_atomic (void)
 Verify atomic functionalities. More...
 
void test_threads_access_atomic (void)
 Verify atomic operation with threads. More...
 
void test_errno (void)
 Verify errno works well. More...
 
void test_printk (void)
 
void test_timeout_order (void)
 Test timeout ordering. More...
 
void test_clock_cycle (void)
 Test clock cycle functionality. More...
 
void test_clock_uptime (void)
 Test clock uptime APIs functionality. More...
 
void test_ms_time_duration (void)
 Test millisecond time duration. More...
 
void test_multilib (void)
 Test if correct multilib is selected. More...
 
void test_thread_context (void)
 Verify thread context. More...
 
void test_bootdelay (void)
 This module verifies the delay specified during boot. More...
 
void test_irq_offload (void)
 Verify thread context. More...
 
void test_nested_irq_offload (void)
 
void test_bitarray_declare (void)
 Test defining of bitarrays. More...
 
void test_bitarray_set_clear (void)
 Test bitarrays set and clear. More...
 
void test_bitarray_alloc_free (void)
 Test bitarrays allocation and free. More...
 
void test_bitarray_region_set_clear (void)
 
void test_nop (void)
 Test the arch_nop() by invoking and measure it. More...
 
void test_ffs (void)
 Test find MSB and LSB operations. More...
 
void test_bitfield (void)
 Test bitfield operations. More...
 
static void test_version (void)
 Test sys_kernel_version_get() functionality. More...
 
static void test_bounds_check_mitigation (void)
 
void test_main (void)
 

Variables

struct k_stack eno_stack
 
struct k_thread eno_thread
 

Function Documentation

◆ test_bounds_check_mitigation()

static void test_bounds_check_mitigation ( void  )
static

◆ test_irq_offload()

void test_irq_offload ( void  )

Verify thread context.

Check whether offloaded running function is in interrupt context, on the IRQ stack or not.

TESTPOINT: Offload to IRQ context

◆ test_main()

void test_main ( void  )

◆ test_nested_irq_offload()

void test_nested_irq_offload ( void  )

◆ test_printk()

void test_printk ( void  )

Variable Documentation

◆ eno_stack

struct k_stack eno_stack
extern

◆ eno_thread

struct k_thread eno_thread
extern