177957Sbenno/* $FreeBSD$ */ 277957Sbenno/* $NetBSD: ofwmagic.S,v 1.2 1997/10/09 08:38:18 jtc Exp $ */ 377957Sbenno 477957Sbenno/*- 577957Sbenno * Copyright (c) 1997 The NetBSD Foundation, Inc. 677957Sbenno * All rights reserved. 777957Sbenno * 877957Sbenno * This code is derived from software contributed to The NetBSD Foundation 977957Sbenno * by Jason R. Thorpe. 1077957Sbenno * 1177957Sbenno * Redistribution and use in source and binary forms, with or without 1277957Sbenno * modification, are permitted provided that the following conditions 1377957Sbenno * are met: 1477957Sbenno * 1. Redistributions of source code must retain the above copyright 1577957Sbenno * notice, this list of conditions and the following disclaimer. 1677957Sbenno * 2. Redistributions in binary form must reproduce the above copyright 1777957Sbenno * notice, this list of conditions and the following disclaimer in the 1877957Sbenno * documentation and/or other materials provided with the distribution. 1977957Sbenno * 2077957Sbenno * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 2177957Sbenno * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 2277957Sbenno * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2377957Sbenno * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 2477957Sbenno * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2577957Sbenno * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2677957Sbenno * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2777957Sbenno * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2877957Sbenno * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2977957Sbenno * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 3077957Sbenno * POSSIBILITY OF SUCH DAMAGE. 3177957Sbenno */ 3277957Sbenno 3377957Sbenno/* 34133862Smarius * Magic note section used by Open Firmware. 3577957Sbenno */ 3677957Sbenno 3777957Sbenno .section ".note" 3877957Sbenno 39114727Sobrien /*# note header */ 4077957Sbenno 41114727Sobrien /*# length of name */ 4277957Sbenno .long 8 4377957Sbenno 44114727Sobrien /*# note descriptor size */ 4577957Sbenno .long 20 4677957Sbenno 47114727Sobrien /*# note type (IEEE 1275) */ 4877957Sbenno .long 0x1275 4977957Sbenno 50114727Sobrien /*# name of owner */ 5177957Sbenno .asciz "PowerPC" 5277957Sbenno .balign 4 5377957Sbenno 5477957Sbenno 55114727Sobrien /*# note descriptor */ 5677957Sbenno 57114727Sobrien /*# real mode (-1) or virtual mode (0) */ 5877957Sbenno .long 0 5977957Sbenno 60114727Sobrien /*# real-base */ 6177957Sbenno .long -1 62114727Sobrien /*# real-size */ 6377957Sbenno .long -1 6477957Sbenno 65114727Sobrien /*# virt-base */ 6677957Sbenno .long -1 67114727Sobrien /*# virt-size */ 6877957Sbenno .long -1 69