xref: /titanic_52/usr/src/psm/stand/bootblks/zfs/common/boot-zfs.fth (revision c1ecd8b9404ee0d96d93f02e82c441b9bb149a3d)
1
2
3\ ident	"%Z%%M%	%I%	%E% SMI"
4\ Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
5\ Use is subject to license terms.
6\
7\ CDDL HEADER START
8\
9\ The contents of this file are subject to the terms of the
10\ Common Development and Distribution License (the "License").
11\ You may not use this file except in compliance with the License.
12\
13\ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14\ or http://www.opensolaris.org/os/licensing.
15\ See the License for the specific language governing permissions
16\ and limitations under the License.
17\
18\ When distributing Covered Code, include this CDDL HEADER in each
19\ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20\ If applicable, add the following below this CDDL HEADER, with the
21\ fields enclosed by brackets "[]" replaced with your own identifying
22\ information: Portions Copyright [yyyy] [name of copyright owner]
23\
24\ CDDL HEADER END
25\
26
27
28id: %Z%%M%	%I%	%E% SMI
29purpose: ZFS bootblock
30copyright: Copyright 2006 Sun Microsystems, Inc. All Rights Reserved
31
32\ big bootblk
33create doheaders
34create bigbootblk
35d# 8192  constant  /fs-fcode
36
37\ Set the offset to the correct zfs boot block area. This area is at offset 512K
38d# 512 d# 1024 * constant  fs-offset
39
40\ for [ifdef] zfs
41create zfs
42
43: fs-pkg$   " zfs-file-system"  ;
44: fs-type$  " zfs"  ;
45
46\ load common words
47fload ../../../common/util.fth
48
49\ load booter
50fload ../../../common/boot.fth
51