Subversion Repositories HelenOS-historic

Rev

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

Rev 1160 Rev 1398
Line 32... Line 32...
32
#define BOOT_OFFSET     0x4000
32
#define BOOT_OFFSET     0x4000
33
 
33
 
34
/* Temporary stack size for boot process */
34
/* Temporary stack size for boot process */
35
#define TEMP_STACK_SIZE 0x100
35
#define TEMP_STACK_SIZE 0x100
36
 
36
 
-
 
37
#define TASKMAP_MAX_RECORDS 32
37
#define MEMMAP_MAX_RECORDS 32
38
#define MEMMAP_MAX_RECORDS 32
38
 
39
 
39
#ifndef __ASM__
40
#ifndef __ASM__
40
 
41
 
41
#include <arch/types.h>
42
#include <arch/types.h>
42
 
43
 
43
typedef struct {
44
typedef struct {
-
 
45
    __address addr;
-
 
46
    __u64 size;
-
 
47
} utask_t;
-
 
48
 
-
 
49
typedef struct {
-
 
50
    __u32 count;
-
 
51
    utask_t tasks[TASKMAP_MAX_RECORDS];
-
 
52
} taskmap_t;
-
 
53
 
-
 
54
typedef struct {
44
    __address start;
55
    __address start;
45
    __u32 size;
56
    __u64 size;
46
} memzone_t;
57
} memzone_t;
47
 
58
 
48
typedef struct {
59
typedef struct {
49
    __u32 total;
60
    __u64 total;
50
    __u32 count;
61
    __u32 count;
51
    memzone_t zones[MEMMAP_MAX_RECORDS];
62
    memzone_t zones[MEMMAP_MAX_RECORDS];
52
} memmap_t;
63
} memmap_t;
53
 
64
 
54
typedef struct {
65
typedef struct {
Line 58... Line 69...
58
    unsigned int bpp;
69
    unsigned int bpp;
59
    unsigned int scanline;
70
    unsigned int scanline;
60
} screen_t;
71
} screen_t;
61
 
72
 
62
typedef struct {
73
typedef struct {
-
 
74
    taskmap_t taskmap;
63
    memmap_t memmap;
75
    memmap_t memmap;
64
    screen_t screen;
76
    screen_t screen;
65
} bootinfo_t;
77
} bootinfo_t;
66
 
78
 
67
extern bootinfo_t bootinfo;
79
extern bootinfo_t bootinfo;