Subversion Repositories HelenOS

Rev

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

Rev 1810 Rev 1813
Line 33... Line 33...
33
 */
33
 */
34
 
34
 
35
#ifndef __xen32_BOOT_H__
35
#ifndef __xen32_BOOT_H__
36
#define __xen32_BOOT_H__
36
#define __xen32_BOOT_H__
37
 
37
 
-
 
38
#define GUEST_CMDLINE   1024
-
 
39
#define START_INFO_SIZE 1104
38
#define BOOT_OFFSET     0x0000
40
#define BOOT_OFFSET     0x0000
-
 
41
 
-
 
42
#ifndef __ASM__
-
 
43
 
-
 
44
#include <arch/types.h>
-
 
45
 
-
 
46
typedef struct {
-
 
47
    char magic[32];             /**< "xen-<version>-<platform>" */
-
 
48
    unsigned long nr_pages;     /**< Total pages allocated to this domain */
-
 
49
    unsigned long shared_info;  /**< Physical address of shared info struct */
-
 
50
    uint32_t flags;             /**< SIF_xxx flags */
-
 
51
    unsigned long store_mfn;    /**< Physical page number of shared page */
-
 
52
    uint32_t store_evtchn;      /**< Event channel for store communication */
-
 
53
    unsigned long console_mfn;  /**< Physical address of console page */
-
 
54
    uint32_t console_evtchn;    /**< Event channel for console messages */
-
 
55
    unsigned long pt_base;      /**< Virtual address of page directory */
-
 
56
    unsigned long nr_pt_frames; /**< Number of bootstrap p.t. frames */
-
 
57
    unsigned long mfn_list;     /**< Virtual address of page-frame list */
-
 
58
    unsigned long mod_start;    /**< Virtual address of pre-loaded module */
-
 
59
    unsigned long mod_len;      /**< Size (bytes) of pre-loaded module */
39
#define TEMP_STACK_SIZE 0x400
60
    int8_t cmd_line[GUEST_CMDLINE];
-
 
61
} start_info_t;
-
 
62
 
-
 
63
extern start_info_t start_info;
-
 
64
 
-
 
65
#endif
40
 
66
 
41
#endif
67
#endif
42
 
68
 
43
/** @}
69
/** @}
44
 */
70
 */