1218887Sdim/* $FreeBSD: releng/10.2/sys/powerpc/ofw/ofwmagic.S 222613 2011-06-02 14:12:37Z nwhitehorn $ */ 2218887Sdim/* $NetBSD: ofwmagic.S,v 1.2 1997/10/09 08:38:18 jtc Exp $ */ 3218887Sdim 4218887Sdim/*- 5218887Sdim * Copyright (c) 1997 The NetBSD Foundation, Inc. 6218887Sdim * All rights reserved. 7218887Sdim * 8218887Sdim * This code is derived from software contributed to The NetBSD Foundation 9218887Sdim * by Jason R. Thorpe. 10218887Sdim * 11218887Sdim * Redistribution and use in source and binary forms, with or without 12218887Sdim * modification, are permitted provided that the following conditions 13218887Sdim * are met: 14218887Sdim * 1. Redistributions of source code must retain the above copyright 15218887Sdim * notice, this list of conditions and the following disclaimer. 16219077Sdim * 2. Redistributions in binary form must reproduce the above copyright 17218887Sdim * notice, this list of conditions and the following disclaimer in the 18219077Sdim * documentation and/or other materials provided with the distribution. 19218887Sdim * 20219077Sdim * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 21218887Sdim * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 22218887Sdim * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 23218887Sdim * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 24218887Sdim * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25218887Sdim * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26218887Sdim * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27218887Sdim * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28218887Sdim * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29218887Sdim * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30219077Sdim * POSSIBILITY OF SUCH DAMAGE. 31218887Sdim */ 32218887Sdim 33218887Sdim/* 34218887Sdim * Magic note section used by Open Firmware. 35218887Sdim */ 36218887Sdim 37218887Sdim .section ".note" 38219077Sdim 39218887Sdim /*# note header */ 40218887Sdim 41219077Sdim /*# length of name */ 42218887Sdim .long 8 43218887Sdim 44218887Sdim /*# note descriptor size */ 45219077Sdim .long 20 46219077Sdim 47219077Sdim /*# note type (IEEE 1275) */ 48219077Sdim .long 0x1275 49218887Sdim 50219077Sdim /*# name of owner */ 51218887Sdim .asciz "PowerPC" 52218887Sdim .balign 4 53218887Sdim 54218887Sdim 55218887Sdim /*# note descriptor */ 56218887Sdim 57218887Sdim /*# real mode (-1) or virtual mode (0) */ 58218887Sdim .long 0 59218887Sdim 60218887Sdim /*# real-base */ 61218887Sdim .long -1 62218887Sdim /*# real-size */ 63218887Sdim .long -1 64218887Sdim 65218887Sdim /*# virt-base */ 66218887Sdim .long -1 67218887Sdim /*# virt-size */ 68219077Sdim .long -1 69218887Sdim