Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
Zephyr API Documentation
►
Introduction
Deprecated List
►
Topics
►
Data Structures
▼
Files
▼
File List
►
doc
►
kernel
►
lib
►
subsys
▼
zephyr
►
acpi
►
app_memory
▼
arch
►
arc
►
arm
►
arm64
►
common
►
mips
►
posix
►
riscv
►
rx
▼
sparc
►
arch.h
►
arch_inlines.h
►
exception.h
►
sparc.h
thread.h
►
x86
►
xtensa
arch_inlines.h
►
arch_interface.h
►
cache.h
cpu.h
exception.h
structs.h
syscall.h
►
audio
►
bluetooth
►
canbus
►
console
►
crypto
►
data
►
debug
►
devicetree
►
dfu
►
display
►
drivers
►
dsp
►
dt-bindings
►
fs
►
input
►
internal
►
ipc
►
kernel
►
linker
►
llext
►
logging
►
lorawan
►
math
►
mem_mgmt
►
mgmt
►
misc
►
modbus
►
modem
►
multi_heap
►
net
►
platform
►
pm
►
pmci
►
portability
►
posix
►
psa
►
random
►
retention
►
rtio
►
sd
►
sensing
►
settings
►
shell
►
sip_svc
►
stats
►
storage
►
sys
►
task_wdt
►
timing
►
toolchain
►
tracing
►
usb
►
usb_c
►
xen
►
zbus
►
zvfs
►
bindesc.h
►
cache.h
►
device.h
►
devicetree.h
►
fatal.h
►
fatal_types.h
►
init.h
►
irq.h
►
irq_multilevel.h
►
irq_nextlevel.h
►
irq_offload.h
►
kernel.h
kernel_includes.h
►
kernel_structs.h
►
kernel_version.h
►
net_buf.h
►
shared_irq.h
►
smf.h
►
spinlock.h
►
sw_isr_table.h
►
sys_clock.h
►
syscall.h
►
toolchain.h
types.h
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
sparc.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019-2020 Cobham Gaisler AB
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_ARCH_SPARC_SPARC_H_
8
#define ZEPHYR_INCLUDE_ARCH_SPARC_SPARC_H_
9
10
/*
11
* @file
12
* @brief Definitions for the SPARC V8 architecture.
13
*/
14
15
/* Processor State Register */
16
#define PSR_VER_BIT 24
17
#define PSR_PIL_BIT 8
18
19
#define PSR_VER (0xf << PSR_VER_BIT)
20
#define PSR_EF (1 << 12)
21
#define PSR_S (1 << 7)
22
#define PSR_PS (1 << 6)
23
#define PSR_ET (1 << 5)
24
#define PSR_PIL (0xf << PSR_PIL_BIT)
25
#define PSR_CWP 0x1f
26
27
28
/* Trap Base Register */
29
#define TBR_TT_BIT 4
30
31
#define TBR_TBA 0xfffff000
32
#define TBR_TT 0x00000ff0
33
34
/* Trap types in TBR.TT */
35
#define TT_RESET 0x00
36
#define TT_WINDOW_OVERFLOW 0x05
37
#define TT_WINDOW_UNDERFLOW 0x06
38
#define TT_DATA_ACCESS_EXCEPTION 0x09
39
40
#endif
/* ZEPHYR_INCLUDE_ARCH_SPARC_SPARC_H_ */
zephyr
arch
sparc
sparc.h
Generated on Fri May 16 2025 06:06:18 for Zephyr API Documentation by
1.12.0