xdb.c (843e1988) xdb.c (551bc2a6)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 36 unchanged lines hidden (view full) ---

45 *
46 * Virtual device configuration is read/written from/to the database via
47 * xenbus_* interfaces. Driver also use xvdi_* to interact with hypervisor.
48 * There is an on-going effort to make xvdi_* cover all xenbus_*.
49 */
50
51#pragma ident "%Z%%M% %I% %E% SMI"
52
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 36 unchanged lines hidden (view full) ---

45 *
46 * Virtual device configuration is read/written from/to the database via
47 * xenbus_* interfaces. Driver also use xvdi_* to interact with hypervisor.
48 * There is an on-going effort to make xvdi_* cover all xenbus_*.
49 */
50
51#pragma ident "%Z%%M% %I% %E% SMI"
52
53#include "xdb.h"
54#include <sys/lofi.h>
53#include <sys/types.h>
54#include <sys/conf.h>
55#include <sys/ddi.h>
56#include <sys/dditypes.h>
57#include <sys/sunddi.h>
58#include <sys/list.h>
59#include <sys/dkio.h>
60#include <sys/cmlb.h>
61#include <sys/vtoc.h>
62#include <sys/modctl.h>
63#include <sys/bootconf.h>
64#include <sys/promif.h>
65#include <sys/sysmacros.h>
66#include <public/io/xenbus.h>
67#include <xen/sys/xenbus_impl.h>
68#include <xen/sys/xendev.h>
69#include <sys/gnttab.h>
70#include <sys/scsi/generic/inquiry.h>
71#include <vm/seg_kmem.h>
55#include <vm/hat_i86.h>
72#include <vm/hat_i86.h>
73#include <sys/gnttab.h>
74#include <sys/lofi.h>
75#include <io/xdf.h>
76#include <io/xdb.h>
56
57static xdb_t *xdb_statep;
58static int xdb_debug = 0;
59
60#ifdef DEBUG
61/*
62 * debug aid functions
63 */

--- 1429 unchanged lines hidden ---
77
78static xdb_t *xdb_statep;
79static int xdb_debug = 0;
80
81#ifdef DEBUG
82/*
83 * debug aid functions
84 */

--- 1429 unchanged lines hidden ---