xref: /illumos-gate/usr/src/boot/Readme.txt (revision 8533946bd264dca901fdf56bf3da1d81e728b423)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2016 Toomas Soome <tsoome@me.com>
14#
15# Please update the svn revision number on source refresh.
16
17Current snapshot from freebsd revision 296191.
18
19This is source tree snapshot of loader and related parts from
20freebsd source.
21
22Directory tree layout:
23
24usr/src/boot is the root directory of the imported snapshot,
25containing Makefile and licence notes for build and packaging.
26
27Directories from freebsd userland (freebsd /usr/src tree):
28include
29lib
30
31Directories from freebsd kernel tree, including boot loader itself
32are located in sys subdirectory (freebsd /usr/src/sys tree):
33
34platform specific include files:
35
36sys/amd64
37sys/i386
38sys/x86
39
40sys and ufs include files:
41sys/sys
42sys/ufs
43
44zfs boot module import in freebsd:
45sys/cddl
46
47boot loader sources are in:
48sys/boot
49
50Note, some of the directories are not 1:1 mapping in this source import,
51because of differences of build systems used in illumos and freebsd.
52Also some differences are due to fact, we do not need all the variants of
53stage1/stage2 boot blocks which are built in freebsd due to the historical
54or technical reasons.
55
56Mar, 2016
57