SyterKit 0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
Functions
sys-rproc.c File Reference
#include <io.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <types.h>
#include <log.h>
#include <sys-clk.h>
#include <sys-rproc.h>
Include dependency graph for sys-rproc.c:

Functions

void sunxi_ansc_boot (uint32_t addr)
 Boot the A27L2 processor.
 

Function Documentation

◆ sunxi_ansc_boot()

void sunxi_ansc_boot ( uint32_t  addr)

Boot the A27L2 processor.

This function configures clocks, reset controls, and cache settings to boot the A27L processor. It performs a series of hardware register operations to ensure the processor is in the correct state during boot-up.

Parameters
addrThe address to start the A27L processor. This is typically the entry point of a program or firmware.
Note
  • This function disables interrupts on entry and performs necessary clock and reset settings before booting the A27L2 processor.
  • Ensure that relevant registers and addresses are properly initialized before calling this function.
  • The function uses assembly instructions to directly manipulate hardware registers, thus requiring the compiler to understand the embedded assembly code.
Warning
  • Make sure the relevant hardware state is ready before invoking this function to avoid undefined behavior.