OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [conts/] [posix/] [mm0/] [include/] [bootdesc.h] - Blame information for rev 7

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 drasko
#ifndef __BOOTDESC_H__
2
#define __BOOTDESC_H__
3
 
4
/* Supervisor task at load time. */
5
struct svc_image {
6
        char name[16];
7
        unsigned int phys_start;
8
        unsigned int phys_end;
9
} __attribute__((__packed__));
10
 
11
/* Supervisor task descriptor at load time */
12
struct bootdesc {
13
        int desc_size;
14
        int total_images;
15
        struct svc_image images[];
16
} __attribute__((__packed__));
17
 
18
 
19
void read_boot_params();
20
struct svc_image *bootdesc_get_image_byname(char *);
21
 
22
#endif /* __BOOTDESC_H__ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.