15648Ssetje\ 25648Ssetje\ CDDL HEADER START 35648Ssetje\ 45648Ssetje\ The contents of this file are subject to the terms of the 55648Ssetje\ Common Development and Distribution License (the "License"). 65648Ssetje\ You may not use this file except in compliance with the License. 75648Ssetje\ 85648Ssetje\ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 95648Ssetje\ or http://www.opensolaris.org/os/licensing. 105648Ssetje\ See the License for the specific language governing permissions 115648Ssetje\ and limitations under the License. 125648Ssetje\ 135648Ssetje\ When distributing Covered Code, include this CDDL HEADER in each 145648Ssetje\ file and include the License file at usr/src/OPENSOLARIS.LICENSE. 155648Ssetje\ If applicable, add the following below this CDDL HEADER, with the 165648Ssetje\ fields enclosed by brackets "[]" replaced with your own identifying 175648Ssetje\ information: Portions Copyright [yyyy] [name of copyright owner] 185648Ssetje\ 195648Ssetje\ CDDL HEADER END 205648Ssetje\ 21*9941SJohn.Johnson@Sun.COM\ 22*9941SJohn.Johnson@Sun.COM\ Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23*9941SJohn.Johnson@Sun.COM\ Use is subject to license terms. 24*9941SJohn.Johnson@Sun.COM\ 255648Ssetje 265648Ssetje 275648Ssetjepurpose: ZFS bootblock 28*9941SJohn.Johnson@Sun.COMcopyright: Copyright 2009 Sun Microsystems, Inc. All Rights Reserved 295648Ssetje 306423Sgw25295\ big bootblk 316423Sgw25295create bigbootblk 326423Sgw25295d# 8192 constant /fs-fcode 337050Sgw25295 347050Sgw25295\ Set the offset to the correct zfs boot block area. This area is at offset 512K 357050Sgw25295d# 512 d# 1024 * constant fs-offset 366423Sgw25295 375648Ssetje\ for [ifdef] zfs 385648Ssetjecreate zfs 395648Ssetje 405648Ssetje: fs-pkg$ " zfs-file-system" ; 415648Ssetje: fs-type$ " zfs" ; 425648Ssetje 435648Ssetje\ load common words 445648Ssetjefload ../../../common/util.fth 455648Ssetje 465648Ssetje\ load booter 475648Ssetjefload ../../../common/boot.fth 48