Subversion Repositories HelenOS

Rev

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

Rev 1817 Rev 1821
Line 42... Line 42...
42
#ifndef __ASM__
42
#ifndef __ASM__
43
 
43
 
44
#include <arch/types.h>
44
#include <arch/types.h>
45
 
45
 
46
typedef struct {
46
typedef struct {
47
    char magic[32];             /**< "xen-<version>-<platform>" */
47
    int8_t magic[32];           /**< "xen-<version>-<platform>" */
48
    unsigned long nr_pages;     /**< Total pages allocated to this domain */
48
    uint32_t frames;            /**< Available frames */
49
    void *shared_info;          /**< Machine address of shared info struct */
49
    void *shared_info;          /**< Shared info structure (machine address) */
50
    uint32_t flags;             /**< SIF_xxx flags */
50
    uint32_t flags;             /**< SIF_xxx flags */
51
    void *store_mfn;            /**< Machine page number of shared page */
51
    pfn_t store_mfn;            /**< Shared page (machine page) */
52
    uint32_t store_evtchn;      /**< Event channel for store communication */
52
    uint32_t store_evtchn;      /**< Event channel for store communication */
53
    void *console_mfn;          /**< Machine address of console page */
53
    void *console_mfn;          /**< Console page (machine address) */
54
    uint32_t console_evtchn;    /**< Event channel for console messages */
54
    uint32_t console_evtchn;    /**< Event channel for console messages */
55
    unsigned long *pt_base;     /**< Virtual address of page directory */
55
    pte_t *ptl0;                /**< Boot PTL0 (kernel address) */
56
    unsigned long nr_pt_frames; /**< Number of bootstrap p.t. frames */
56
    uint32_t pt_frames;         /**< Number of bootstrap page table frames */
57
    unsigned long *mfn_list;    /**< Virtual address of page-frame list */
57
    pfn_t *pm_map;              /**< Physical->machine frame map (kernel address) */
58
    void *mod_start;            /**< Virtual address of pre-loaded module */
58
    void *mod_start;            /**< Modules start (kernel address) */
59
    unsigned long mod_len;      /**< Size (bytes) of pre-loaded module */
59
    uint32_t mod_len;           /**< Modules size (bytes) */
60
    int8_t cmd_line[GUEST_CMDLINE];
60
    int8_t cmd_line[GUEST_CMDLINE];
61
} start_info_t;
61
} start_info_t;
62
 
62
 
63
extern start_info_t start_info;
63
extern start_info_t start_info;
64
 
64