Subversion Repositories HelenOS-historic

Rev

Rev 1131 | Rev 1369 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1131 Rev 1219
Line 37... Line 37...
37
 * @param align Size of alignment, must be power of 2.
37
 * @param align Size of alignment, must be power of 2.
38
 */
38
 */
39
#define ALIGN_UP(addr, align) (((addr) + ((align) - 1)) & ~((align) - 1))
39
#define ALIGN_UP(addr, align) (((addr) + ((align) - 1)) & ~((align) - 1))
40
 
40
 
41
typedef struct {
41
typedef struct {
-
 
42
    void *addr;
-
 
43
    unsigned int size;
-
 
44
} utask_t;
-
 
45
 
-
 
46
typedef struct {
-
 
47
    utask_t init;
42
    memmap_t memmap;
48
    memmap_t memmap;
43
    screen_t screen;
49
    screen_t screen;
44
} bootinfo_t;
50
} bootinfo_t;
45
 
51
 
46
extern int _binary_____________kernel_kernel_bin_start;
52
extern int _binary_____________kernel_kernel_bin_start;
47
extern int _binary_____________kernel_kernel_bin_end;
53
extern int _binary_____________kernel_kernel_bin_end;
-
 
54
 
-
 
55
extern int _binary_____________uspace_init_init_start;
-
 
56
extern int _binary_____________uspace_init_init_end;
-
 
57
 
48
extern void start(void);
58
extern void start(void);
49
extern void bootstrap(void);
59
extern void bootstrap(void);
50
 
60
 
51
extern memmap_t memmap;
61
extern memmap_t memmap;
52
 
62