mirror of
https://github.com/drasko/codezero.git
synced 2026-03-11 06:43:16 +01:00
Initial commit
This commit is contained in:
25
include/l4/arch/arm/bootdesc.h
Normal file
25
include/l4/arch/arm/bootdesc.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef __BOOTDESC_H__
|
||||
#define __BOOTDESC_H__
|
||||
|
||||
/* 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__));
|
||||
|
||||
#if defined (__KERNEL__)
|
||||
extern struct bootdesc *bootdesc;
|
||||
|
||||
void read_bootdesc(void);
|
||||
void copy_bootdesc(void);
|
||||
#endif
|
||||
|
||||
#endif /* __BOOTDESC_H__ */
|
||||
Reference in New Issue
Block a user