1/*	$NetBSD: ofwmagic.S,v 1.3 2008/01/09 19:36:40 garbled Exp $	*/
2
3/*-
4 * Copyright (c) 1997 The NetBSD Foundation, Inc.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Jason R. Thorpe.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:
13 * 1. Redistributions of source code must retain the above copyright
14 *    notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright
16 *    notice, this list of conditions and the following disclaimer in the
17 *    documentation and/or other materials provided with the distribution.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * POSSIBILITY OF SUCH DAMAGE.
30 */
31
32/*
33 * Magic note section used by OpenFirmware.
34 */
35
36	.section ".note","",@note
37
38	# note header
39
40	# length of name
41	.long	8
42
43	# note descriptor size
44	.long	24
45
46	# note type (IEEE 1275)
47	.long	0x1275
48
49	# name of owner
50	.asciz	"PowerPC"
51	.balign	4
52
53
54	# note descriptor
55
56	# real mode (-1) or virtual mode (0)
57	.long	0
58
59	# real-base
60	.long	-1
61	# real-size
62	.long	-1
63
64	# virt-base
65	.long	-1
66	# virt-size
67	.long	-1
68	# load-base
69	.long	0x4000
70
71	# second note is for IBM LPARs
72	# length of name
73	.long 24
74	# note descriptor size
75	.long 28
76	# note type
77	.long 0x12759999
78	# name of owner
79	.asciz "IBM,RPA-Client-Config"
80	.balign 4
81
82	# lpar affinity
83	.long 0
84	# minimum size in megabytes
85	.long 64
86	# minimum percentage size
87	.long 0
88	# max pft size ( 2^48 bytes )
89	.long 48
90	# splpar
91	.long 1
92	# min load ?
93	.long -1
94	# new mem def ?
95	.long 0
96