xenguest.s revision 843e19887f64dde75055cf8842fc4db2171eff45
9e201d78ac6efdd08550263f2e146cdb76e9d49bvboxsync * CDDL HEADER START
9e201d78ac6efdd08550263f2e146cdb76e9d49bvboxsync * The contents of this file are subject to the terms of the
9e201d78ac6efdd08550263f2e146cdb76e9d49bvboxsync * Common Development and Distribution License (the "License").
9e201d78ac6efdd08550263f2e146cdb76e9d49bvboxsync * You may not use this file except in compliance with the License.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * See the License for the specific language governing permissions
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * and limitations under the License.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * When distributing Covered Code, include this CDDL HEADER in each
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * If applicable, add the following below this CDDL HEADER, with the
e90bc1b0a8fb83acc1c1dc65176f143163cbb1a4vboxsync * fields enclosed by brackets "[]" replaced with your own identifying
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync * information: Portions Copyright [yyyy] [name of copyright owner]
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync * CDDL HEADER END
27537ffef7291d0bb3a24e459a6b94c65586defevboxsync * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
7a39033381dbde37dc7b59b2440d643b1cbac21dvboxsync * Use is subject to license terms.
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync#pragma ident "%Z%%M% %I% %E% SMI"
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync * Stop lint complaining about an empty compilation unit!
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync * Sigh. There should be a better way to handle this.
9e201d78ac6efdd08550263f2e146cdb76e9d49bvboxsync#else /* __lint */
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync * A note is a name/value pair that belongs to some class.
67b414aa650cb27688d387c2184f8488d801cd72vboxsync NOTE("Xen", XEN_ELFNOTE_LOADER, .string, "generic")
9e201d78ac6efdd08550263f2e146cdb76e9d49bvboxsync NOTE("Xen", XEN_ELFNOTE_XEN_VERSION, .string, "xen-3.0")
9e201d78ac6efdd08550263f2e146cdb76e9d49bvboxsync NOTE("Xen", XEN_ELFNOTE_GUEST_OS, .string, "Solaris")
9e201d78ac6efdd08550263f2e146cdb76e9d49bvboxsync NOTE("Xen", XEN_ELFNOTE_VIRT_BASE, .4byte, 0x40000000)
a882c87b5d8115089725175d3d966f380f67a6afvboxsync NOTE("Xen", XEN_ELFNOTE_PADDR_OFFSET, .4byte, 0x40000000)
9e201d78ac6efdd08550263f2e146cdb76e9d49bvboxsync * NB: If you want to build a kernel that works on a non-PAE
84d5d5272edbc1f41f963221b74a7eda71d0e2a2vboxsync * hypervisor, just comment out the next line and rebuild Solaris.
9e201d78ac6efdd08550263f2e146cdb76e9d49bvboxsync * It'll just work, the kernel figures everything out dynamically.
9e201d78ac6efdd08550263f2e146cdb76e9d49bvboxsync NOTE("Xen", XEN_ELFNOTE_PAE_MODE, .string, "yes,bimodal")
9e201d78ac6efdd08550263f2e146cdb76e9d49bvboxsync * XXPV: implement XEN_ELFNOTE_HV_START_LOW
4e46eee5a96078ebec6cb36939b794a391f1ade0vboxsync#endif /* __lint */