include/rom/read_bytes.h
- Remove baremetal toolkit code src/rom/rom_fill_inbuf.c - Remove tag support util/config/NLBConfig.py - Remove crt0.o from OBJECTS-1 util/getpir/Makefile - set LINUXBSIOSROOT to an always working path
This commit is contained in:
parent
bf2d57b99a
commit
ebf98ebdc0
5 changed files with 22 additions and 170 deletions
|
|
@ -5,18 +5,8 @@
|
|||
|
||||
typedef long byte_offset_t;
|
||||
|
||||
typedef struct tag_t {
|
||||
char signature[5];
|
||||
unsigned char block_count;
|
||||
unsigned long length;
|
||||
char data[6];
|
||||
} __attribute__ ((packed)) tag_head;
|
||||
|
||||
struct stream {
|
||||
int (*init)(void);
|
||||
int (*init_tags)(void);
|
||||
void (*get_tags)(void *buf);
|
||||
void (*load_tag)(int tag);
|
||||
byte_offset_t (*read)(void *vdest, byte_offset_t count);
|
||||
byte_offset_t (*skip)(byte_offset_t count);
|
||||
void (*fini)(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue