mirror of
https://github.com/drasko/codezero.git
synced 2026-03-03 11:03:16 +01:00
Initial commit
This commit is contained in:
16
tasks/bootdesc/bootdesc.c.templ
Normal file
16
tasks/bootdesc/bootdesc.c.templ
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
|
||||
/* Supervisor task at load time. */
|
||||
struct svc_image {
|
||||
char name[16];
|
||||
unsigned int phys_start;
|
||||
unsigned int phys_end;
|
||||
} __attribute__((__packed__));
|
||||
|
||||
/* Supervisor task descriptor at load time */
|
||||
struct bootdesc {
|
||||
int desc_size;
|
||||
int total_images;
|
||||
struct svc_image images[];
|
||||
} __attribute__((__packed__));
|
||||
|
||||
Reference in New Issue
Block a user