Native CPU specific code. More...

Detailed Description

Native CPU specific code.

The native CPU uses system calls to simulate hardware access.

CPU abstraction for the native port

Ludwig Knüpfer


 Linux User Mode GPIO Driver
 Implementation of GPIO access from Linux User Space.
 Linux User Mode SPI Driver
 Implementation of SPI access from Linux User Space.
 Native extra API for EEPROM
 Implementation of EEPROM buffer persistence in file.


file  architecture_arch.h
 Architecture details.
file  async_read.h
 Multiple asynchronus read on file descriptors.
file  atomic_utils_arch.h
 Implementation of fast atomic utility functions.
file  cpu_conf.h
 Native CPU configuration.
file  native_cli_eui_provider.h
 Command-line EUI provider for native.
file  periph_conf.h
 Native CPU peripheral configuration.
file  periph_cpu.h
 CPU specific definitions for internal peripheral handling.
file  thread_arch.h
 Implementation of the kernels thread interface.
file  tty_uart.h
 UART implementation based on /dev/tty devices on host.


 The CPU supports unaligned memory access. More...


static void cpu_print_last_instruction (void)
 Prints the address the callee will return to.
typedef void(* _native_callback_t) (void)
 Native CPU internal declarations. More...
int register_interrupt (int sig, _native_callback_t handler)
 register interrupt handler handler for interrupt sig
int unregister_interrupt (int sig)
 unregister interrupt handler for interrupt sig

Macro Definition Documentation



The CPU supports unaligned memory access.

Even if the underlying architecture does not support it, the kernel will take care of it.

Definition at line 34 of file cpu.h.

Typedef Documentation

◆ _native_callback_t

typedef void(* _native_callback_t) (void)

Native CPU internal declarations.

Ludwig Knüpfer Prototype for native's internal callbacks

Definition at line 60 of file native_internal.h.