summaryrefslogtreecommitdiff
path: root/usr/src/uts/i86pc/conf
diff options
context:
space:
mode:
authorstevel@tonic-gate <none@none>2005-06-14 00:00:00 -0700
committerstevel@tonic-gate <none@none>2005-06-14 00:00:00 -0700
commit7c478bd95313f5f23a4c958a745db2134aa03244 (patch)
treec871e58545497667cbb4b0a4f2daf204743e1fe7 /usr/src/uts/i86pc/conf
downloadillumos-joyent-7c478bd95313f5f23a4c958a745db2134aa03244.tar.gz
OpenSolaris Launch
Diffstat (limited to 'usr/src/uts/i86pc/conf')
-rw-r--r--usr/src/uts/i86pc/conf/Mapfile42
-rw-r--r--usr/src/uts/i86pc/conf/Mapfile.amd6445
-rw-r--r--usr/src/uts/i86pc/conf/confunix.c39
3 files changed, 126 insertions, 0 deletions
diff --git a/usr/src/uts/i86pc/conf/Mapfile b/usr/src/uts/i86pc/conf/Mapfile
new file mode 100644
index 0000000000..73b304e07c
--- /dev/null
+++ b/usr/src/uts/i86pc/conf/Mapfile
@@ -0,0 +1,42 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright 2000 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+
+text = LOAD ?RXN V0xFE800000;
+text | .text;
+text : $PROGBITS ?A!W;
+
+#
+# start the data segment on a new 4MB page boundary
+# Not all x86 machines support 4MB pages so startup()
+# has to deal with that edge case.
+#
+data = LOAD ?RWX V0xFEc00000 A0x1000;
+data | .data;
+data : $PROGBITS ?AW;
+data : $NOBITS ?AW;
+
+note = NOTE;
+note : $NOTE;
diff --git a/usr/src/uts/i86pc/conf/Mapfile.amd64 b/usr/src/uts/i86pc/conf/Mapfile.amd64
new file mode 100644
index 0000000000..6afe016b73
--- /dev/null
+++ b/usr/src/uts/i86pc/conf/Mapfile.amd64
@@ -0,0 +1,45 @@
+#
+# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+#pragma ident "%Z%%M% %I% %E% SMI"
+#
+
+text = LOAD ?RXN V0xFFFFFFFFFB800000;
+text | .text;
+text : $PROGBITS ?A!W;
+
+#
+# start the data segment on a new 4MB page boundary
+# Not all x86 machines support 4MB pages so startup()
+# has to deal with that edge case.
+#
+data = LOAD ?RWX V0xFFFFFFFFFBc00000 A0x1000;
+data | .data;
+data : $PROGBITS ?AW;
+data : $NOBITS ?AW;
+
+note = NOTE;
+note : $NOTE;
diff --git a/usr/src/uts/i86pc/conf/confunix.c b/usr/src/uts/i86pc/conf/confunix.c
new file mode 100644
index 0000000000..3358f11f22
--- /dev/null
+++ b/usr/src/uts/i86pc/conf/confunix.c
@@ -0,0 +1,39 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License"). You may not use this file except in compliance
+ * with the License.
+ *
+ * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ * or http://www.opensolaris.org/os/licensing.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ * If applicable, add the following below this CDDL HEADER, with the
+ * fields enclosed by brackets "[]" replaced with your own identifying
+ * information: Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ */
+/*
+ * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
+ */
+
+#pragma ident "%Z%%M% %I% %E% SMI"
+
+#include <sys/bootconf.h>
+
+struct bootobj rootfs = {
+ { "ufs" }, /* bo_fstype */
+ { "/ramdisk:a" }, /* bo_name */
+ BO_VALID /* bo_flags */
+};
+
+struct bootobj swapfile = {
+ { "" }, { "" }
+};