text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```objective-c
/*
*
*/
#ifndef H_SETTINGS_MGMT_
#define H_SETTINGS_MGMT_
#ifdef __cplusplus
extern "C" {
#endif
/**
* Command IDs for settings management group.
*/
#define SETTINGS_MGMT_ID_READ_WRITE 0
#define SETTINGS_MGMT_ID_DELETE 1
#define SETTINGS_MGMT_ID_COMMIT 2
#define SETTINGS_MGMT_ID_LOAD_SAVE 3
... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/grp/settings_mgmt/settings_mgmt.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 281 |
```objective-c
/*
*
*/
#ifndef H_SHELL_MGMT_
#define H_SHELL_MGMT_
#ifdef __cplusplus
extern "C" {
#endif
/**
* Command IDs for shell management group.
*/
#define SHELL_MGMT_ID_EXEC 0
/**
* Command result codes for shell management group.
*/
enum shell_mgmt_err_code_t {
/** No error, this is implied if the... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/grp/shell_mgmt/shell_mgmt.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 166 |
```objective-c
/*
*
*/
#ifndef H_IMG_MGMT_CLIENT_
#define H_IMG_MGMT_CLIENT_
#include <inttypes.h>
#include <zephyr/mgmt/mcumgr/grp/img_mgmt/img_mgmt.h>
#include <zephyr/mgmt/mcumgr/smp/smp_client.h>
/**
* @brief MCUmgr Image management client API
* @defgroup mcumgr_img_mgmt_client MCUmgr img_mgmt_client API
* ... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/grp/img_mgmt/img_mgmt_client.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,221 |
```objective-c
/*
*
*/
#ifndef H_MCUMGR_IMG_MGMT_CALLBACKS_
#define H_MCUMGR_IMG_MGMT_CALLBACKS_
#ifdef __cplusplus
extern "C" {
#endif
/* Dummy definitions, include zephyr/mgmt/mcumgr/grp/img_mgmt/img_mgmt.h for actual definitions */
struct img_mgmt_upload_action;
struct img_mgmt_upload_req;
/**
* @brief MCUmgr... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/grp/img_mgmt/img_mgmt_callbacks.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 244 |
```objective-c
/*
*
*/
#ifndef H_STAT_MGMT_
#define H_STAT_MGMT_
#ifdef __cplusplus
extern "C" {
#endif
/**
* Command IDs for statistics management group.
*/
#define STAT_MGMT_ID_SHOW 0
#define STAT_MGMT_ID_LIST 1
/**
* Command result codes for statistics management group.
*/
enum stat_mgmt_err_code_t {
... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/grp/stat_mgmt/stat_mgmt.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 244 |
```objective-c
/*
*
*/
#ifndef H_MCUMGR_OS_MGMT_CALLBACKS_
#define H_MCUMGR_OS_MGMT_CALLBACKS_
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief MCUmgr os_mgmt callback API
* @defgroup mcumgr_callback_api_os_mgmt MCUmgr os_mgmt callback API
* @ingroup mcumgr_callback_api
* @{
*/
/**
* Structure provided i... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/grp/os_mgmt/os_mgmt_callbacks.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 158 |
```objective-c
/*
*
*/
#ifndef H_IMG_MGMT_
#define H_IMG_MGMT_
#include <inttypes.h>
#include <zephyr/mgmt/mcumgr/mgmt/mgmt.h>
#include <zephyr/mgmt/mcumgr/smp/smp.h>
#include <bootutil/image.h>
#include <zcbor_common.h>
/**
* @brief MCUmgr img_mgmt API
* @defgroup mcumgr_img_mgmt MCUmgr img_mgmt API
* @ingroup... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/grp/img_mgmt/img_mgmt.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,688 |
```objective-c
/*
*
*/
#ifndef H_OS_MGMT_CLIENT_
#define H_OS_MGMT_CLIENT_
#include <inttypes.h>
#include <zephyr/mgmt/mcumgr/smp/smp_client.h>
/**
* @brief MCUmgr OS management client API
* @defgroup mcumgr_os_mgmt_client MCUmgr os_mgmt_client API
* @ingroup mcumgr
* @{
*/
#ifdef __cplusplus
extern "C" {
#e... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/grp/os_mgmt/os_mgmt_client.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 352 |
```objective-c
/*
*
*/
#ifndef H_OS_MGMT_
#define H_OS_MGMT_
#ifdef __cplusplus
extern "C" {
#endif
/**
* Command IDs for OS management group.
*/
#define OS_MGMT_ID_ECHO 0
#define OS_MGMT_ID_CONS_ECHO_CTRL 1
#define OS_MGMT_ID_TASKSTAT 2
#define OS_MGMT_ID_MPSTAT 3
#define OS_MGMT_ID_DATETIME_STR 4
#define ... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/grp/os_mgmt/os_mgmt.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 877 |
```objective-c
/*
*
*/
#ifndef H_MGMT_MGMT_DEFINES_
#define H_MGMT_MGMT_DEFINES_
#include <inttypes.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief MCUmgr mgmt API
* @defgroup mcumgr_mgmt_api MCUmgr mgmt API
* @ingroup mcumgr
* @{
*/
/**
* Used at end of MCUmgr handlers to return an error if the mes... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/mgmt/mgmt_defines.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 810 |
```objective-c
/*
*
*/
#ifndef H_MCUMGR_MGMT_HANDLERS_
#define H_MCUMGR_MGMT_HANDLERS_
#include <zephyr/kernel.h>
#include <zephyr/sys/util_macro.h>
#include <zephyr/sys/iterable_sections.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/**
* @brief MCUmgr handler registration API
* @defgroup mcumgr_... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/mgmt/handlers.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 299 |
```objective-c
/*
*
*/
#ifndef H_MGMT_MGMT_
#define H_MGMT_MGMT_
#include <inttypes.h>
#include <zephyr/sys/slist.h>
#include <zephyr/mgmt/mcumgr/smp/smp.h>
#include <zephyr/mgmt/mcumgr/mgmt/mgmt_defines.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief MCUmgr mgmt API
* @defgroup mcumgr_mgmt_api MCUmgr mg... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/mgmt/mgmt.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,112 |
```objective-c
/*
*
*/
/** @file
* @brief Shell transport for the mcumgr SMP protocol.
*/
#ifndef ZEPHYR_INCLUDE_MGMT_SMP_SHELL_H_
#define ZEPHYR_INCLUDE_MGMT_SMP_SHELL_H_
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
#define SMP_SHELL_RX_BUF_SIZE 127
/** @brief Data used by SMP shell */
st... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/transport/smp_shell.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 337 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_MGMT_SERIAL_H_
#define ZEPHYR_INCLUDE_MGMT_SERIAL_H_
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
#define MCUMGR_SERIAL_HDR_PKT 0x0609
#define MCUMGR_SERIAL_HDR_FRAG 0x0414
#define MCUMGR_SERIAL_MAX_FRAME 127
#define MCUMGR_SERIAL_H... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/transport/serial.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 657 |
```objective-c
/*
*
*/
/**
* @file
* @brief UDP transport for the MCUmgr SMP protocol.
*/
#ifndef ZEPHYR_INCLUDE_MGMT_SMP_UDP_H_
#define ZEPHYR_INCLUDE_MGMT_SMP_UDP_H_
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Enables the UDP SMP MCUmgr transport thread(s) which will open a socket and
* listen to ... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/transport/smp_udp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 196 |
```objective-c
/*
*
*/
#ifndef H_MCUMGR_CALLBACKS_
#define H_MCUMGR_CALLBACKS_
#include <inttypes.h>
#include <zephyr/sys/slist.h>
#include <zephyr/mgmt/mcumgr/mgmt/mgmt.h>
#ifdef CONFIG_MCUMGR_GRP_FS
#include <zephyr/mgmt/mcumgr/grp/fs_mgmt/fs_mgmt_callbacks.h>
#endif
#ifdef CONFIG_MCUMGR_GRP_IMG
#include <zephy... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/mgmt/callbacks.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,815 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_MGMT_SMP_H_
#define ZEPHYR_INCLUDE_MGMT_SMP_H_
#include <zephyr/kernel.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief MCUmgr transport SMP API
* @defgroup mcumgr_transport_smp MCUmgr transport SMP API
* @ingroup mcumgr
* @{
*/
struct smp_transport;
struc... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/transport/smp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,435 |
```objective-c
/*
*
*/
/** @file
* @brief Bluetooth transport for the mcumgr SMP protocol.
*/
#ifndef ZEPHYR_INCLUDE_MGMT_SMP_BT_H_
#define ZEPHYR_INCLUDE_MGMT_SMP_BT_H_
#include <zephyr/types.h>
struct bt_conn;
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Registers the SMP Bluetooth service. Should on... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/transport/smp_bt.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 261 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_MGMT_EC_HOST_CMD_SIMULATOR_H_
#define ZEPHYR_INCLUDE_MGMT_EC_HOST_CMD_SIMULATOR_H_
/**
* @file
* @brief Header for commands to interact with the simulator outside of normal
* device interface.
*/
/* For ec_host_cmd_backend_api_send function pointer type */
#... | /content/code_sandbox/include/zephyr/mgmt/ec_host_cmd/simulator.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 371 |
```objective-c
/*
*
*/
/** @file
* @brief Dummy transport for the mcumgr SMP protocol for unit testing.
*/
#ifndef ZEPHYR_INCLUDE_MGMT_MCUMGR_TRANSPORT_DUMMY_H_
#define ZEPHYR_INCLUDE_MGMT_MCUMGR_TRANSPORT_DUMMY_H_
#include <zephyr/kernel.h>
#include <zephyr/net/buf.h>
#include <zephyr/mgmt/mcumgr/mgmt/mgmt.h>
#i... | /content/code_sandbox/include/zephyr/mgmt/mcumgr/transport/smp_dummy.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 614 |
```objective-c
/*
*
*/
/**
* @file
* @brief Public APIs for Host Command backends that respond to host commands
*/
#ifndef ZEPHYR_INCLUDE_MGMT_EC_HOST_CMD_BACKEND_H_
#define ZEPHYR_INCLUDE_MGMT_EC_HOST_CMD_BACKEND_H_
#include <zephyr/sys/__assert.h>
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#i... | /content/code_sandbox/include/zephyr/mgmt/ec_host_cmd/backend.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,120 |
```objective-c
/* exception.h - automatically selects the correct exception.h file to include */
/*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_EXCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_EXCEPTION_H_
#if defined(CONFIG_X86_64)
#include <zephyr/arch/x86/intel64/exception.h>
#elif defined(CONFIG_X86)
#include <zephyr/arch/x86/ia32/... | /content/code_sandbox/include/zephyr/arch/exception.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 267 |
```objective-c
/* cpu.h - automatically selects the correct arch.h file to include */
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_CPU_H_
#define ZEPHYR_INCLUDE_ARCH_CPU_H_
#include <zephyr/arch/arch_interface.h>
#if defined(CONFIG_X86)
#include <zephyr/arch/x86/arch.h>
#elif defined(CONFIG_ARM64)
#include <zephyr/arch/ar... | /content/code_sandbox/include/zephyr/arch/cpu.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 240 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_MGMT_EC_HOST_CMD_EC_HOST_CMD_H_
#define ZEPHYR_INCLUDE_MGMT_EC_HOST_CMD_EC_HOST_CMD_H_
/**
* @brief EC Host Command Interface
* @defgroup ec_host_cmd_interface EC Host Command Interface
* @since 2.4
* @version 0.1.0
* @ingroup io_interfaces
* @{
*/
#include <std... | /content/code_sandbox/include/zephyr/mgmt/ec_host_cmd/ec_host_cmd.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,333 |
```objective-c
/*
*
*/
/**
* @file
* Public APIs for architectural cache controller drivers
*/
#ifndef ZEPHYR_INCLUDE_ARCH_CACHE_H_
#define ZEPHYR_INCLUDE_ARCH_CACHE_H_
/**
* @brief Cache Controller Interface
* @defgroup cache_arch_interface Cache Controller Interface
* @ingroup io_interfaces
* @{
*/
#if ... | /content/code_sandbox/include/zephyr/arch/cache.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,425 |
```objective-c
/*
*
*/
/*
* The purpose of this file is to provide essential/minimal architecture-
* specific structure definitions to be included in generic kernel
* structures.
*
* The following rules must be observed:
* 1. arch/structs.h shall not depend on kernel.h both directly and
* indirectly (i.e... | /content/code_sandbox/include/zephyr/arch/structs.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 354 |
```objective-c
/*
* arch_inlines.h - automatically selects the correct arch_inlines.h file to
* include based on the selected architecture.
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_INLINES_H_
#define ZEPHYR_INCLUDE_ARCH_INLINES_H_
#if defined(CONFIG_X86)
#include <zephyr/arch/x86/arch_inlines.h>
#elif defined(C... | /content/code_sandbox/include/zephyr/arch/arch_inlines.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 270 |
```objective-c
/* syscall.h - automatically selects the correct syscall.h file to include */
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_SYSCALL_H_
#define ZEPHYR_INCLUDE_ARCH_SYSCALL_H_
#if defined(CONFIG_X86_64)
#include <zephyr/arch/x86/intel64/syscall.h>
#elif defined(CONFIG_X86)
#include <zephyr/arch/x86/ia32/syscall... | /content/code_sandbox/include/zephyr/arch/syscall.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 192 |
```objective-c
/*
*
* based on include/arch/riscv/exception.h
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_MIPS_EXPCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_MIPS_EXPCEPTION_H_
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
#include <zephyr/toolchain.h>
#ifdef __cplusplus
extern "C" {
#endif
struct arch_esf {
unsigned long ra... | /content/code_sandbox/include/zephyr/arch/mips/exception.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 375 |
```objective-c
/*
*
* based on include/arch/sparc/arch.h
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_MIPS_ARCH_H_
#define ZEPHYR_INCLUDE_ARCH_MIPS_ARCH_H_
#include <zephyr/arch/mips/thread.h>
#include <zephyr/arch/mips/exception.h>
#include <zephyr/arch/common/sys_bitops.h>
#include <zephyr/arch/common/sys_io.h>
#include <z... | /content/code_sandbox/include/zephyr/arch/mips/arch.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 624 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_MIPS_ARCH_INLINES_H
#define ZEPHYR_INCLUDE_ARCH_MIPS_ARCH_INLINES_H
#include <zephyr/kernel_structs.h>
static ALWAYS_INLINE unsigned int arch_num_cpus(void)
{
return CONFIG_MP_MAX_NUM_CPUS;
}
#endif /* ZEPHYR_INCLUDE_ARCH_MIPS_ARCH_INLINES_H */
``` | /content/code_sandbox/include/zephyr/arch/mips/arch_inlines.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 80 |
```objective-c
/*
*
* based on include/arch/riscv/thread.h
*
*/
/**
* @file
* @brief Per-arch thread definition
*
* This file contains definitions for
*
* struct _thread_arch
* struct _callee_saved
*
* necessary to instantiate instances of struct k_thread.
*/
#ifndef ZEPHYR_INCLUDE_ARCH_MIPS_THREAD_H_... | /content/code_sandbox/include/zephyr/arch/mips/thread.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 300 |
```linker script
/*
*
* based on include/arch/sparc/linker.ld
*
*/
/**
* @file
* @brief Linker command/script file for the MIPS platform
*/
#include <zephyr/linker/sections.h>
#include <zephyr/linker/linker-defs.h>
#include <zephyr/linker/linker-tool.h>
#define ROMABLE_REGION RAM
#define RAMABLE_... | /content/code_sandbox/include/zephyr/arch/mips/linker.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,405 |
```objective-c
/*
*
*/
/**
* @file
* @brief ARM AArch32 public exception handling
*
* ARM AArch32-specific kernel exception handling interface. Included by
* arm/arch.h.
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_EXCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_EXCEPTION_H_
#if defined(CONFIG_CPU_CORTEX_M)
#include <zep... | /content/code_sandbox/include/zephyr/arch/arm/exception.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 150 |
```objective-c
/*
*
*/
/**
* @file
* @brief ARM AArch32 public interrupt handling
*
* ARM AArch32-specific kernel interrupt handling interface. Included by
* arm/arch.h.
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_IRQ_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_IRQ_H_
#include <zephyr/sw_isr_table.h>
#include <stdbool.h>
#if... | /content/code_sandbox/include/zephyr/arch/arm/irq.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,017 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_GDBSTUB_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_GDBSTUB_H_
#include <zephyr/arch/arm/exception.h>
#ifndef _ASMLANGUAGE
#define DBGDSCR_MONITOR_MODE_EN 0x8000
#define SPSR_ISETSTATE_ARM 0x0
#define SPSR_ISETSTATE_JAZELLE 0x2
#define SPSR_J ... | /content/code_sandbox/include/zephyr/arch/arm/gdbstub.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 420 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_ARM_STRUCTS_H_
#define ZEPHYR_INCLUDE_ARM_STRUCTS_H_
#include <zephyr/types.h>
#if defined(CONFIG_CPU_AARCH32_CORTEX_A) || defined(CONFIG_CPU_AARCH32_CORTEX_R)
/* Per CPU architecture specifics */
struct _cpu_arch {
int8_t exc_depth;
};
#else
/* Default definitions whe... | /content/code_sandbox/include/zephyr/arch/arm/structs.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 173 |
```objective-c
/*
*
*/
/**
* @defgroup arch-interface Architecture Interface
* @ingroup internal_api
* @brief Internal kernel APIs with public scope
*
* Any public kernel APIs that are implemented as inline functions and need to
* call architecture-specific API so will have the prototypes for the
* architectu... | /content/code_sandbox/include/zephyr/arch/arch_interface.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 9,048 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_ARCH_INLINES_H
#define ZEPHYR_INCLUDE_ARCH_ARM_ARCH_INLINES_H
#include <zephyr/kernel_structs.h>
#if defined(CONFIG_CPU_AARCH32_CORTEX_R) || defined(CONFIG_CPU_AARCH32_CORTEX_A)
#include <zephyr/arch/arm/cortex_a_r/lib_helpers.h>
#include <zephyr/arch/arm/corte... | /content/code_sandbox/include/zephyr/arch/arm/arch_inlines.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 253 |
```objective-c
/*
*
*/
/**
* @file
* @brief ARM AArch32 specific kernel interface header
*
* This header contains the ARM AArch32 specific kernel interface. It is
* included by the kernel interface architecture-abstraction header
* (include/arm/cpu.h)
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_ARCH_H_
#define ZEPHY... | /content/code_sandbox/include/zephyr/arch/arm/arch.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,197 |
```objective-c
/*
*
*/
/**
* @file
* @brief ARM AArch32 specific syscall header
*
* This header contains the ARM AArch32 specific syscall interface. It is
* included by the syscall interface architecture-abstraction header
* (include/arch/syscall.h)
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_SYSCALL_H_
#define ZEPH... | /content/code_sandbox/include/zephyr/arch/arm/syscall.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,663 |
```objective-c
/* ARM AArch32 GCC specific public inline assembler functions and macros */
/*
*
*/
/* Either public functions or macros or invoked by public functions */
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_ASM_INLINE_GCC_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_ASM_INLINE_GCC_H_
/*
* The file must not be included directly... | /content/code_sandbox/include/zephyr/arch/arm/asm_inline_gcc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 761 |
```objective-c
/*
*
*/
/**
* @file
* @brief ARM AArch32 public kernel miscellaneous
*
* ARM AArch32-specific kernel miscellaneous interface. Included by arm/arch.h.
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_MISC_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_MISC_H_
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _ASMLANGUAGE
e... | /content/code_sandbox/include/zephyr/arch/arm/misc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 386 |
```objective-c
/*
*
*/
/**
* @file
* @brief Per-arch thread definition
*
* This file contains definitions for
*
* struct _thread_arch
* struct _callee_saved
*
* necessary to instantiate instances of struct k_thread.
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_THREAD_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_THREAD_H_
... | /content/code_sandbox/include/zephyr/arch/arm/thread.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,039 |
```objective-c
/* ARM AArch32 inline assembler functions and macros for public functions */
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_ASM_INLINE_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_ASM_INLINE_H_
/*
* The file must not be included directly
* Include kernel.h instead
*/
#if defined(__GNUC__)
#include <zephyr/arch/a... | /content/code_sandbox/include/zephyr/arch/arm/asm_inline.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 106 |
```objective-c
/**
*
*/
#ifndef ZEPHYR_INCLUDE_BARRIER_ARM_H_
#define ZEPHYR_INCLUDE_BARRIER_ARM_H_
#ifndef ZEPHYR_INCLUDE_SYS_BARRIER_H_
#error Please include <zephyr/sys/barrier.h>
#endif
#include <cmsis_core.h>
#ifdef __cplusplus
extern "C" {
#endif
static ALWAYS_INLINE void z_barrier_dmem_fence_full(void)
{
... | /content/code_sandbox/include/zephyr/arch/arm/barrier.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 146 |
```objective-c
/**
* @file
*
* @brief ARM AArch32 NMI routines
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_NMI_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_NMI_H_
#if !defined(_ASMLANGUAGE) && defined(CONFIG_RUNTIME_NMI)
extern void z_arm_nmi_set_handler(void (*pHandler)(void));
#endif
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_... | /content/code_sandbox/include/zephyr/arch/arm/nmi.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 92 |
```objective-c
/*
*
*/
/**
* @file
* @brief ARM AArch32 Cortex-M public exception handling
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_EXCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_EXCEPTION_H_
#include <zephyr/devicetree.h>
#include <zephyr/arch/arm/cortex_m/nvic.h>
/* for assembler, only works with ... | /content/code_sandbox/include/zephyr/arch/arm/cortex_m/exception.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,061 |
```objective-c
/*
*
*/
/**
* @file
* @brief ARM AArch32 public error handling
*
* ARM AArch32-specific kernel error handling interface. Included by
* arm/arch.h.
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_ERROR_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_ERROR_H_
#include <zephyr/arch/arm/syscall.h>
#include <zephyr/arch/arm... | /content/code_sandbox/include/zephyr/arch/arm/error.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 586 |
```objective-c
/*
*
*/
#ifndef _CORTEX_M_CPU_H
#define _CORTEX_M_CPU_H
#ifdef _ASMLANGUAGE
#define _SCS_BASE_ADDR _PPB_INT_SCS
/* ICSR defines */
#define _SCS_ICSR (_SCS_BASE_ADDR + 0xd04)
#define _SCS_ICSR_PENDSV (1 << 28)
#define _SCS_ICSR_UNPENDSV (1 << 27)
#define _SCS_ICSR_RETTOBASE (1 << 11)
#define _SCS_M... | /content/code_sandbox/include/zephyr/arch/arm/cortex_m/cpu.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 556 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_NVIC_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_NVIC_H_
#include <zephyr/devicetree.h>
#if defined(CONFIG_ARMV8_1_M_MAINLINE)
/* The order here is on purpose since ARMv8.1-M SoCs may define
* CONFIG_ARMV6_M_ARMV8_M_BASELINE, CONFIG_ARMV7_M_ARMV8_M_M... | /content/code_sandbox/include/zephyr/arch/arm/cortex_m/nvic.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 277 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_FPU_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_FPU_H_
struct fpu_ctx_full {
uint32_t caller_saved[16];
uint32_t callee_saved[16];
uint32_t fpscr;
bool ctx_saved;
};
void z_arm_save_fp_context(struct fpu_ctx_full *buffer);
void z_arm_restore_fp_co... | /content/code_sandbox/include/zephyr/arch/arm/cortex_m/fpu.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 113 |
```objective-c
/*
*
*/
#ifndef _ARM_CORTEX_M_MPU_MEM_CFG_H_
#define _ARM_CORTEX_M_MPU_MEM_CFG_H_
#include <zephyr/arch/arm/mpu/arm_mpu.h>
#if !defined(CONFIG_ARMV8_M_BASELINE) && !defined(CONFIG_ARMV8_M_MAINLINE)
/* Flash Region Definitions */
#if CONFIG_FLASH_SIZE <= 64
#define REGION_FLASH_SIZE REGION_64K
#elif ... | /content/code_sandbox/include/zephyr/arch/arm/cortex_m/arm_mpu_mem_cfg.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 614 |
```objective-c
/*
*
*/
/**
* @file
* @brief ARM CORTEX-M memory map
*
* This module contains definitions for the memory map of the CORTEX-M series of
* processors.
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_MEMORY_MAP_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_MEMORY_MAP_H_
#include <zephyr/sys/util.h>
/*... | /content/code_sandbox/include/zephyr/arch/arm/cortex_m/memory_map.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,382 |
```objective-c
/*
* ARMv7 MMU support
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_AARCH32_ARM_MMU_H_
#define ZEPHYR_INCLUDE_ARCH_AARCH32_ARM_MMU_H_
#ifndef _ASMLANGUAGE
/*
* Comp.:
* ARM Architecture Reference Manual, ARMv7-A and ARMv7-R edition,
* ARM document ID DDI0406C Rev. d, March 2018
* Memory type definitions:
... | /content/code_sandbox/include/zephyr/arch/arm/mmu/arm_mmu.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,098 |
```objective-c
/*
*
*/
/**
* @file
* @brief ARM AArch32 Cortex-A and Cortex-R public exception handling
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A_R_EXCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A_R_EXCEPTION_H_
#ifdef _ASMLANGUAGE
GTEXT(z_arm_exc_exit);
#else
#include <zephyr/types.h>
#ifdef __cplusplu... | /content/code_sandbox/include/zephyr/arch/arm/cortex_a_r/exception.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 596 |
```linker script
/*
*
*/
/**
* @file
* @brief Linker command/script file
*
* Linker script for the Cortex-M platforms.
*/
#include <zephyr/linker/sections.h>
#include <zephyr/devicetree.h>
#include <zephyr/linker/devicetree_regions.h>
#include <zephyr/linker/linker-defs.h>
#include <zephyr/linker/linker-tool.... | /content/code_sandbox/include/zephyr/arch/arm/cortex_m/scripts/linker.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,634 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A_R_CPU_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A_R_CPU_H_
#if defined(CONFIG_ARM_MPU)
#include <zephyr/arch/arm/cortex_a_r/mpu.h>
#endif
/*
* SCTLR register bit assignments
*/
#define SCTLR_MPU_ENABLE (1 << 0)
#define MODE_USR 0x10
#define MODE_FI... | /content/code_sandbox/include/zephyr/arch/arm/cortex_a_r/cpu.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,202 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A_R_ARMV8_TIMER_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A_R_ARMV8_TIMER_H_
#ifndef _ASMLANGUAGE
#include <zephyr/drivers/timer/arm_arch_timer.h>
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
#define ARM_ARCH_TIMER_IRQ ARM_TIMER_VI... | /content/code_sandbox/include/zephyr/arch/arm/cortex_a_r/armv8_timer.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 351 |
```objective-c
/*
*
*/
/* "Arch" bit manipulation functions in non-arch-specific C code (uses some
* gcc builtins)
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A_R_SYS_IO_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A_R_SYS_IO_H_
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
#include <zephyr/sys/sys_io.h>
#include <... | /content/code_sandbox/include/zephyr/arch/arm/cortex_a_r/sys_io.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 546 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A_R_TIMER_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A_R_TIMER_H_
#ifdef CONFIG_ARM_ARCH_TIMER
#ifndef _ASMLANGUAGE
#include <zephyr/drivers/timer/arm_arch_timer.h>
#include <zephyr/sys/device_mmio.h>
#include <zephyr/types.h>
#ifdef __cplusplus
extern... | /content/code_sandbox/include/zephyr/arch/arm/cortex_a_r/timer.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,027 |
```objective-c
/*
*/
/**
* @file
* @brief tpidruro bits allocation
*
* Among other things, the tpidruro holds the address for the current
* CPU's struct _cpu instance. But such a pointer is at least 4-bytes
* aligned. That leaves two of free bits for other purposes.
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A... | /content/code_sandbox/include/zephyr/arch/arm/cortex_a_r/tpidruro.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 140 |
```objective-c
/*
*
*
* Armv8-R AArch32 architecture helpers.
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A_R_LIB_HELPERS_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A_R_LIB_HELPERS_H_
#ifndef _ASMLANGUAGE
#include <stdint.h>
#define read_sysreg32(op1, CRn, CRm, op2) \
({ \
uint32_t val; \
__a... | /content/code_sandbox/include/zephyr/arch/arm/cortex_a_r/lib_helpers.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,136 |
```linker script
/*
*
*/
/* Set initial alignment to the 32 byte minimum for all MPUs */
_app_data_align = 32;
. = ALIGN(32);
``` | /content/code_sandbox/include/zephyr/arch/arm/cortex_a_r/scripts/app_data_alignment.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```objective-c
*
*/
#ifndef ARCH_ARM_CORTEX_R_MPU_H
#define ARCH_ARM_CORTEX_R_MPU_H 1
#define MPU_RBAR_ADDR_Msk (~0x1f)
#define MPU_RASR_ENABLE_Msk (1)
#define MPU_RASR_SIZE_Pos 1U
#define MPU_RASR_SIZE_Msk (0x1FUL << MPU_RASR_SIZE_Pos)
#define MPU_TYPE_DREGION... | /content/code_sandbox/include/zephyr/arch/arm/cortex_a_r/mpu.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 892 |
```linker script
/*
*
*/
/**
* @file
* @brief Linker command/script file
*
* Linker script for the Cortex-A and Cortex-R platforms.
*/
#include <zephyr/linker/sections.h>
#include <zephyr/devicetree.h>
#include <zephyr/linker/devicetree_regions.h>
#include <zephyr/linker/linker-defs.h>
#include <zephyr/linker... | /content/code_sandbox/include/zephyr/arch/arm/cortex_a_r/scripts/linker.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,926 |
```objective-c
/*
*
*/
#ifndef _ASMLANGUAGE
#include <cmsis_core.h>
/* Convenience macros to represent the ARMv7-M-specific
* configuration for memory access permission and
* cache-ability attribution.
*/
/* Privileged No Access, Unprivileged No Access */
#define NO_ACCESS 0x0
#define NO_ACCESS_Msk ((N... | /content/code_sandbox/include/zephyr/arch/arm/mpu/arm_mpu_v7m.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,403 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_MPU_NXP_MPU_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_MPU_NXP_MPU_H_
#ifndef _ASMLANGUAGE
#define NXP_MPU_REGION_NUMBER 12
/* Bus Master User Mode Access */
#define UM_READ 4
#define UM_WRITE 2
#define UM_EXEC 1
#define BM0_UM_SHIFT 0
#define BM1_UM_SHIFT 6
#defin... | /content/code_sandbox/include/zephyr/arch/arm/mpu/nxp_mpu.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,122 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_MPU_ARM_MPU_H_
#define ZEPHYR_INCLUDE_ARCH_ARM_MPU_ARM_MPU_H_
#if defined(CONFIG_CPU_CORTEX_M0PLUS) || \
defined(CONFIG_CPU_CORTEX_M3) || \
defined(CONFIG_CPU_CORTEX_M4) || \
defined(CONFIG_CPU_CORTEX_M7) || \
defined(CONFIG_ARMV7_R)
#include <zephyr/arch/ar... | /content/code_sandbox/include/zephyr/arch/arm/mpu/arm_mpu.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 522 |
```linker script
/*
*
*/
/* Set initial alignment to the 32 byte minimum for all MPUs */
_app_data_align = 32;
. = ALIGN(32);
``` | /content/code_sandbox/include/zephyr/arch/arm/cortex_r/scripts/app_data_alignment.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```linker script
/*
*
*/
#include <zephyr/arch/arm/cortex_a_r/scripts/linker.ld>
``` | /content/code_sandbox/include/zephyr/arch/arm/cortex_r/scripts/linker.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 20 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_NIOS2_EXPCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_NIOS2_EXPCEPTION_H_
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
struct arch_esf {
uint32_t ra; /* return address r31 */
uint32_t r1; /* at */
uint32_t r2; /* return value... | /content/code_sandbox/include/zephyr/arch/nios2/exception.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 296 |
```objective-c
/*
*
*/
#ifndef _ASMLANGUAGE
/* Convenience macros to represent the ARMv8-M-specific
* configuration for memory access permission and
* cache-ability attribution.
*/
#if defined(CONFIG_AARCH32_ARMV8_R)
#define MPU_IR_REGION_Msk (0xFFU)
#define MPU_IR_REGION_Pos 8U
/* MPU RBAR Register ... | /content/code_sandbox/include/zephyr/arch/arm/mpu/arm_mpu_v8.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,441 |
```objective-c
/*
*
*/
/**
* @file
* @brief Nios II specific kernel interface header
* This header contains the Nios II specific kernel interface. It is
* included by the generic kernel interface header (include/arch/cpu.h)
*/
#ifndef ZEPHYR_INCLUDE_ARCH_NIOS2_ARCH_H_
#define ZEPHYR_INCLUDE_ARCH_NIOS2_ARCH_H_... | /content/code_sandbox/include/zephyr/arch/nios2/arch.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,436 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_NIOS2_ARCH_INLINES_H
#define ZEPHYR_INCLUDE_ARCH_NIOS2_ARCH_INLINES_H
#include <zephyr/kernel_structs.h>
static ALWAYS_INLINE unsigned int arch_num_cpus(void)
{
return CONFIG_MP_MAX_NUM_CPUS;
}
#endif /* ZEPHYR_INCLUDE_ARCH_NIOS2_ARCH_INLINES_H */
``` | /content/code_sandbox/include/zephyr/arch/nios2/arch_inlines.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 83 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_NIOS2_ASM_INLINE_GCC_H_
#define ZEPHYR_INCLUDE_ARCH_NIOS2_ASM_INLINE_GCC_H_
/*
* The file must not be included directly
* Include arch/cpu.h instead
*/
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
#include <zephyr/sys/sys_io.h>
#include <zephyr/toolchain.h>
... | /content/code_sandbox/include/zephyr/arch/nios2/asm_inline_gcc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 295 |
```objective-c
#ifndef ZEPHYR_INCLUDE_ARCH_NIOS2_NIOS2_H_
#define ZEPHYR_INCLUDE_ARCH_NIOS2_NIOS2_H_
/******************************************************************************
* *
* ... | /content/code_sandbox/include/zephyr/arch/nios2/nios2.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,226 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_NIOS2_ASM_INLINE_H_
#define ZEPHYR_INCLUDE_ARCH_NIOS2_ASM_INLINE_H_
/*
* The file must not be included directly
* Include kernel.h instead
*/
#if defined(__GNUC__)
#include <zephyr/arch/nios2/asm_inline_gcc.h>
#else
#include <arch/nios2/asm_inline_other.h>
#end... | /content/code_sandbox/include/zephyr/arch/nios2/asm_inline.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 102 |
```objective-c
/*
*
*/
/**
* @file
* @brief Per-arch thread definition
*
* This file contains definitions for
*
* struct _thread_arch
* struct _callee_saved
*
* necessary to instantiate instances of struct k_thread.
*/
#ifndef ZEPHYR_INCLUDE_ARCH_NIOS2_THREAD_H_
#define ZEPHYR_INCLUDE_ARCH_NIOS2_THREAD_... | /content/code_sandbox/include/zephyr/arch/nios2/thread.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 294 |
```linker script
/*
*
*/
/* Set initial alignment to the 32 byte minimum for all MPUs */
_app_data_align = 32;
. = ALIGN(32);
``` | /content/code_sandbox/include/zephyr/arch/common/app_data_alignment.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```objective-c
/*
*
*/
/* Memory bits manipulation functions in non-arch-specific C code */
#ifndef ZEPHYR_INCLUDE_ARCH_COMMON_SYS_BITOPS_H_
#define ZEPHYR_INCLUDE_ARCH_COMMON_SYS_BITOPS_H_
#ifndef _ASMLANGUAGE
#include <zephyr/toolchain.h>
#include <zephyr/types.h>
#include <zephyr/sys/sys_io.h>
#ifdef __cplusp... | /content/code_sandbox/include/zephyr/arch/common/sys_bitops.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 677 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_COMMON_FFS_H_
#define ZEPHYR_INCLUDE_ARCH_COMMON_FFS_H_
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
*
* @brief find most significant bit set in a 32-bit word
*
* This routine finds the first bit set starting from... | /content/code_sandbox/include/zephyr/arch/common/ffs.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 476 |
```linker script
/*
*
*/
/**
* @file
* @brief Linker command/script file
*
* Linker script for the Nios II platform
*/
#include <zephyr/linker/sections.h>
#include <zephyr/linker/linker-defs.h>
#include <zephyr/linker/linker-tool.h>
/* These sections are specific to this CPU */
#define _EXCEPTION_SECTION_NAM... | /content/code_sandbox/include/zephyr/arch/nios2/linker.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,972 |
```objective-c
/*
*/
/**
* @file
*
* @brief public S2RAM APIs.
* @defgroup pm_s2ram S2RAM APIs
* @ingroup subsys_pm
* @{
*/
#ifndef ZEPHYR_INCLUDE_ARCH_COMMON_PM_S2RAM_H_
#define ZEPHYR_INCLUDE_ARCH_COMMON_PM_S2RAM_H_
#ifdef _ASMLANGUAGE
GTEXT(arch_pm_s2ram_suspend);
#else
#ifdef __cplusplus
extern "C" {
#e... | /content/code_sandbox/include/zephyr/arch/common/pm_s2ram.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 649 |
```objective-c
/* x86 address types (virtual, physical, etc) definitions */
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_X86_ADDR_TYPES_H_
#define ZEPHYR_INCLUDE_ARCH_X86_ADDR_TYPES_H_
#ifndef _ASMLANGUAGE
typedef uintptr_t paddr_t;
typedef void *vaddr_t;
#endif
#endif /* ZEPHYR_INCLUDE_ARCH_X86_ADDR_TYPES_H_ */
``` | /content/code_sandbox/include/zephyr/arch/common/addr_types.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```objective-c
/*
* Organisation (CSIRO) ABN 41 687 119 230.
*
*
* Based on the ARM semihosting API from:
* path_to_url
*
* RISC-V semihosting also follows these conventions:
* path_to_url
*/
/**
* @file
*
* @brief public Semihosting APIs based on ARM definitions.
* @defgroup semihost Semihosting APIs
* ... | /content/code_sandbox/include/zephyr/arch/common/semihost.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,405 |
```objective-c
/*
*
*/
/* Memory mapped registers I/O functions in non-arch-specific C code */
#ifndef ZEPHYR_INCLUDE_ARCH_COMMON_SYS_IO_H_
#define ZEPHYR_INCLUDE_ARCH_COMMON_SYS_IO_H_
#ifndef _ASMLANGUAGE
#include <zephyr/toolchain.h>
#include <zephyr/types.h>
#include <zephyr/sys/sys_io.h>
#ifdef __cplusplus
e... | /content/code_sandbox/include/zephyr/arch/common/sys_io.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 335 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_EXPCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_POSIX_EXPCEPTION_H_
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
struct arch_esf {
uint32_t dummy; /*maybe we will want to add something someday*/
};
#ifdef __cplusplus
}
#... | /content/code_sandbox/include/zephyr/arch/posix/exception.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 105 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_EXC_HANDLE_H_
#define ZEPHYR_INCLUDE_EXC_HANDLE_H_
/*
* This is used by some architectures to define code ranges which may
* perform operations that could generate a CPU exception that should not
* be fatal. Instead, the exception should return but set the program
*... | /content/code_sandbox/include/zephyr/arch/common/exc_handle.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 341 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_POSIX_TRACE_H_
#define ZEPHYR_INCLUDE_ARCH_POSIX_POSIX_TRACE_H_
#include <stdarg.h>
#ifdef __cplusplus
extern "C" {
#endif
void posix_vprint_error_and_exit(const char *format, va_list vargs);
void posix_vprint_warning(const char *format, va_list vargs);
void... | /content/code_sandbox/include/zephyr/arch/posix/posix_trace.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 260 |
```linker script
/*
*
*/
#define NATIVE_INIT_LEVEL(level) \
__native_##level##_tasks_start = .; \
KEEP(*(SORT(.native_##level[0-9]_task))); \
KEEP(*(SORT(.native_##level[1-9][0-9]_task))); \
KEEP(*(SORT(.native_##level[1-9][0-9][0-9]_task))); \
SECTION_PROLOGUE (native_pre_tasks,,)
{
__native_tasks... | /content/code_sandbox/include/zephyr/arch/posix/native_tasks.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 175 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_ARCH_INLINES_H
#define ZEPHYR_INCLUDE_ARCH_POSIX_ARCH_INLINES_H
#include <zephyr/kernel_structs.h>
static ALWAYS_INLINE unsigned int arch_num_cpus(void)
{
return CONFIG_MP_MAX_NUM_CPUS;
}
#endif /* ZEPHYR_INCLUDE_ARCH_POSIX_ARCH_INLINES_H */
``` | /content/code_sandbox/include/zephyr/arch/posix/arch_inlines.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 80 |
```objective-c
/*
*
*/
/**
* @file
* @brief POSIX arch specific kernel interface header
* This header contains the POSIX arch specific kernel interface.
* It is included by the generic kernel interface header (include/arch/cpu.h)
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_ARCH_H_
#define ZEPHYR_INCLUDE_ARCH_POSI... | /content/code_sandbox/include/zephyr/arch/posix/arch.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 385 |
```linker script
/*
*
*/
SECTION_PROLOGUE (.native_sim_if,,)
{
KEEP(*(.native_sim_if));
KEEP(*(.native_sim_if.*));
}
``` | /content/code_sandbox/include/zephyr/arch/posix/native_sim_interface.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_POSIX_SOC_IF_H_
#define ZEPHYR_INCLUDE_ARCH_POSIX_POSIX_SOC_IF_H_
/*
* This file lists the functions the POSIX architecture core expects the
* SOC or board will provide
*
* All functions listed here must be provided by the implementation of the SOC
* or a... | /content/code_sandbox/include/zephyr/arch/posix/posix_soc_if.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 267 |
```objective-c
/*
*
*/
/*
* POSIX ARCH specific public inline "assembler" functions and macros
*/
/* Either public functions or macros or invoked by public functions */
#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_ASM_INLINE_GCC_H_
#define ZEPHYR_INCLUDE_ARCH_POSIX_ASM_INLINE_GCC_H_
/*
* The file must not be included dir... | /content/code_sandbox/include/zephyr/arch/posix/asm_inline_gcc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 176 |
```objective-c
/*
*
*/
/**
* @file
* @brief Per-arch thread definition
*
* This file contains definitions for
*
* struct _thread_arch
* struct _callee_saved
*
* necessary to instantiate instances of struct k_thread.
*/
#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_THREAD_H_
#define ZEPHYR_INCLUDE_ARCH_POSIX_THREAD_... | /content/code_sandbox/include/zephyr/arch/posix/thread.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 206 |
```objective-c
/* POSIX inline "assembler" functions and macros for public functions */
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_ASM_INLINE_H_
#define ZEPHYR_INCLUDE_ARCH_POSIX_ASM_INLINE_H_
/*
* The file must not be included directly
* Include kernel.h instead
*/
#if defined(__GNUC__)
#include <zephyr/arch/p... | /content/code_sandbox/include/zephyr/arch/posix/asm_inline.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 116 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ARCH_SPARC_EXPCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_SPARC_EXPCEPTION_H_
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
struct arch_esf {
uint32_t out[8];
uint32_t global[8];
uint32_t psr;
uint32_t pc;
uint32_t npc;
uint32_... | /content/code_sandbox/include/zephyr/arch/sparc/exception.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 140 |
```linker script
/*
*
*/
/**
* @file
* @brief Linker command/script file
*
* Linker script for the POSIX (native) platform
*/
#include <zephyr/linker/sections.h>
#include <zephyr/linker/linker-defs.h>
#include <zephyr/linker/linker-tool.h>
SECTIONS
{
#ifdef CONFIG_LLEXT
#include <zephyr/linker/llext-sectio... | /content/code_sandbox/include/zephyr/arch/posix/linker.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 596 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.