xref: /illumos-gate/usr/src/grub/grub-0.97/stage2/nbi.h (revision 1b8adde7)
17c478bd9Sstevel@tonic-gate /* nbi.h - definitions for Net Boot Image */
27c478bd9Sstevel@tonic-gate /*
37c478bd9Sstevel@tonic-gate  *  GRUB  --  GRand Unified Bootloader
47c478bd9Sstevel@tonic-gate  *  Copyright (C) 2000  Free Software Foundation, Inc.
57c478bd9Sstevel@tonic-gate  *
67c478bd9Sstevel@tonic-gate  *  This program is free software; you can redistribute it and/or modify
77c478bd9Sstevel@tonic-gate  *  it under the terms of the GNU General Public License as published by
87c478bd9Sstevel@tonic-gate  *  the Free Software Foundation; either version 2 of the License, or
97c478bd9Sstevel@tonic-gate  *  (at your option) any later version.
107c478bd9Sstevel@tonic-gate  *
117c478bd9Sstevel@tonic-gate  *  This program is distributed in the hope that it will be useful,
127c478bd9Sstevel@tonic-gate  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
137c478bd9Sstevel@tonic-gate  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
147c478bd9Sstevel@tonic-gate  *  GNU General Public License for more details.
157c478bd9Sstevel@tonic-gate  *
167c478bd9Sstevel@tonic-gate  *  You should have received a copy of the GNU General Public License
177c478bd9Sstevel@tonic-gate  *  along with this program; if not, write to the Free Software
187c478bd9Sstevel@tonic-gate  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
197c478bd9Sstevel@tonic-gate  */
207c478bd9Sstevel@tonic-gate 
217c478bd9Sstevel@tonic-gate #ifndef GRUB_NBI_HEADER
227c478bd9Sstevel@tonic-gate #define GRUB_NBI_HEADER
237c478bd9Sstevel@tonic-gate 
247c478bd9Sstevel@tonic-gate #define NBI_MAGIC		0x1B031336
257c478bd9Sstevel@tonic-gate #define NBI_DEST_ADDR		0x10000
267c478bd9Sstevel@tonic-gate #define NBI_DEST_SEG		0x1000
277c478bd9Sstevel@tonic-gate #define NBI_DEST_OFF		0x0000
287c478bd9Sstevel@tonic-gate #define RELOCATED_ADDR		0x8000
297c478bd9Sstevel@tonic-gate #define RELOCATED_SEG		0x0800
307c478bd9Sstevel@tonic-gate #define RELOCATED_OFF		0x0000
317c478bd9Sstevel@tonic-gate #define STAGE2_START_ADDR	0x8200
327c478bd9Sstevel@tonic-gate 
337c478bd9Sstevel@tonic-gate #endif /* ! GRUB_NBI_HEADER */
34