xref: /illumos-gate/usr/src/boot/Readme.txt (revision 22028508)
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 2022 Toomas Soome <tsoome@me.com>
14#
15
16This is source tree snapshot of loader and related parts from
17freebsd source.
18
19Directory tree layout:
20
21usr/src/boot is the root directory of the imported snapshot,
22containing Makefile and licence notes for build and packaging.
23
24Directories from freebsd userland (freebsd /usr/src tree):
25include
26
27Directories from freebsd kernel tree are located in sys subdirectory
28(freebsd /usr/src/sys tree):
29
30platform specific include files:
31
32sys/amd64
33sys/i386
34sys/x86
35
36sys and ufs include files:
37sys/sys
38sys/ufs
39
40zfs boot module import in freebsd:
41sys/cddl
42
43Note, some of the directories are not 1:1 mapping in this source import,
44because of differences of build systems used in illumos and freebsd.
45Also some differences are due to fact, we do not need all the variants of
46stage1/stage2 boot blocks which are built in freebsd due to the historical
47or technical reasons.
48
49Feb, 2022
50