SyterKit 0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions | Variables
head.c File Reference
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <types.h>
Include dependency graph for head.c:

Classes

struct  boot_file_head
 

Macros

#define BROM_FILE_HEAD_SIZE_OFFSET   (((sizeof(boot_file_head_t) + sizeof(int)) / sizeof(int) + 1))
 
#define JUMP_INSTRUCTION   (BROM_FILE_HEAD_SIZE_OFFSET | 0xEA000000)
 
#define BOOT0_MAGIC   "eGON.BT0"
 
#define STAMP_VALUE   (0x12345678)
 
#define BOOT_PUB_HEAD_VERSION   "3000"
 

Typedefs

typedef struct boot_file_head boot_file_head_t
 

Functions

const __attribute__ ((section(".boot0_head")))
 

Variables

uint32_t __spl_size []
 
uint32_t __code_start_address []
 

Macro Definition Documentation

◆ BOOT0_MAGIC

#define BOOT0_MAGIC   "eGON.BT0"

◆ BOOT_PUB_HEAD_VERSION

#define BOOT_PUB_HEAD_VERSION   "3000"

◆ BROM_FILE_HEAD_SIZE_OFFSET

#define BROM_FILE_HEAD_SIZE_OFFSET   (((sizeof(boot_file_head_t) + sizeof(int)) / sizeof(int) + 1))

◆ JUMP_INSTRUCTION

#define JUMP_INSTRUCTION   (BROM_FILE_HEAD_SIZE_OFFSET | 0xEA000000)

◆ STAMP_VALUE

#define STAMP_VALUE   (0x12345678)

Typedef Documentation

◆ boot_file_head_t

Function Documentation

◆ __attribute__()

const __attribute__ ( (section(".boot0_head"))  )

Variable Documentation

◆ __code_start_address

uint32_t __code_start_address[]
extern

◆ __spl_size

uint32_t __spl_size[]
extern