Ignore:
Timestamp:
2006-07-24T14:19:44Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5de522d
Parents:
d227101
Message:

xen32 hypervisor interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/xen32/include/boot/boot.h

    rd227101 r4965a846  
    3636#define __xen32_BOOT_H__
    3737
     38#define GUEST_CMDLINE   1024
     39#define START_INFO_SIZE 1104
    3840#define BOOT_OFFSET             0x0000
    39 #define TEMP_STACK_SIZE 0x400
     41
     42#ifndef __ASM__
     43
     44#include <arch/types.h>
     45
     46typedef 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 */
     60        int8_t cmd_line[GUEST_CMDLINE];
     61} start_info_t;
     62
     63extern start_info_t start_info;
     64
     65#endif
    4066
    4167#endif
Note: See TracChangeset for help on using the changeset viewer.