VSF Documented
Data Structures | Macros | Typedefs | Enumerations | Functions
spl_c.c File Reference
#include "hal/vsf_hal.h"
#include "../../driver.h"

Data Structures

struct  boot_head_t
 
struct  image_head_t
 

Macros

#define IMAGE_MAGIC   0x474D495F
 
#define MINMATCH   4
 
#define WILDCOPYLENGTH   8
 
#define LASTLITERALS   5
 
#define MFLIMIT   12
 
#define ML_BITS   4
 
#define ML_MASK   ((1U<<ML_BITS)-1)
 
#define RUN_BITS   (8-ML_BITS)
 
#define RUN_MASK   ((1U<<RUN_BITS)-1)
 

Typedefs

typedef struct boot_head_t boot_head_t
 
typedef struct image_head_t image_head_t
 

Enumerations

enum  {
  IMAGE_FLAGS_COMPRESSED = 1 << 0 ,
  IMAGE_FLAGS_COMPRESSED_LZ4 = 1 << 1
}
 

Functions

void __debug_uart_putc (char c)
 
void __debug_uart_puts (char *str)
 
void __debug_uart_puti (uint_fast32_t i, uint_fast8_t base)
 
void __spinor_read (uint_fast32_t addr, uint8_t *buffer, uint_fast32_t len)
 
void spl_c_entry (void)
 

Macro Definition Documentation

◆ IMAGE_MAGIC

#define IMAGE_MAGIC   0x474D495F

◆ MINMATCH

#define MINMATCH   4

◆ WILDCOPYLENGTH

#define WILDCOPYLENGTH   8

◆ LASTLITERALS

#define LASTLITERALS   5

◆ MFLIMIT

#define MFLIMIT   12

◆ ML_BITS

#define ML_BITS   4

◆ ML_MASK

#define ML_MASK   ((1U<<ML_BITS)-1)

◆ RUN_BITS

#define RUN_BITS   (8-ML_BITS)

◆ RUN_MASK

#define RUN_MASK   ((1U<<RUN_BITS)-1)

Typedef Documentation

◆ boot_head_t

typedef struct boot_head_t boot_head_t

◆ image_head_t

typedef struct image_head_t image_head_t

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
IMAGE_FLAGS_COMPRESSED 
IMAGE_FLAGS_COMPRESSED_LZ4 

Function Documentation

◆ __debug_uart_putc()

void __debug_uart_putc ( char  c)

◆ __debug_uart_puts()

void __debug_uart_puts ( char *  str)

◆ __debug_uart_puti()

void __debug_uart_puti ( uint_fast32_t  i,
uint_fast8_t  base 
)

◆ __spinor_read()

void __spinor_read ( uint_fast32_t  addr,
uint8_t buffer,
uint_fast32_t  len 
)

◆ spl_c_entry()

void spl_c_entry ( void  )