diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8d1c8b69c3fce7bea45c73efd06983e3c419a92f..b49eba66b6924c954a5e98e6859c9661ee64a2f4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1 +1,3 @@
-
+project(fenriros)
+cmake_minimum_required(VERSION 3.16)
+add_subdirectory(kernel)
diff --git a/kernel/CMakeLists.txt b/kernel/CMakeLists.txt
index 8d1c8b69c3fce7bea45c73efd06983e3c419a92f..04e1adbb2200ed510c9f4a2665a002ab9054c67c 100644
--- a/kernel/CMakeLists.txt
+++ b/kernel/CMakeLists.txt
@@ -1 +1,2 @@
-
+project(feos-kernel)
+add_subdirectory(src)
diff --git a/kernel/src/CMakeLists.txt b/kernel/src/CMakeLists.txt
index 8d1c8b69c3fce7bea45c73efd06983e3c419a92f..fac840f4c5edd8495224c5ac0404ea39df19abed 100644
--- a/kernel/src/CMakeLists.txt
+++ b/kernel/src/CMakeLists.txt
@@ -1 +1 @@
-
+add_subdirectory(arch)
diff --git a/kernel/src/api/cgroup.cpp b/kernel/src/api/cgroup.cpp
deleted file mode 100644
index 8d1c8b69c3fce7bea45c73efd06983e3c419a92f..0000000000000000000000000000000000000000
--- a/kernel/src/api/cgroup.cpp
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/kernel/src/api/cgroup.h b/kernel/src/api/cgroup.h
deleted file mode 100644
index 8d1c8b69c3fce7bea45c73efd06983e3c419a92f..0000000000000000000000000000000000000000
--- a/kernel/src/api/cgroup.h
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/kernel/src/arch/arch.cpp b/kernel/src/arch/arch.cpp
index 8d1c8b69c3fce7bea45c73efd06983e3c419a92f..fcef33e75281f4fb633187713b3610b03d1199b6 100644
--- a/kernel/src/arch/arch.cpp
+++ b/kernel/src/arch/arch.cpp
@@ -1 +1,6 @@
-
+namespace fenriros {
+ class Arch {
+ Arch();
+ ~Arch();
+ }
+}
diff --git a/thirdparty/grub-2.04/ABOUT-NLS b/thirdparty/grub-2.04/ABOUT-NLS
deleted file mode 100644
index b1de1b6832d00f7caadcdef7804ab001d945574b..0000000000000000000000000000000000000000
--- a/thirdparty/grub-2.04/ABOUT-NLS
+++ /dev/null
@@ -1,1282 +0,0 @@
-1 Notes on the Free Translation Project
-***************************************
-
-Free software is going international! The Free Translation Project is
-a way to get maintainers of free software, translators, and users all
-together, so that free software will gradually become able to speak many
-languages. A few packages already provide translations for their
-messages.
-
- If you found this `ABOUT-NLS' file inside a distribution, you may
-assume that the distributed package does use GNU `gettext' internally,
-itself available at your nearest GNU archive site. But you do _not_
-need to install GNU `gettext' prior to configuring, installing or using
-this package with messages translated.
-
- Installers will find here some useful hints. These notes also
-explain how users should proceed for getting the programs to use the
-available translations. They tell how people wanting to contribute and
-work on translations can contact the appropriate team.
-
-1.1 INSTALL Matters
-===================
-
-Some packages are "localizable" when properly installed; the programs
-they contain can be made to speak your own native language. Most such
-packages use GNU `gettext'. Other packages have their own ways to
-internationalization, predating GNU `gettext'.
-
- By default, this package will be installed to allow translation of
-messages. It will automatically detect whether the system already
-provides the GNU `gettext' functions. Installers may use special
-options at configuration time for changing the default behaviour. The
-command:
-
- ./configure --disable-nls
-
-will _totally_ disable translation of messages.
-
- When you already have GNU `gettext' installed on your system and run
-configure without an option for your new package, `configure' will
-probably detect the previously built and installed `libintl' library
-and will decide to use it. If not, you may have to to use the
-`--with-libintl-prefix' option to tell `configure' where to look for it.
-
- Internationalized packages usually have many `po/LL.po' files, where
-LL gives an ISO 639 two-letter code identifying the language. Unless
-translations have been forbidden at `configure' time by using the
-`--disable-nls' switch, all available translations are installed
-together with the package. However, the environment variable `LINGUAS'
-may be set, prior to configuration, to limit the installed set.
-`LINGUAS' should then contain a space separated list of two-letter
-codes, stating which languages are allowed.
-
-1.2 Using This Package
-======================
-
-As a user, if your language has been installed for this package, you
-only have to set the `LANG' environment variable to the appropriate
-`LL_CC' combination. If you happen to have the `LC_ALL' or some other
-`LC_xxx' environment variables set, you should unset them before
-setting `LANG', otherwise the setting of `LANG' will not have the
-desired effect. Here `LL' is an ISO 639 two-letter language code, and
-`CC' is an ISO 3166 two-letter country code. For example, let's
-suppose that you speak German and live in Germany. At the shell
-prompt, merely execute `setenv LANG de_DE' (in `csh'),
-`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash').
-This can be done from your `.login' or `.profile' file, once and for
-all.
-
- You might think that the country code specification is redundant.
-But in fact, some languages have dialects in different countries. For
-example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The
-country code serves to distinguish the dialects.
-
- The locale naming convention of `LL_CC', with `LL' denoting the
-language and `CC' denoting the country, is the one use on systems based
-on GNU libc. On other systems, some variations of this scheme are
-used, such as `LL' or `LL_CC.ENCODING'. You can get the list of
-locales supported by your system for your language by running the
-command `locale -a | grep '^LL''.
-
- Not all programs have translations for all languages. By default, an
-English message is shown in place of a nonexistent translation. If you
-understand other languages, you can set up a priority list of languages.
-This is done through a different environment variable, called
-`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG'
-for the purpose of message handling, but you still need to have `LANG'
-set to the primary language; this is required by other parts of the
-system libraries. For example, some Swedish users who would rather
-read translations in German than English for when Swedish is not
-available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'.
-
- Special advice for Norwegian users: The language code for Norwegian
-bokma*l changed from `no' to `nb' recently (in 2003). During the
-transition period, while some message catalogs for this language are
-installed under `nb' and some older ones under `no', it's recommended
-for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and
-older translations are used.
-
- In the `LANGUAGE' environment variable, but not in the `LANG'
-environment variable, `LL_CC' combinations can be abbreviated as `LL'
-to denote the language's main dialect. For example, `de' is equivalent
-to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT'
-(Portuguese as spoken in Portugal) in this context.
-
-1.3 Translating Teams
-=====================
-
-For the Free Translation Project to be a success, we need interested
-people who like their own language and write it well, and who are also
-able to synergize with other translators speaking the same language.
-Each translation team has its own mailing list. The up-to-date list of
-teams can be found at the Free Translation Project's homepage,
-`http://translationproject.org/', in the "Teams" area.
-
- If you'd like to volunteer to _work_ at translating messages, you
-should become a member of the translating team for your own language.
-The subscribing address is _not_ the same as the list itself, it has
-`-request' appended. For example, speakers of Swedish can send a
-message to `sv-request@li.org', having this message body:
-
- subscribe
-
- Keep in mind that team members are expected to participate
-_actively_ in translations, or at solving translational difficulties,
-rather than merely lurking around. If your team does not exist yet and
-you want to start one, or if you are unsure about what to do or how to
-get started, please write to `coordinator@translationproject.org' to
-reach the coordinator for all translator teams.
-
- The English team is special. It works at improving and uniformizing
-the terminology in use. Proven linguistic skills are praised more than
-programming skills, here.
-
-1.4 Available Packages
-======================
-
-Languages are not equally supported in all packages. The following
-matrix shows the current state of internationalization, as of June
-2010. The matrix shows, in regard of each package, for which languages
-PO files have been submitted to translation coordination, with a
-translation percentage of at least 50%.
-
- Ready PO files af am an ar as ast az be be@latin bg bn_IN bs ca
- +--------------------------------------------------+
- a2ps | [] [] |
- aegis | |
- ant-phone | |
- anubis | |
- aspell | [] [] |
- bash | |
- bfd | |
- bibshelf | [] |
- binutils | |
- bison | |
- bison-runtime | [] |
- bluez-pin | [] [] |
- bombono-dvd | |
- buzztard | |
- cflow | |
- clisp | |
- coreutils | [] [] |
- cpio | |
- cppi | |
- cpplib | [] |
- cryptsetup | |
- dfarc | |
- dialog | [] [] |
- dico | |
- diffutils | [] |
- dink | |
- doodle | |
- e2fsprogs | [] |
- enscript | [] |
- exif | |
- fetchmail | [] |
- findutils | [] |
- flex | [] |
- freedink | |
- gas | |
- gawk | [] [] |
- gcal | [] |
- gcc | |
- gettext-examples | [] [] [] [] |
- gettext-runtime | [] [] |
- gettext-tools | [] [] |
- gip | [] |
- gjay | |
- gliv | [] |
- glunarclock | [] [] |
- gnubiff | |
- gnucash | [] |
- gnuedu | |
- gnulib | |
- gnunet | |
- gnunet-gtk | |
- gnutls | |
- gold | |
- gpe-aerial | |
- gpe-beam | |
- gpe-bluetooth | |
- gpe-calendar | |
- gpe-clock | [] |
- gpe-conf | |
- gpe-contacts | |
- gpe-edit | |
- gpe-filemanager | |
- gpe-go | |
- gpe-login | |
- gpe-ownerinfo | [] |
- gpe-package | |
- gpe-sketchbook | |
- gpe-su | [] |
- gpe-taskmanager | [] |
- gpe-timesheet | [] |
- gpe-today | [] |
- gpe-todo | |
- gphoto2 | |
- gprof | [] |
- gpsdrive | |
- gramadoir | |
- grep | |
- grub | [] [] |
- gsasl | |
- gss | |
- gst-plugins-bad | [] |
- gst-plugins-base | [] |
- gst-plugins-good | [] |
- gst-plugins-ugly | [] |
- gstreamer | [] [] [] |
- gtick | |
- gtkam | [] |
- gtkorphan | [] |
- gtkspell | [] [] [] |
- gutenprint | |
- hello | [] |
- help2man | |
- hylafax | |
- idutils | |
- indent | [] [] |
- iso_15924 | |
- iso_3166 | [] [] [] [] [] [] [] |
- iso_3166_2 | |
- iso_4217 | |
- iso_639 | [] [] [] [] |
- iso_639_3 | |
- jwhois | |
- kbd | |
- keytouch | [] |
- keytouch-editor | |
- keytouch-keyboa... | [] |
- klavaro | [] |
- latrine | |
- ld | [] |
- leafpad | [] [] |
- libc | [] [] |
- libexif | () |
- libextractor | |
- libgnutls | |
- libgpewidget | |
- libgpg-error | |
- libgphoto2 | |
- libgphoto2_port | |
- libgsasl | |
- libiconv | [] |
- libidn | |
- lifelines | |
- liferea | [] [] |
- lilypond | |
- linkdr | [] |
- lordsawar | |
- lprng | |
- lynx | [] |
- m4 | |
- mailfromd | |
- mailutils | |
- make | |
- man-db | |
- man-db-manpages | |
- minicom | |
- mkisofs | |
- myserver | |
- nano | [] [] |
- opcodes | |
- parted | |
- pies | |
- popt | |
- psmisc | |
- pspp | [] |
- pwdutils | |
- radius | [] |
- recode | [] [] |
- rosegarden | |
- rpm | |
- rush | |
- sarg | |
- screem | |
- scrollkeeper | [] [] [] |
- sed | [] [] |
- sharutils | [] [] |
- shishi | |
- skencil | |
- solfege | |
- solfege-manual | |
- soundtracker | |
- sp | |
- sysstat | |
- tar | [] |
- texinfo | |
- tin | |
- unicode-han-tra... | |
- unicode-transla... | |
- util-linux-ng | [] |
- vice | |
- vmm | |
- vorbis-tools | |
- wastesedge | |
- wdiff | |
- wget | [] [] |
- wyslij-po | |
- xchat | [] [] [] [] |
- xdg-user-dirs | [] [] [] [] [] [] [] [] [] |
- xkeyboard-config | [] [] |
- +--------------------------------------------------+
- af am an ar as ast az be be@latin bg bn_IN bs ca
- 6 0 1 2 3 19 1 10 3 28 3 1 38
-
- crh cs da de el en en_GB en_ZA eo es et eu fa
- +-------------------------------------------------+
- a2ps | [] [] [] [] [] [] [] |
- aegis | [] [] [] |
- ant-phone | [] () |
- anubis | [] [] |
- aspell | [] [] [] [] [] |
- bash | [] [] [] |
- bfd | [] |
- bibshelf | [] [] [] |
- binutils | [] |
- bison | [] [] |
- bison-runtime | [] [] [] [] |
- bluez-pin | [] [] [] [] [] [] |
- bombono-dvd | [] |
- buzztard | [] [] [] |
- cflow | [] [] |
- clisp | [] [] [] [] |
- coreutils | [] [] [] [] |
- cpio | |
- cppi | |
- cpplib | [] [] [] |
- cryptsetup | [] |
- dfarc | [] [] [] |
- dialog | [] [] [] [] [] |
- dico | |
- diffutils | [] [] [] [] [] [] |
- dink | [] [] [] |
- doodle | [] |
- e2fsprogs | [] [] [] |
- enscript | [] [] [] |
- exif | () [] [] |
- fetchmail | [] [] () [] [] [] |
- findutils | [] [] [] |
- flex | [] [] |
- freedink | [] [] [] |
- gas | [] |
- gawk | [] [] [] |
- gcal | [] |
- gcc | [] [] |
- gettext-examples | [] [] [] [] |
- gettext-runtime | [] [] [] [] |
- gettext-tools | [] [] [] |
- gip | [] [] [] [] |
- gjay | [] |
- gliv | [] [] [] |
- glunarclock | [] [] |
- gnubiff | () |
- gnucash | [] () () () () |
- gnuedu | [] [] |
- gnulib | [] [] |
- gnunet | |
- gnunet-gtk | [] |
- gnutls | [] [] |
- gold | [] |
- gpe-aerial | [] [] [] [] |
- gpe-beam | [] [] [] [] |
- gpe-bluetooth | [] [] |
- gpe-calendar | [] |
- gpe-clock | [] [] [] [] |
- gpe-conf | [] [] [] |
- gpe-contacts | [] [] [] |
- gpe-edit | [] [] |
- gpe-filemanager | [] [] [] |
- gpe-go | [] [] [] [] |
- gpe-login | [] [] |
- gpe-ownerinfo | [] [] [] [] |
- gpe-package | [] [] [] |
- gpe-sketchbook | [] [] [] [] |
- gpe-su | [] [] [] [] |
- gpe-taskmanager | [] [] [] [] |
- gpe-timesheet | [] [] [] [] |
- gpe-today | [] [] [] [] |
- gpe-todo | [] [] [] |
- gphoto2 | [] [] () [] [] [] |
- gprof | [] [] [] |
- gpsdrive | [] [] [] |
- gramadoir | [] [] [] |
- grep | [] |
- grub | [] [] |
- gsasl | [] |
- gss | |
- gst-plugins-bad | [] [] [] [] [] |
- gst-plugins-base | [] [] [] [] [] |
- gst-plugins-good | [] [] [] [] [] [] |
- gst-plugins-ugly | [] [] [] [] [] [] |
- gstreamer | [] [] [] [] [] |
- gtick | [] () [] |
- gtkam | [] [] () [] [] |
- gtkorphan | [] [] [] [] |
- gtkspell | [] [] [] [] [] [] [] |
- gutenprint | [] [] [] |
- hello | [] [] [] [] |
- help2man | [] |
- hylafax | [] [] |
- idutils | [] [] |
- indent | [] [] [] [] [] [] [] |
- iso_15924 | [] () [] [] |
- iso_3166 | [] [] [] [] () [] [] [] () |
- iso_3166_2 | () |
- iso_4217 | [] [] [] () [] [] |
- iso_639 | [] [] [] [] () [] [] |
- iso_639_3 | [] |
- jwhois | [] |
- kbd | [] [] [] [] [] |
- keytouch | [] [] |
- keytouch-editor | [] [] |
- keytouch-keyboa... | [] |
- klavaro | [] [] [] [] |
- latrine | [] () |
- ld | [] [] |
- leafpad | [] [] [] [] [] [] |
- libc | [] [] [] [] |
- libexif | [] [] () |
- libextractor | |
- libgnutls | [] |
- libgpewidget | [] [] |
- libgpg-error | [] [] |
- libgphoto2 | [] () |
- libgphoto2_port | [] () [] |
- libgsasl | |
- libiconv | [] [] [] [] [] |
- libidn | [] [] [] |
- lifelines | [] () |
- liferea | [] [] [] [] [] |
- lilypond | [] [] [] |
- linkdr | [] [] [] |
- lordsawar | [] |
- lprng | |
- lynx | [] [] [] [] |
- m4 | [] [] [] [] |
- mailfromd | |
- mailutils | [] |
- make | [] [] [] |
- man-db | |
- man-db-manpages | |
- minicom | [] [] [] [] |
- mkisofs | |
- myserver | |
- nano | [] [] [] |
- opcodes | [] [] |
- parted | [] [] |
- pies | |
- popt | [] [] [] [] [] |
- psmisc | [] [] [] |
- pspp | [] |
- pwdutils | [] |
- radius | [] |
- recode | [] [] [] [] [] [] |
- rosegarden | () () () |
- rpm | [] [] [] |
- rush | |
- sarg | |
- screem | |
- scrollkeeper | [] [] [] [] [] |
- sed | [] [] [] [] [] [] |
- sharutils | [] [] [] [] |
- shishi | |
- skencil | [] () [] |
- solfege | [] [] [] |
- solfege-manual | [] [] |
- soundtracker | [] [] [] |
- sp | [] |
- sysstat | [] [] [] |
- tar | [] [] [] [] |
- texinfo | [] [] [] |
- tin | [] [] |
- unicode-han-tra... | |
- unicode-transla... | |
- util-linux-ng | [] [] [] [] |
- vice | () () |
- vmm | [] |
- vorbis-tools | [] [] |
- wastesedge | [] |
- wdiff | [] [] |
- wget | [] [] [] |
- wyslij-po | |
- xchat | [] [] [] [] [] |
- xdg-user-dirs | [] [] [] [] [] [] [] [] [] |
- xkeyboard-config | [] [] [] [] [] [] |
- +-------------------------------------------------+
- crh cs da de el en en_GB en_ZA eo es et eu fa
- 5 64 105 117 18 1 8 0 28 89 18 19 0
-
- fi fr ga gl gu he hi hr hu hy id is it ja ka kn
- +----------------------------------------------------+
- a2ps | [] [] [] [] |
- aegis | [] [] |
- ant-phone | [] [] |
- anubis | [] [] [] [] |
- aspell | [] [] [] [] |
- bash | [] [] [] [] |
- bfd | [] [] [] |
- bibshelf | [] [] [] [] [] |
- binutils | [] [] [] |
- bison | [] [] [] [] |
- bison-runtime | [] [] [] [] [] [] |
- bluez-pin | [] [] [] [] [] [] [] [] |
- bombono-dvd | [] |
- buzztard | [] |
- cflow | [] [] [] |
- clisp | [] |
- coreutils | [] [] [] [] [] |
- cpio | [] [] [] [] |
- cppi | [] [] |
- cpplib | [] [] [] |
- cryptsetup | [] [] [] |
- dfarc | [] [] [] |
- dialog | [] [] [] [] [] [] [] |
- dico | |
- diffutils | [] [] [] [] [] [] [] [] [] |
- dink | [] |
- doodle | [] [] |
- e2fsprogs | [] [] |
- enscript | [] [] [] [] |
- exif | [] [] [] [] [] [] |
- fetchmail | [] [] [] [] |
- findutils | [] [] [] [] [] [] |
- flex | [] [] [] |
- freedink | [] [] [] |
- gas | [] [] |
- gawk | [] [] [] [] () [] |
- gcal | [] |
- gcc | [] |
- gettext-examples | [] [] [] [] [] [] [] |
- gettext-runtime | [] [] [] [] [] [] |
- gettext-tools | [] [] [] [] |
- gip | [] [] [] [] [] [] |
- gjay | [] |
- gliv | [] () |
- glunarclock | [] [] [] [] |
- gnubiff | () [] () |
- gnucash | () () () () () [] |
- gnuedu | [] [] |
- gnulib | [] [] [] [] [] [] |
- gnunet | |
- gnunet-gtk | [] |
- gnutls | [] [] |
- gold | [] [] |
- gpe-aerial | [] [] [] |
- gpe-beam | [] [] [] [] |
- gpe-bluetooth | [] [] [] [] |
- gpe-calendar | [] [] |
- gpe-clock | [] [] [] [] [] |
- gpe-conf | [] [] [] [] |
- gpe-contacts | [] [] [] [] |
- gpe-edit | [] [] [] |
- gpe-filemanager | [] [] [] [] |
- gpe-go | [] [] [] [] [] |
- gpe-login | [] [] [] |
- gpe-ownerinfo | [] [] [] [] [] |
- gpe-package | [] [] [] |
- gpe-sketchbook | [] [] [] [] |
- gpe-su | [] [] [] [] [] [] |
- gpe-taskmanager | [] [] [] [] [] |
- gpe-timesheet | [] [] [] [] [] |
- gpe-today | [] [] [] [] [] [] [] |
- gpe-todo | [] [] [] |
- gphoto2 | [] [] [] [] [] [] |
- gprof | [] [] [] [] |
- gpsdrive | [] [] [] |
- gramadoir | [] [] [] |
- grep | [] [] |
- grub | [] [] [] [] |
- gsasl | [] [] [] [] [] |
- gss | [] [] [] [] [] |
- gst-plugins-bad | [] [] [] [] [] [] |
- gst-plugins-base | [] [] [] [] [] [] |
- gst-plugins-good | [] [] [] [] [] [] |
- gst-plugins-ugly | [] [] [] [] [] [] |
- gstreamer | [] [] [] [] [] |
- gtick | [] [] [] [] [] |
- gtkam | [] [] [] [] [] |
- gtkorphan | [] [] [] |
- gtkspell | [] [] [] [] [] [] [] [] [] |
- gutenprint | [] [] [] [] |
- hello | [] [] [] |
- help2man | [] [] |
- hylafax | [] |
- idutils | [] [] [] [] [] [] |
- indent | [] [] [] [] [] [] [] [] |
- iso_15924 | [] () [] [] |
- iso_3166 | [] () [] [] [] [] [] [] [] [] [] [] |
- iso_3166_2 | () [] [] [] |
- iso_4217 | [] () [] [] [] [] |
- iso_639 | [] () [] [] [] [] [] [] [] |
- iso_639_3 | () [] [] |
- jwhois | [] [] [] [] [] |
- kbd | [] [] |
- keytouch | [] [] [] [] [] [] |
- keytouch-editor | [] [] [] [] [] |
- keytouch-keyboa... | [] [] [] [] [] |
- klavaro | [] [] |
- latrine | [] [] [] |
- ld | [] [] [] [] |
- leafpad | [] [] [] [] [] [] [] () |
- libc | [] [] [] [] [] |
- libexif | [] |
- libextractor | |
- libgnutls | [] [] |
- libgpewidget | [] [] [] [] |
- libgpg-error | [] [] |
- libgphoto2 | [] [] [] |
- libgphoto2_port | [] [] [] |
- libgsasl | [] [] [] [] [] |
- libiconv | [] [] [] [] [] [] |
- libidn | [] [] [] [] |
- lifelines | () |
- liferea | [] [] [] [] |
- lilypond | [] [] |
- linkdr | [] [] [] [] [] |
- lordsawar | |
- lprng | [] |
- lynx | [] [] [] [] [] |
- m4 | [] [] [] [] [] [] |
- mailfromd | |
- mailutils | [] [] |
- make | [] [] [] [] [] [] [] [] [] |
- man-db | [] [] |
- man-db-manpages | [] |
- minicom | [] [] [] [] [] |
- mkisofs | [] [] [] [] |
- myserver | |
- nano | [] [] [] [] [] [] |
- opcodes | [] [] [] [] |
- parted | [] [] [] [] |
- pies | |
- popt | [] [] [] [] [] [] [] [] [] |
- psmisc | [] [] [] |
- pspp | |
- pwdutils | [] [] |
- radius | [] [] |
- recode | [] [] [] [] [] [] [] [] |
- rosegarden | () () () () () |
- rpm | [] [] |
- rush | |
- sarg | [] |
- screem | [] [] |
- scrollkeeper | [] [] [] [] |
- sed | [] [] [] [] [] [] [] [] |
- sharutils | [] [] [] [] [] [] [] |
- shishi | [] |
- skencil | [] |
- solfege | [] [] [] [] |
- solfege-manual | [] [] |
- soundtracker | [] [] |
- sp | [] () |
- sysstat | [] [] [] [] [] |
- tar | [] [] [] [] [] [] [] |
- texinfo | [] [] [] [] |
- tin | [] |
- unicode-han-tra... | |
- unicode-transla... | [] [] |
- util-linux-ng | [] [] [] [] [] [] |
- vice | () () () |
- vmm | [] |
- vorbis-tools | [] |
- wastesedge | () () |
- wdiff | [] |
- wget | [] [] [] [] [] [] [] [] |
- wyslij-po | [] [] [] |
- xchat | [] [] [] [] [] [] [] [] [] |
- xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] |
- xkeyboard-config | [] [] [] [] [] |
- +----------------------------------------------------+
- fi fr ga gl gu he hi hr hu hy id is it ja ka kn
- 105 121 53 20 4 8 3 5 53 2 120 5 84 67 0 4
-
- ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne
- +-----------------------------------------------+
- a2ps | [] |
- aegis | |
- ant-phone | |
- anubis | [] [] |
- aspell | [] |
- bash | |
- bfd | |
- bibshelf | [] [] |
- binutils | |
- bison | [] |
- bison-runtime | [] [] [] [] [] |
- bluez-pin | [] [] [] [] [] |
- bombono-dvd | |
- buzztard | |
- cflow | |
- clisp | |
- coreutils | [] |
- cpio | |
- cppi | |
- cpplib | |
- cryptsetup | |
- dfarc | [] |
- dialog | [] [] [] [] [] |
- dico | |
- diffutils | [] [] |
- dink | |
- doodle | |
- e2fsprogs | |
- enscript | |
- exif | [] |
- fetchmail | |
- findutils | |
- flex | |
- freedink | [] |
- gas | |
- gawk | |
- gcal | |
- gcc | |
- gettext-examples | [] [] [] [] |
- gettext-runtime | [] |
- gettext-tools | [] |
- gip | [] [] |
- gjay | |
- gliv | |
- glunarclock | [] |
- gnubiff | |
- gnucash | () () () () |
- gnuedu | |
- gnulib | |
- gnunet | |
- gnunet-gtk | |
- gnutls | [] |
- gold | |
- gpe-aerial | [] |
- gpe-beam | [] |
- gpe-bluetooth | [] [] |
- gpe-calendar | [] |
- gpe-clock | [] [] [] [] [] |
- gpe-conf | [] [] |
- gpe-contacts | [] [] |
- gpe-edit | [] |
- gpe-filemanager | [] [] |
- gpe-go | [] [] [] |
- gpe-login | [] |
- gpe-ownerinfo | [] [] |
- gpe-package | [] [] |
- gpe-sketchbook | [] [] |
- gpe-su | [] [] [] [] [] [] |
- gpe-taskmanager | [] [] [] [] [] [] |
- gpe-timesheet | [] [] |
- gpe-today | [] [] [] [] |
- gpe-todo | [] [] |
- gphoto2 | |
- gprof | [] |
- gpsdrive | |
- gramadoir | |
- grep | |
- grub | |
- gsasl | |
- gss | |
- gst-plugins-bad | [] [] [] [] |
- gst-plugins-base | [] [] |
- gst-plugins-good | [] [] |
- gst-plugins-ugly | [] [] [] [] [] |
- gstreamer | |
- gtick | |
- gtkam | [] |
- gtkorphan | [] [] |
- gtkspell | [] [] [] [] [] [] [] |
- gutenprint | |
- hello | [] [] [] |
- help2man | |
- hylafax | |
- idutils | |
- indent | |
- iso_15924 | [] [] |
- iso_3166 | [] [] () [] [] [] [] [] |
- iso_3166_2 | |
- iso_4217 | [] [] |
- iso_639 | [] [] |
- iso_639_3 | [] |
- jwhois | [] |
- kbd | |
- keytouch | [] |
- keytouch-editor | [] |
- keytouch-keyboa... | [] |
- klavaro | [] |
- latrine | [] |
- ld | |
- leafpad | [] [] [] |
- libc | [] |
- libexif | |
- libextractor | |
- libgnutls | [] |
- libgpewidget | [] [] |
- libgpg-error | |
- libgphoto2 | |
- libgphoto2_port | |
- libgsasl | |
- libiconv | |
- libidn | |
- lifelines | |
- liferea | |
- lilypond | |
- linkdr | |
- lordsawar | |
- lprng | |
- lynx | |
- m4 | |
- mailfromd | |
- mailutils | |
- make | [] |
- man-db | |
- man-db-manpages | |
- minicom | [] |
- mkisofs | |
- myserver | |
- nano | [] [] |
- opcodes | |
- parted | |
- pies | |
- popt | [] [] [] |
- psmisc | |
- pspp | |
- pwdutils | |
- radius | |
- recode | |
- rosegarden | |
- rpm | |
- rush | |
- sarg | |
- screem | |
- scrollkeeper | [] [] |
- sed | |
- sharutils | |
- shishi | |
- skencil | |
- solfege | [] |
- solfege-manual | |
- soundtracker | |
- sp | |
- sysstat | [] |
- tar | [] |
- texinfo | [] |
- tin | |
- unicode-han-tra... | |
- unicode-transla... | |
- util-linux-ng | |
- vice | |
- vmm | |
- vorbis-tools | |
- wastesedge | |
- wdiff | |
- wget | [] |
- wyslij-po | |
- xchat | [] [] [] |
- xdg-user-dirs | [] [] [] [] [] [] [] [] |
- xkeyboard-config | [] [] [] |
- +-----------------------------------------------+
- ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne
- 20 5 10 1 13 48 4 2 2 4 24 10 20 3 1
-
- nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr
- +---------------------------------------------------+
- a2ps | [] [] [] [] [] [] [] [] |
- aegis | [] [] [] |
- ant-phone | [] [] |
- anubis | [] [] [] |
- aspell | [] [] [] [] [] |
- bash | [] [] |
- bfd | [] |
- bibshelf | [] [] |
- binutils | [] [] |
- bison | [] [] [] |
- bison-runtime | [] [] [] [] [] [] [] |
- bluez-pin | [] [] [] [] [] [] [] [] |
- bombono-dvd | [] () |
- buzztard | [] [] |
- cflow | [] |
- clisp | [] [] |
- coreutils | [] [] [] [] [] [] |
- cpio | [] [] [] |
- cppi | [] |
- cpplib | [] |
- cryptsetup | [] |
- dfarc | [] |
- dialog | [] [] [] [] |
- dico | [] |
- diffutils | [] [] [] [] [] [] |
- dink | () |
- doodle | [] [] |
- e2fsprogs | [] [] |
- enscript | [] [] [] [] [] |
- exif | [] [] [] () [] |
- fetchmail | [] [] [] [] |
- findutils | [] [] [] [] [] |
- flex | [] [] [] [] [] |
- freedink | [] [] |
- gas | |
- gawk | [] [] [] [] |
- gcal | |
- gcc | [] |
- gettext-examples | [] [] [] [] [] [] [] [] |
- gettext-runtime | [] [] [] [] [] [] [] [] [] |
- gettext-tools | [] [] [] [] [] [] |
- gip | [] [] [] [] [] |
- gjay | |
- gliv | [] [] [] [] [] [] |
- glunarclock | [] [] [] [] [] |
- gnubiff | [] () |
- gnucash | [] () () () |
- gnuedu | [] |
- gnulib | [] [] [] [] |
- gnunet | |
- gnunet-gtk | |
- gnutls | [] [] |
- gold | |
- gpe-aerial | [] [] [] [] [] [] [] |
- gpe-beam | [] [] [] [] [] [] [] |
- gpe-bluetooth | [] [] |
- gpe-calendar | [] [] [] [] |
- gpe-clock | [] [] [] [] [] [] [] [] |
- gpe-conf | [] [] [] [] [] [] [] |
- gpe-contacts | [] [] [] [] [] |
- gpe-edit | [] [] [] |
- gpe-filemanager | [] [] [] |
- gpe-go | [] [] [] [] [] [] [] [] |
- gpe-login | [] [] |
- gpe-ownerinfo | [] [] [] [] [] [] [] [] |
- gpe-package | [] [] |
- gpe-sketchbook | [] [] [] [] [] [] [] |
- gpe-su | [] [] [] [] [] [] [] [] |
- gpe-taskmanager | [] [] [] [] [] [] [] [] |
- gpe-timesheet | [] [] [] [] [] [] [] [] |
- gpe-today | [] [] [] [] [] [] [] [] |
- gpe-todo | [] [] [] [] [] |
- gphoto2 | [] [] [] [] [] [] [] [] |
- gprof | [] [] [] |
- gpsdrive | [] [] |
- gramadoir | [] [] |
- grep | [] [] [] [] |
- grub | [] [] [] |
- gsasl | [] [] [] [] |
- gss | [] [] [] |
- gst-plugins-bad | [] [] [] [] [] [] |
- gst-plugins-base | [] [] [] [] [] |
- gst-plugins-good | [] [] [] [] [] |
- gst-plugins-ugly | [] [] [] [] [] [] |
- gstreamer | [] [] [] [] [] |
- gtick | [] [] [] |
- gtkam | [] [] [] [] [] [] |
- gtkorphan | [] |
- gtkspell | [] [] [] [] [] [] [] [] [] [] |
- gutenprint | [] [] |
- hello | [] [] [] [] |
- help2man | [] [] |
- hylafax | [] |
- idutils | [] [] [] [] [] |
- indent | [] [] [] [] [] [] [] |
- iso_15924 | [] [] [] [] |
- iso_3166 | [] [] [] [] [] () [] [] [] [] [] [] [] [] |
- iso_3166_2 | [] [] [] |
- iso_4217 | [] [] [] [] [] [] [] [] |
- iso_639 | [] [] [] [] [] [] [] [] [] |
- iso_639_3 | [] [] |
- jwhois | [] [] [] [] |
- kbd | [] [] [] |
- keytouch | [] [] [] |
- keytouch-editor | [] [] [] |
- keytouch-keyboa... | [] [] [] |
- klavaro | [] [] |
- latrine | [] [] |
- ld | |
- leafpad | [] [] [] [] [] [] [] [] [] |
- libc | [] [] [] [] |
- libexif | [] [] () [] |
- libextractor | |
- libgnutls | [] [] |
- libgpewidget | [] [] [] |
- libgpg-error | [] [] |
- libgphoto2 | [] [] |
- libgphoto2_port | [] [] [] [] [] |
- libgsasl | [] [] [] [] [] |
- libiconv | [] [] [] [] [] |
- libidn | [] [] |
- lifelines | [] [] |
- liferea | [] [] [] [] [] () () [] |
- lilypond | [] |
- linkdr | [] [] [] |
- lordsawar | |
- lprng | [] |
- lynx | [] [] [] |
- m4 | [] [] [] [] [] |
- mailfromd | [] |
- mailutils | [] |
- make | [] [] [] [] |
- man-db | [] [] [] |
- man-db-manpages | [] [] [] |
- minicom | [] [] [] [] |
- mkisofs | [] [] [] |
- myserver | |
- nano | [] [] [] [] |
- opcodes | [] [] |
- parted | [] [] [] [] |
- pies | [] |
- popt | [] [] [] [] |
- psmisc | [] [] [] |
- pspp | [] [] |
- pwdutils | [] |
- radius | [] [] [] |
- recode | [] [] [] [] [] [] [] [] |
- rosegarden | () () |
- rpm | [] [] [] |
- rush | [] [] |
- sarg | |
- screem | |
- scrollkeeper | [] [] [] [] [] [] [] [] |
- sed | [] [] [] [] [] [] [] [] [] |
- sharutils | [] [] [] [] |
- shishi | [] |
- skencil | [] [] |
- solfege | [] [] [] [] |
- solfege-manual | [] [] [] |
- soundtracker | [] |
- sp | |
- sysstat | [] [] [] [] |
- tar | [] [] [] [] |
- texinfo | [] [] [] [] |
- tin | [] |
- unicode-han-tra... | |
- unicode-transla... | |
- util-linux-ng | [] [] [] [] [] |
- vice | [] |
- vmm | [] |
- vorbis-tools | [] [] |
- wastesedge | [] |
- wdiff | [] [] |
- wget | [] [] [] [] [] [] [] |
- wyslij-po | [] [] [] |
- xchat | [] [] [] [] [] [] [] [] [] |
- xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] |
- xkeyboard-config | [] [] [] |
- +---------------------------------------------------+
- nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr
- 135 10 4 7 105 1 29 62 47 91 3 54 46 9 37
-
- sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW
- +---------------------------------------------------+
- a2ps | [] [] [] [] [] | 27
- aegis | [] | 9
- ant-phone | [] [] [] [] | 9
- anubis | [] [] [] [] | 15
- aspell | [] [] [] | 20
- bash | [] [] [] | 12
- bfd | [] | 6
- bibshelf | [] [] [] | 16
- binutils | [] [] | 8
- bison | [] [] | 12
- bison-runtime | [] [] [] [] [] [] | 29
- bluez-pin | [] [] [] [] [] [] [] [] | 37
- bombono-dvd | [] | 4
- buzztard | [] | 7
- cflow | [] [] [] | 9
- clisp | | 10
- coreutils | [] [] [] [] | 22
- cpio | [] [] [] [] [] [] | 13
- cppi | [] [] | 5
- cpplib | [] [] [] [] [] [] | 14
- cryptsetup | [] [] | 7
- dfarc | [] | 9
- dialog | [] [] [] [] [] [] [] | 30
- dico | [] | 2
- diffutils | [] [] [] [] [] [] | 30
- dink | | 4
- doodle | [] [] | 7
- e2fsprogs | [] [] [] | 11
- enscript | [] [] [] [] | 17
- exif | [] [] [] | 16
- fetchmail | [] [] [] | 17
- findutils | [] [] [] [] [] | 20
- flex | [] [] [] [] | 15
- freedink | [] | 10
- gas | [] | 4
- gawk | [] [] [] [] | 18
- gcal | [] [] | 5
- gcc | [] [] [] | 7
- gettext-examples | [] [] [] [] [] [] [] | 34
- gettext-runtime | [] [] [] [] [] [] [] | 29
- gettext-tools | [] [] [] [] [] [] | 22
- gip | [] [] [] [] | 22
- gjay | [] | 3
- gliv | [] [] [] | 14
- glunarclock | [] [] [] [] [] | 19
- gnubiff | [] [] | 4
- gnucash | () [] () [] () | 10
- gnuedu | [] [] | 7
- gnulib | [] [] [] [] | 16
- gnunet | [] | 1
- gnunet-gtk | [] [] [] | 5
- gnutls | [] [] [] | 10
- gold | [] | 4
- gpe-aerial | [] [] [] | 18
- gpe-beam | [] [] [] | 19
- gpe-bluetooth | [] [] [] | 13
- gpe-calendar | [] [] [] [] | 12
- gpe-clock | [] [] [] [] [] | 28
- gpe-conf | [] [] [] [] | 20
- gpe-contacts | [] [] [] | 17
- gpe-edit | [] [] [] | 12
- gpe-filemanager | [] [] [] [] | 16
- gpe-go | [] [] [] [] [] | 25
- gpe-login | [] [] [] | 11
- gpe-ownerinfo | [] [] [] [] [] | 25
- gpe-package | [] [] [] | 13
- gpe-sketchbook | [] [] [] | 20
- gpe-su | [] [] [] [] [] | 30
- gpe-taskmanager | [] [] [] [] [] | 29
- gpe-timesheet | [] [] [] [] [] | 25
- gpe-today | [] [] [] [] [] [] | 30
- gpe-todo | [] [] [] [] | 17
- gphoto2 | [] [] [] [] [] | 24
- gprof | [] [] [] | 15
- gpsdrive | [] [] [] | 11
- gramadoir | [] [] [] | 11
- grep | [] [] [] | 10
- grub | [] [] [] | 14
- gsasl | [] [] [] [] | 14
- gss | [] [] [] | 11
- gst-plugins-bad | [] [] [] [] | 26
- gst-plugins-base | [] [] [] [] [] | 24
- gst-plugins-good | [] [] [] [] | 24
- gst-plugins-ugly | [] [] [] [] [] | 29
- gstreamer | [] [] [] [] | 22
- gtick | [] [] [] | 13
- gtkam | [] [] [] | 20
- gtkorphan | [] [] [] | 14
- gtkspell | [] [] [] [] [] [] [] [] [] | 45
- gutenprint | [] | 10
- hello | [] [] [] [] [] [] | 21
- help2man | [] [] | 7
- hylafax | [] | 5
- idutils | [] [] [] [] | 17
- indent | [] [] [] [] [] [] | 30
- iso_15924 | () [] () [] [] | 16
- iso_3166 | [] [] () [] [] () [] [] [] () | 53
- iso_3166_2 | () [] () [] | 9
- iso_4217 | [] () [] [] () [] [] | 26
- iso_639 | [] [] [] () [] () [] [] [] [] | 38
- iso_639_3 | [] () | 8
- jwhois | [] [] [] [] [] | 16
- kbd | [] [] [] [] [] | 15
- keytouch | [] [] [] | 16
- keytouch-editor | [] [] [] | 14
- keytouch-keyboa... | [] [] [] | 14
- klavaro | [] | 11
- latrine | [] [] [] | 10
- ld | [] [] [] [] | 11
- leafpad | [] [] [] [] [] [] | 33
- libc | [] [] [] [] [] | 21
- libexif | [] () | 7
- libextractor | [] | 1
- libgnutls | [] [] [] | 9
- libgpewidget | [] [] [] | 14
- libgpg-error | [] [] [] | 9
- libgphoto2 | [] [] | 8
- libgphoto2_port | [] [] [] [] | 14
- libgsasl | [] [] [] | 13
- libiconv | [] [] [] [] | 21
- libidn | () [] [] | 11
- lifelines | [] | 4
- liferea | [] [] [] | 21
- lilypond | [] | 7
- linkdr | [] [] [] [] [] | 17
- lordsawar | | 1
- lprng | [] | 3
- lynx | [] [] [] [] | 17
- m4 | [] [] [] [] | 19
- mailfromd | [] [] | 3
- mailutils | [] | 5
- make | [] [] [] [] | 21
- man-db | [] [] [] | 8
- man-db-manpages | | 4
- minicom | [] [] | 16
- mkisofs | [] [] | 9
- myserver | | 0
- nano | [] [] [] [] | 21
- opcodes | [] [] [] | 11
- parted | [] [] [] [] [] | 15
- pies | [] [] | 3
- popt | [] [] [] [] [] [] | 27
- psmisc | [] [] | 11
- pspp | | 4
- pwdutils | [] [] | 6
- radius | [] [] | 9
- recode | [] [] [] [] | 28
- rosegarden | () | 0
- rpm | [] [] [] | 11
- rush | [] [] | 4
- sarg | | 1
- screem | [] | 3
- scrollkeeper | [] [] [] [] [] | 27
- sed | [] [] [] [] [] | 30
- sharutils | [] [] [] [] [] | 22
- shishi | [] | 3
- skencil | [] [] | 7
- solfege | [] [] [] [] | 16
- solfege-manual | [] | 8
- soundtracker | [] [] [] | 9
- sp | [] | 3
- sysstat | [] [] | 15
- tar | [] [] [] [] [] [] | 23
- texinfo | [] [] [] [] [] | 17
- tin | | 4
- unicode-han-tra... | | 0
- unicode-transla... | | 2
- util-linux-ng | [] [] [] [] | 20
- vice | () () | 1
- vmm | [] | 4
- vorbis-tools | [] | 6
- wastesedge | | 2
- wdiff | [] [] | 7
- wget | [] [] [] [] [] | 26
- wyslij-po | [] [] | 8
- xchat | [] [] [] [] [] [] | 36
- xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | 63
- xkeyboard-config | [] [] [] | 22
- +---------------------------------------------------+
- 85 teams sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW
- 178 domains 119 1 3 3 0 10 65 51 155 17 98 7 41 2618
-
- Some counters in the preceding matrix are higher than the number of
-visible blocks let us expect. This is because a few extra PO files are
-used for implementing regional variants of languages, or language
-dialects.
-
- For a PO file in the matrix above to be effective, the package to
-which it applies should also have been internationalized and
-distributed as such by its maintainer. There might be an observable
-lag between the mere existence a PO file and its wide availability in a
-distribution.
-
- If June 2010 seems to be old, you may fetch a more recent copy of
-this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date
-matrix with full percentage details can be found at
-`http://translationproject.org/extra/matrix.html'.
-
-1.5 Using `gettext' in new packages
-===================================
-
-If you are writing a freely available program and want to
-internationalize it you are welcome to use GNU `gettext' in your
-package. Of course you have to respect the GNU Library General Public
-License which covers the use of the GNU `gettext' library. This means
-in particular that even non-free programs can use `libintl' as a shared
-library, whereas only free software can use `libintl' as a static
-library or use modified versions of `libintl'.
-
- Once the sources are changed appropriately and the setup can handle
-the use of `gettext' the only thing missing are the translations. The
-Free Translation Project is also available for packages which are not
-developed inside the GNU project. Therefore the information given above
-applies also for every other Free Software Project. Contact
-`coordinator@translationproject.org' to make the `.pot' files available
-to the translation teams.
-
diff --git a/thirdparty/grub-2.04/AUTHORS b/thirdparty/grub-2.04/AUTHORS
deleted file mode 100644
index 8de5c4d3048f6f43a292f3eb0aede5bfe46ab64a..0000000000000000000000000000000000000000
--- a/thirdparty/grub-2.04/AUTHORS
+++ /dev/null
@@ -1,23 +0,0 @@
-The following authors assigned copyright on their work to the Free
-Software Foundation:
-
-Yoshinori K. Okuji designed and implemented the initial version.
-
-Jeroen Dekkers added initrd support, Multiboot support, and fixed bugs
-in ext2fs.
-
-Marco Gerards added ext2fs support, grub-emu, a new command-line
-engine, and fixed many bugs.
-
-Omniflux added terminfo and serial support.
-
-Vincent Pelletier added Sparc64 support.
-
-Hollis Blanchard implemented many parts of PowerPC support.
-
-Tomas Ebenlendr added the command chainloader into the normal mode,
-fixed some bugs.
-
-Guillem Jover merged architecture-independent ELF support code.
-
-Vesa Jaaskelainen added VBE support.
diff --git a/thirdparty/grub-2.04/BUGS b/thirdparty/grub-2.04/BUGS
deleted file mode 100644
index 46faa6452a965a053e382e410bcde643a2cfd69f..0000000000000000000000000000000000000000
--- a/thirdparty/grub-2.04/BUGS
+++ /dev/null
@@ -1,7 +0,0 @@
-GRUB team is aware of following problems:
- - Currently search and assembling multidevice abstractions scans
- all the devices which can be slow.
- - Cache isn't used correctly for video which results in slowness.
-
-While these are bugs their solution has a potential of breaking more and more
-seriously. So it was decided for 1.99 that they aren't fixed.
diff --git a/thirdparty/grub-2.04/COPYING b/thirdparty/grub-2.04/COPYING
deleted file mode 100644
index 94a9ed024d3859793618152ea559a168bbcbb5e2..0000000000000000000000000000000000000000
--- a/thirdparty/grub-2.04/COPYING
+++ /dev/null
@@ -1,674 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc.
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
-
- The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works. By contrast,
-the GNU General Public License is intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users. We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors. You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
- To protect your rights, we need to prevent others from denying you
-these rights or asking you to surrender the rights. Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received. You must make sure that they, too, receive
-or can get the source code. And you must show them these terms so they
-know their rights.
-
- Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
-
- For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software. For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
- Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so. This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software. The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable. Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products. If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
- Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary. To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- TERMS AND CONDITIONS
-
- 0. Definitions.
-
- "This License" refers to version 3 of the GNU General Public License.
-
- "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
- "The Program" refers to any copyrightable work licensed under this
-License. Each licensee is addressed as "you". "Licensees" and
-"recipients" may be individuals or organizations.
-
- To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy. The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
- A "covered work" means either the unmodified Program or a work based
-on the Program.
-
- To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy. Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
- To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies. Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
- An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License. If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
- 1. Source Code.
-
- The "source code" for a work means the preferred form of the work
-for making modifications to it. "Object code" means any non-source
-form of a work.
-
- A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
- The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form. A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
- The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities. However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work. For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
- The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
- The Corresponding Source for a work in source code form is that
-same work.
-
- 2. Basic Permissions.
-
- All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met. This License explicitly affirms your unlimited
-permission to run the unmodified Program. The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work. This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
- You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force. You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright. Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
- Conveying under any other circumstances is permitted solely under
-the conditions stated below. Sublicensing is not allowed; section 10
-makes it unnecessary.
-
- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
- No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
- When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
- 4. Conveying Verbatim Copies.
-
- You may convey verbatim copies of the Program's source code as you
-receive it, in any medium, provided that you conspicuously and
-appropriately publish on each copy an appropriate copyright notice;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
- You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
- 5. Conveying Modified Source Versions.
-
- You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-
- a) The work must carry prominent notices stating that you modified
- it, and giving a relevant date.
-
- b) The work must carry prominent notices stating that it is
- released under this License and any conditions added under section
- 7. This requirement modifies the requirement in section 4 to
- "keep intact all notices".
-
- c) You must license the entire work, as a whole, under this
- License to anyone who comes into possession of a copy. This
- License will therefore apply, along with any applicable section 7
- additional terms, to the whole of the work, and all its parts,
- regardless of how they are packaged. This License gives no
- permission to license the work in any other way, but it does not
- invalidate such permission if you have separately received it.
-
- d) If the work has interactive user interfaces, each must display
- Appropriate Legal Notices; however, if the Program has interactive
- interfaces that do not display Appropriate Legal Notices, your
- work need not make them do so.
-
- A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-"aggregate" if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit. Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
- 6. Conveying Non-Source Forms.
-
- You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-
- a) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by the
- Corresponding Source fixed on a durable physical medium
- customarily used for software interchange.
-
- b) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by a
- written offer, valid for at least three years and valid for as
- long as you offer spare parts or customer support for that product
- model, to give anyone who possesses the object code either (1) a
- copy of the Corresponding Source for all the software in the
- product that is covered by this License, on a durable physical
- medium customarily used for software interchange, for a price no
- more than your reasonable cost of physically performing this
- conveying of source, or (2) access to copy the
- Corresponding Source from a network server at no charge.
-
- c) Convey individual copies of the object code with a copy of the
- written offer to provide the Corresponding Source. This
- alternative is allowed only occasionally and noncommercially, and
- only if you received the object code with such an offer, in accord
- with subsection 6b.
-
- d) Convey the object code by offering access from a designated
- place (gratis or for a charge), and offer equivalent access to the
- Corresponding Source in the same way through the same place at no
- further charge. You need not require recipients to copy the
- Corresponding Source along with the object code. If the place to
- copy the object code is a network server, the Corresponding Source
- may be on a different server (operated by you or a third party)
- that supports equivalent copying facilities, provided you maintain
- clear directions next to the object code saying where to find the
- Corresponding Source. Regardless of what server hosts the
- Corresponding Source, you remain obligated to ensure that it is
- available for as long as needed to satisfy these requirements.
-
- e) Convey the object code using peer-to-peer transmission, provided
- you inform other peers where the object code and Corresponding
- Source of the work are being offered to the general public at no
- charge under subsection 6d.
-
- A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
- A "User Product" is either (1) a "consumer product", which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling. In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage. For a particular
-product received by a particular user, "normally used" refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product. A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
- "Installation Information" for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source. The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
- If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information. But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
- The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed. Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
- Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
- 7. Additional Terms.
-
- "Additional permissions" are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law. If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
- When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it. (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.) You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
- Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-
- a) Disclaiming warranty or limiting liability differently from the
- terms of sections 15 and 16 of this License; or
-
- b) Requiring preservation of specified reasonable legal notices or
- author attributions in that material or in the Appropriate Legal
- Notices displayed by works containing it; or
-
- c) Prohibiting misrepresentation of the origin of that material, or
- requiring that modified versions of such material be marked in
- reasonable ways as different from the original version; or
-
- d) Limiting the use for publicity purposes of names of licensors or
- authors of the material; or
-
- e) Declining to grant rights under trademark law for use of some
- trade names, trademarks, or service marks; or
-
- f) Requiring indemnification of licensors and authors of that
- material by anyone who conveys the material (or modified versions of
- it) with contractual assumptions of liability to the recipient, for
- any liability that these contractual assumptions directly impose on
- those licensors and authors.
-
- All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10. If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term. If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
- If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
- Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
- 8. Termination.
-
- You may not propagate or modify a covered work except as expressly
-provided under this License. Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
- However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
- Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
- Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License. If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
- 9. Acceptance Not Required for Having Copies.
-
- You are not required to accept this License in order to receive or
-run a copy of the Program. Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance. However,
-nothing other than this License grants you permission to propagate or
-modify any covered work. These actions infringe copyright if you do
-not accept this License. Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
- 10. Automatic Licensing of Downstream Recipients.
-
- Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License. You are not responsible
-for enforcing compliance by third parties with this License.
-
- An "entity transaction" is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations. If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
- You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License. For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
- 11. Patents.
-
- A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based. The
-work thus licensed is called the contributor's "contributor version".
-
- A contributor's "essential patent claims" are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version. For
-purposes of this definition, "control" includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
- Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
- In the following three paragraphs, a "patent license" is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement). To "grant" such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
- If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients. "Knowingly relying" means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-
- If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
- A patent license is "discriminatory" if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License. You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
- Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
- 12. No Surrender of Others' Freedom.
-
- If conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all. For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
- 13. Use with the GNU Affero General Public License.
-
- Notwithstanding any other provision of this License, you have
-permission to link or combine any covered work with a work licensed
-under version 3 of the GNU Affero General Public License into a single
-combined work, and to convey the resulting work. The terms of this
-License will continue to apply to the part which is the covered work,
-but the special requirements of the GNU Affero General Public License,
-section 13, concerning interaction through a network will apply to the
-combination as such.
-
- 14. Revised Versions of this License.
-
- The Free Software Foundation may publish revised and/or new versions of
-the GNU General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Program specifies that a certain numbered version of the GNU General
-Public License "or any later version" applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation. If the Program does not specify a version number of the
-GNU General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
- If the Program specifies that a proxy can decide which future
-versions of the GNU General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
- Later license versions may give you additional or different
-permissions. However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
- 15. Disclaimer of Warranty.
-
- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. Limitation of Liability.
-
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
- 17. Interpretation of Sections 15 and 16.
-
- If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-
- Copyright (C)
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see .
-
-Also add information on how to contact you by electronic and paper mail.
-
- If the program does terminal interaction, make it output a short
-notice like this when it starts in an interactive mode:
-
- Copyright (C)
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, your program's commands
-might be different; for a GUI interface, you would use an "about box".
-
- You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU GPL, see
-.
-
- The GNU General Public License does not permit incorporating your program
-into proprietary programs. If your program is a subroutine library, you
-may consider it more useful to permit linking proprietary applications with
-the library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License. But first, please read
-.
diff --git a/thirdparty/grub-2.04/ChangeLog b/thirdparty/grub-2.04/ChangeLog
deleted file mode 100644
index ba904781fc8781d9637b31ee1d9e16a00adc3131..0000000000000000000000000000000000000000
--- a/thirdparty/grub-2.04/ChangeLog
+++ /dev/null
@@ -1,7820 +0,0 @@
-2019-07-04 Daniel Kiper
-
- Release 2.04
-
-2019-06-24 Thomas Schmitt
-
- docs: Document workaround for grub-mkrescue with older MacBooks
- Add a description of the workaround for firmware of older MacBooks
- which stalls with a grub-mkrescue ISO image for x86_64-efi target
- on an USB stick.
-
- Reviewed-by: Daniel Kiper
-
-2019-06-24 Eric Snowberg
-
- docs: Bootstrap changes required for older distros
- Some older distros do not contain gettext 0.18. Document the workaround
- to use the bootstrap utility on these systems.
-
- Reviewed-by: Daniel Kiper
-
-2019-06-07 Leif Lindholm
-
- ia64: build fix in cache.h
- Add IA64 to the architectures excluding a declaration for
- grub_arch_sync_dma_caches().
-
- IA64 does not include any of the source files that require the function,
- but was overlooked for d8901e3ba115 ("cache: Fix compilation for ppc,
- sparc and arm64").
-
- Add it to the list of excluding architectures in order to not get
- missing symbol errors when running grub-mkimage.
-
- Reported-by: Alexander Graf
- Tested-by: John Paul Adrian Glaubitz
- Reviewed-by: Daniel Kiper
-
-2019-06-07 Vladimir 'phcoder' Serbinenko
-
- hostfs: #undef open and close.
- Unlike in case of disks in this case it's just a single place, so it's easier
- to just #undef
-
- Reviewed-by: Daniel Kiper
-
-2019-06-03 John Paul Adrian Glaubitz
-
- f2fs: Disable gcc9 -Waddress-of-packed-member
- Disable the -Wadress-of-packaed-member diagnostic for the grub_f2fs_label
- function since the result is found to be false postive.
-
- A pointer to the 'volume_name' member of 'struct grub_f2fs_superblock' is
- guaranteed to be aligned as the offset of 'volume_name' within the struct
- is dividable by the natural alignment on both 32- and 64-bit targets.
-
- grub-core/fs/f2fs.c: In function ‘grub_f2fs_label’:
- grub-core/fs/f2fs.c:1253:60: error: taking address of packed member of ‘struct grub_f2fs_superblock’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
- 1253 | *label = (char *) grub_f2fs_utf16_to_utf8 (data->sblock.volume_name);
- | ~~~~~~~~~~~~^~~~~~~~~~~~
- cc1: all warnings being treated as errors
-
- Reported-by: Neil MacLeod
- Tested-by: Neil MacLeod
- Reviewed-by: Daniel Kiper
-
-2019-05-20 Vincent Legoll
-
- grub-mkrescue: Fix error message about the wrong command having failed: mformat instead of mcopy
- Reviewed-by: Daniel Kiper
-
-2019-05-20 Mathieu Trudel-Lapierre
-
- video: skip 'text' gfxpayload if not supported, to fallback to default
- On UEFI, 'text' gfxpayload is not supported, but we still reach parse_modespec()
- with it, which will obviously fail. Fortunately, whatever gfxpayload is set,
- we still still have the 'auto' default to fall back to. Allow getting to this
- fallback by not trying to parse 'text' as a modespec.
-
- This is because 'text' correctly doesn't parse as a modespec, and ought to have
- been ignored before we got to that point, just like it is immediately picked if
- we're running on a system where 'text' is a supported video mode.
-
- Bug: https://savannah.gnu.org/bugs/index.php?56217
-
- Reviewed-by: Daniel Kiper
-
-2019-05-20 Ovidiu Panait
-
- grub-mkconfig: Use -c instead of --printf for stat
- "--printf" only works with the stat variant provided by coreutils.
-
- With busybox, stat will fail with the following error:
- stat: unrecognized option '--printf=%T'
-
- Usage: stat [OPTIONS] FILE...
-
- Reviewed-by: Daniel Kiper
-
-2019-05-20 Michael Chang
-
- f2fs: Fix gcc9 error -Werror=maybe-uninitialized
- The function grub_get_node_path() could return uninitialized offset with
- level == 0 if the block is greater than direct_index + 2 * direct_blks +
- 2 * indirect_blks + dindirect_blks. The uninitialized offset is then used
- by function grub_f2fs_get_block() because level == 0 is valid and
- meaningful return to be processed.
-
- The fix is to set level = -1 as return value by grub_get_node_path() to
- signify an error that the input block cannot be handled. Any caller
- should therefore check level is negative or not before processing the
- output.
-
- Reported-by: Neil MacLeod
- Tested-by: Neil MacLeod
- Reviewed-by: Daniel Kiper
-
-2019-05-06 Alexander Graf
-
- arm: Align section alignment with manual relocation offset code
- The arm relocation code has a manual special case for EFI binaries to
- add the natural alignment to its own relocation awareness.
-
- Since commit a51f953f4ee87 ("mkimage: Align efi sections on 4k
- boundary") we changed that alignment from 0x400 to 0x1000 bytes. Reflect
- the change in that branch that we forgot as well.
-
- This fixes running 32bit arm grub efi binaries for me again.
-
- Fixes: a51f953f4ee87 ("mkimage: Align efi sections on 4k boundary")
- Reported-by: Heinrich Schuchardt
- Reported-by: Steve McIntyre
- Reviewed-by: Daniel Kiper
- Tested-by: Julien ROBIN
- Reviewed-by: Leif Lindholm
- Tested-by: Leif Lindholm
- Reviewed-by: Daniel Kiper
-
-2019-05-06 Alexander Graf
-
- arm: Move trampolines into code section
- When creating T32->A32 transition jumps, the relocation code in grub
- will generate trampolines. These trampolines live in the .data section
- of our PE binary which means they are not marked as executable.
-
- This misbehavior was unmasked by commit a51f953f4ee87 ("mkimage: Align
- efi sections on 4k boundary") which made the X/NX boundary more obvious
- because everything became page aligned.
-
- To put things into proper order, let's move the arm trampolines into the
- .text section instead. That way everyone knows they are executable.
-
- Fixes: a51f953f4ee87 ("mkimage: Align efi sections on 4k boundary")
- Reported-by: Julien ROBIN
- Reported-by: Leif Lindholm
- Tested-by: Julien ROBIN
- Reviewed-by: Leif Lindholm
- Tested-by: Leif Lindholm
- Reviewed-by: Daniel Kiper
-
-2019-04-23 Michael Chang
-
- efi: Fix gcc9 error -Waddress-of-packed-member
- The address of fp->path_name could be unaligned since seeking into the
- device path buffer for a given node could end in byte boundary.
-
- The fix is allocating aligned buffer by grub_malloc for holding the
- UTF16 string copied from fp->path_name, and after using that buffer as
- argument for grub_utf16_to_utf8 to convert it to UTF8 string.
-
- [ 255s] ../../grub-core/kern/efi/efi.c: In function 'grub_efi_get_filename':
- [ 255s] ../../grub-core/kern/efi/efi.c:410:60: error: taking address of packed member of 'struct grub_efi_file_path_device_path' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 255s] 410 | p = (char *) grub_utf16_to_utf8 ((unsigned char *) p, fp->path_name, len);
- [ 255s] | ~~^~~~~~~~~~~
- [ 255s] ../../grub-core/kern/efi/efi.c: In function 'grub_efi_print_device_path':
- [ 255s] ../../grub-core/kern/efi/efi.c:900:33: error: taking address of packed member of 'struct grub_efi_file_path_device_path' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 255s] 900 | *grub_utf16_to_utf8 (buf, fp->path_name,
- [ 255s] | ~~^~~~~~~~~~~
-
- Reviewed-by: Daniel Kiper
-
-2019-04-23 Michael Chang
-
- chainloader: Fix gcc9 error -Waddress-of-packed-member
- The address of fp->path_name could be unaligned since seeking into the
- device path buffer for a given node could end in byte boundary.
-
- The fix is using aligned buffer allocated by grub_malloc for receiving
- the converted UTF16 string by grub_utf8_to_utf16 and also the processing
- after. The resulting string then gets copied to fp->path_name.
-
- [ 243s] ../../grub-core/loader/efi/chainloader.c: In function 'copy_file_path':
- [ 243s] ../../grub-core/loader/efi/chainloader.c:136:32: error: taking address of packed member of 'struct grub_efi_file_path_device_path' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 243s] 136 | size = grub_utf8_to_utf16 (fp->path_name, len * GRUB_MAX_UTF16_PER_UTF8,
- [ 243s] | ~~^~~~~~~~~~~
- [ 243s] ../../grub-core/loader/efi/chainloader.c:138:12: error: taking address of packed member of 'struct grub_efi_file_path_device_path' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 243s] 138 | for (p = fp->path_name; p < fp->path_name + size; p++)
- [ 243s] | ^~
-
- Reviewed-by: Daniel Kiper
-
-2019-04-23 Michael Chang
-
- usbtest: Disable gcc9 -Waddress-of-packed-member
- Disable the -Wadress-of-packaed-member diagnostic for the
- grub_usb_get_string function since the result is false postive. The
- descstrp->str is found to be aligned in the buffer allocated for 'struct
- grub_usb_desc_str'.
-
- [ 229s] ../../grub-core/commands/usbtest.c: In function 'grub_usb_get_string':
- [ 229s] ../../grub-core/commands/usbtest.c:104:58: error: taking address of packed member of 'struct grub_usb_desc_str' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 229s] 104 | *grub_utf16_to_utf8 ((grub_uint8_t *) *string, descstrp->str,
- [ 229s] | ~~~~~~~~^~~~~
-
- Reviewed-by: Daniel Kiper
-
-2019-04-23 Michael Chang
-
- acpi: Fix gcc9 error -Waddress-of-packed-member
- Simply adds the missing packed attribute to 'struct grub_acpi_madt'.
-
- [ 233s] ../../grub-core/commands/lsacpi.c: In function 'disp_acpi_xsdt_table':
- [ 233s] ../../grub-core/commands/lsacpi.c:201:27: error: converting a packed 'struct grub_acpi_table_header' pointer (alignment 1) to a 'struct grub_acpi_madt' pointer (alignment 4) may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 233s] 201 | disp_madt_table ((struct grub_acpi_madt *) t);
- [ 233s] | ^~~~~~~~~~~~~~
- [ 233s] In file included from ../../grub-core/commands/lsacpi.c:23:
- [ 233s] ../../include/grub/acpi.h:50:8: note: defined here
- [ 233s] 50 | struct grub_acpi_table_header
- [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~
- [ 233s] ../../include/grub/acpi.h:90:8: note: defined here
- [ 233s] 90 | struct grub_acpi_madt
- [ 233s] | ^~~~~~~~~~~~~~
- [ 233s] ../../grub-core/commands/lsacpi.c: In function 'disp_acpi_rsdt_table':
- [ 233s] ../../grub-core/commands/lsacpi.c:225:27: error: converting a packed 'struct grub_acpi_table_header' pointer (alignment 1) to a 'struct grub_acpi_madt' pointer (alignment 4) may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 233s] 225 | disp_madt_table ((struct grub_acpi_madt *) t);
- [ 233s] | ^~~~~~~~~~~~~~
- [ 233s] In file included from ../../grub-core/commands/lsacpi.c:23:
- [ 233s] ../../include/grub/acpi.h:50:8: note: defined here
- [ 233s] 50 | struct grub_acpi_table_header
- [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~
- [ 233s] ../../include/grub/acpi.h:90:8: note: defined here
- [ 233s] 90 | struct grub_acpi_madt
- [ 233s] | ^~~~~~~~~~~~~~
-
- Reviewed-by: Daniel Kiper
-
-2019-04-23 Michael Chang
-
- hfsplus: Fix gcc9 error with -Waddress-of-packed-member
- The catkey->name could be unaligned since the address of 'void* record'
- is calculated as offset in bytes to a malloc buffer.
-
- The fix is using aligned buffer allocated by grub_malloc for holding
- the UTF16 string copied from catkey->name. And use that buffer as
- argument for grub_utf16_to_utf8 to convert to UTF8 strings.
-
- In addition, using a new copy of buffer rather than catkey->name itself
- for processing the endianess conversion, we can also get rid of the hunk
- restoring byte order of catkey->name to what it was previously.
-
- [ 59s] ../grub-core/fs/hfsplus.c: In function 'list_nodes':
- [ 59s] ../grub-core/fs/hfsplus.c:738:57: error: taking address of packed member of 'struct grub_hfsplus_catkey' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 59s] 738 | *grub_utf16_to_utf8 ((grub_uint8_t *) filename, catkey->name,
- [ 59s] | ~~~~~~^~~~~~
- [ 59s] ../grub-core/fs/hfsplus.c: In function 'grub_hfsplus_label':
- [ 59s] ../grub-core/fs/hfsplus.c:1019:57: error: taking address of packed member of 'struct grub_hfsplus_catkey' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 59s] 1019 | *grub_utf16_to_utf8 ((grub_uint8_t *) (*label), catkey->name,
- [ 59s] | ~~~~~~^~~~~~
-
- Reviewed-by: Daniel Kiper
-
-2019-04-23 Michael Chang
-
- hfs: Fix gcc9 error -Waddress-of-packed-member
- Simply adds the missing packed attribute to 'struct grub_hfs_extent'.
-
- [ 83s] ../grub-core/fs/hfs.c: In function 'grub_hfs_iterate_records':
- [ 83s] ../grub-core/fs/hfs.c:699:9: error: taking address of packed member of 'struct grub_hfs_sblock' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 83s] 699 | ? (&data->sblock.catalog_recs)
- [ 83s] | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
- [ 83s] ../grub-core/fs/hfs.c:700:9: error: taking address of packed member of 'struct grub_hfs_sblock' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 83s] 700 | : (&data->sblock.extent_recs));
- [ 83s] | ~^~~~~~~~~~~~~~~~~~~~~~~~~~
-
- Reviewed-by: Daniel Kiper
-
-2019-04-23 Michael Chang
-
- jfs: Disable gcc9 -Waddress-of-packed-member
- Disable the -Wadress-of-packaed-member diagnostic for the
- grub_jfs_getent function since the result is found to be false postive.
-
- The leaf is read into memory as continous chunks in size of 32 bytes and
- the pointer to its base is aligned, which also guarentee its member
- leaf->namepart is aligned.
-
- [ 60s] ../grub-core/fs/jfs.c: In function 'grub_jfs_getent':
- [ 60s] ../grub-core/fs/jfs.c:557:44: error: taking address of packed member of 'struct grub_jfs_leaf_dirent' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 60s] 557 | le_to_cpu16_copy (filename + strpos, leaf->namepart, len < diro->data->namecomponentlen ? len
- [ 60s] | ~~~~^~~~~~~~~~
- [ 60s] ../grub-core/fs/jfs.c:570:48: error: taking address of packed member of 'struct grub_jfs_leaf_next_dirent' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 60s] 570 | le_to_cpu16_copy (filename + strpos, next_leaf->namepart, len < 15 ? len : 15);
- [ 60s] | ~~~~~~~~~^~~~~~~~~~
- [ 60s] cc1: all warnings being treated as errors
-
- Reviewed-by: Daniel Kiper
-
-2019-04-23 Michael Chang
-
- cpio: Disable gcc9 -Waddress-of-packed-member
- Disable the -Wadress-of-packaed-member diagnostic for the
- grub_cpio_find_file function since the result is found to be false
- postive. Any pointers to member of the 'struct head hd' is aligned even
- if the structure is packed without paddings.
-
- [ 59s] In file included from ../grub-core/fs/cpio.c:51:
- [ 59s] ../grub-core/fs/cpio_common.c: In function 'grub_cpio_find_file':
- [ 59s] ../grub-core/fs/cpio_common.c:58:31: error: taking address of packed member of 'struct head' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 59s] 58 | data->size = read_number (hd.filesize, ARRAY_SIZE (hd.filesize));
- [ 59s] | ~~^~~~~~~~~
- [ 59s] ../grub-core/fs/cpio_common.c:60:29: error: taking address of packed member of 'struct head' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 59s] 60 | *mtime = read_number (hd.mtime, ARRAY_SIZE (hd.mtime));
- [ 59s] | ~~^~~~~~
- [ 59s] ../grub-core/fs/cpio_common.c:61:28: error: taking address of packed member of 'struct head' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 59s] 61 | modeval = read_number (hd.mode, ARRAY_SIZE (hd.mode));
- [ 59s] | ~~^~~~~
- [ 59s] ../grub-core/fs/cpio_common.c:62:29: error: taking address of packed member of 'struct head' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 59s] 62 | namesize = read_number (hd.namesize, ARRAY_SIZE (hd.namesize));
- [ 59s] | ~~^~~~~~~~~
- [ 59s] In file included from ../grub-core/fs/cpio_be.c:51:
- [ 59s] ../grub-core/fs/cpio_common.c: In function 'grub_cpio_find_file':
- [ 59s] ../grub-core/fs/cpio_common.c:58:31: error: taking address of packed member of 'struct head' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 59s] 58 | data->size = read_number (hd.filesize, ARRAY_SIZE (hd.filesize));
- [ 59s] | ~~^~~~~~~~~
- [ 59s] ../grub-core/fs/cpio_common.c:60:29: error: taking address of packed member of 'struct head' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 59s] 60 | *mtime = read_number (hd.mtime, ARRAY_SIZE (hd.mtime));
- [ 59s] | ~~^~~~~~
- [ 59s] ../grub-core/fs/cpio_common.c:61:28: error: taking address of packed member of 'struct head' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 59s] 61 | modeval = read_number (hd.mode, ARRAY_SIZE (hd.mode));
- [ 59s] | ~~^~~~~
- [ 59s] ../grub-core/fs/cpio_common.c:62:29: error: taking address of packed member of 'struct head' may result in an unaligned pointer value [-Werror=address-of-packed-member]
- [ 59s] 62 | namesize = read_number (hd.namesize, ARRAY_SIZE (hd.namesize));
- [ 59s] | ~~^~~~~~~~~
-
- Reviewed-by: Daniel Kiper
-
-2019-04-23 Heinrich Schuchardt
-
- efi: Avoid NULL dereference if FilePath is NULL
- The UEFI specification allows LoadImage() to be called with a memory
- location only and without a device path. In this case FilePath will not be
- set in the EFI_LOADED_IMAGE_PROTOCOL.
-
- So in function grub_efi_get_filename() the device path argument may be
- NULL. As we cannot determine the device path in this case just return NULL
- from the function.
-
- Reviewed-by: Leif Lindholm
- Reviewed-by: Daniel Kiper
-
-2019-04-23 Daniel Kiper
-
- x86/msr: Fix build with older GCC versions
- Some older GCC versions produce following error when x86 MSR modules are build:
-
- In file included from commands/i386/rdmsr.c:29:0:
- ../include/grub/i386/rdmsr.h:27:29: error: no previous prototype for ‘grub_msr_read’ [-Werror=missing-prototypes]
- extern inline grub_uint64_t grub_msr_read (grub_uint32_t msr_id)
- ^
- cc1: all warnings being treated as errors
-
- This happens due to lack of support for a such usage of extern keyword
- in older GCCs. Additionally, this usage is not consistent with the rest
- of codebase. So, replace it with static keyword.
-
- Additionally, fix incorrect coding style.
-
- Reported-by: Eric Snowberg
- Reported-by: adrian15
- Reviewed-by: Vladimir 'phcoder' Serbinenko
- Reviewed-by: Eric Snowberg
- Tested-by: adrian15
-
-2019-04-09 Vladimir Serbinenko
-
- Release 2.04~rc1
-
-2019-04-09 Vladimir Serbinenko
-
- Change fs functions to add fs_ prefix
- This avoid conflict with gnulib
-
- Reviewed-by: Daniel Kiper
-
-2019-04-08 Vladimir Serbinenko
-
- A workaround for clang problem assembling startup_raw.S
- Reviewed-by: Daniel Kiper
-
-2019-04-04 Eric Snowberg
-
- ieee1275: NULL pointer dereference in grub_ieee1275_encode_devname()
- Function grub_strndup() may return NULL, this is called from
- function grub_ieee1275_get_devname() which is then called from
- function grub_ieee1275_encode_devname() to set device. The device
- variable could then be used with a NULL pointer.
-
- Reviewed-by: Colin Watson
- Reviewed-by: Daniel Kiper
-
-2019-04-02 Daniel Kiper
-
- docs/grub-dev: Change comments rules
- Current comments forms are annoying, so, some of them are disallowed
- starting from now. New rules are more flexible and mostly aligned
- with, e.g., Linux kernel comments rules.
-
- Reviewed-by: Vladimir Serbinenko
-
-2019-04-02 Andrew Jeddeloh
-
- loader/i386/linux: Calculate the setup_header length
- Previously the setup_header length was just assumed to be the size of the
- linux_kernel_params struct. The linux x86 32-bit boot protocol says that the
- end of the linux_i386_kernel_header is at 0x202 + the byte value at 0x201 in
- the linux_i386_kernel_header. So, calculate the size of the header using the
- end of the linux_i386_kernel_header, rather than assume it is the size of the
- linux_kernel_params struct.
-
- Additionally, add some required members to the linux_kernel_params
- struct and align the content of linux_i386_kernel_header struct with
- it. New members naming was taken directly from Linux kernel source.
-
- linux_kernel_params and linux_i386_kernel_header structs require more
- cleanup. However, this is not urgent, so, let's do this after release.
- Just in case...
-
- Reviewed-by: Vladimir Serbinenko
- Reviewed-by: Ross Philipson
-
-2019-04-02 Eric Snowberg
-
- efidisk: NULL pointer dereference in grub_efidisk_get_device_name()
- Function grub_efi_find_last_device_path() may return NULL when called
- from grub_efidisk_get_device_name().
-
- Reviewed-by: Daniel Kiper
-
-2019-04-02 Eric Snowberg
-
- efidisk: NULL pointer dereference in is_child()
- Function grub_efi_find_last_device() path may return NULL when called
- from is_child().
-
- Reviewed-by: Daniel Kiper
-
-2019-04-02 Eric Snowberg
-
- efidisk: Write to NULL pointer ldp
- Function grub_efi_find_last_device_path() may return constant NULL when
- called from find_parent_device().
-
- Reviewed-by: Daniel Kiper
-
-2019-04-02 Vladimir Serbinenko
-
- clang: Pair -Qn with -Qunused-arguments.
- When assembling module wirh clang -Qn ends up on command line but later ignored
- To avoid it breaking the compile, add -Qunused-arguments.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-28 John Paul Adrian Glaubitz
-
- ieee1275: Fix path reference in comment of sparc64 boot loader code
- Reviewed-by: Daniel Kiper
-
-2019-03-28 John Paul Adrian Glaubitz
-
- ieee1275: Include a.out header in assembly of sparc64 boot loader
- Recent versions of binutils dropped support for the a.out and COFF
- formats on sparc64 targets. Since the boot loader on sparc64 is
- supposed to be an a.out binary and the a.out header entries are
- rather simple to calculate in our case, we just write the header
- ourselves instead of relying on external tools to do that.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-26 Vladimir Serbinenko
-
- Propagate GNU_PRINTF from gnulib vfprintf
- gnulib now replaces vfprintf and hence its format becomes GNU_PRINTF format
-
- This also fixes matching definitions to always use GNU format
-
- Reviewed-by: Daniel Kiper
-
-2019-03-26 Vladimir Serbinenko
-
- efi/tpm.c: Add missing casts
- Without those casts we get a warning about implicit conversion of pointer
- to integer.
-
-2019-03-26 Vladimir Serbinenko
-
- POTFILES: Don't include gnulib in grub.pot
- They're translated as a separate project, so we
- don't want to submit them again.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-26 Vladimir Serbinenko
-
- configure.ac: Use nostdlib when checking for nostdinc
- With clang nostdinc behaviour is influenced by nostdlib. Since we
- always add nostdlib, add it in test as well
-
- Reviewed-by: Daniel Kiper
-
-2019-03-25 Vladimir Serbinenko
-
- efi/tpm.h: Fix hash_log_extend_event definition.
- I didn't check the spec but pointer to address doesn't make much sense
- and doesn't match the code.
-
- Rename grub_disk members
- Otherwise it horribly clashes with gnulib when it's
- replacing open/write/read/close
-
- grub-mkimagexx: Fix RISCV error message
- Outputting a raw pointer doesn't match the format and is
- also useless. Output offset instead.
-
- kern/emu/misc.c: Don't include config-util.h when running as GRUB_BUILD
-
- Support R_PPC_PLTREL24
- It's emitted by clang 7. It's the same as R_PPC_REL24.
-
-2019-03-20 Daniel Kiper
-
- sparc: Enable __clzsi2() and __clzdi2()
- This patch is similiar to commit e795b9011 (RISC-V: Add libgcc helpers
- for clz) but for SPARC target.
-
- Reviewed-by: Ross Philipson
-
-2019-03-20 Daniel Kiper
-
- mips: Enable __clzsi2()
- This patch is similiar to commit e795b9011 (RISC-V: Add libgcc helpers
- for clz) but for MIPS target.
-
- Reviewed-by: Ross Philipson
-
-2019-03-20 Daniel Kiper
-
- verifiers: MIPS fallout cleanup
- MIPS fallout cleanup after commit 4d4a8c96e (verifiers: Add possibility
- to verify kernel and modules command lines).
-
- Reviewed-by: Ross Philipson
-
-2019-03-20 Daniel Kiper
-
- verifiers: PowerPC fallout cleanup
- PowerPC fallout cleanup after commit 4d4a8c96e (verifiers: Add possibility
- to verify kernel and modules command lines) and ca0a4f689 (verifiers: File
- type for fine-grained signature-verification controlling).
-
- Reviewed-by: Ross Philipson
-
-2019-03-20 Daniel Kiper
-
- verifiers: IA-64 fallout cleanup
- IA-64 fallout cleanup after commit 4d4a8c96e (verifiers: Add possibility
- to verify kernel and modules command lines).
-
- Reviewed-by: Ross Philipson
-
-2019-03-20 Colin Watson
-
- posix_wrap: Flesh out posix_wrap/limits.h a little more
- In addition to what was already there, Gnulib's needs SCHAR_MIN,
- SCHAR_MAX, SHRT_MIN, INT_MIN, LONG_MIN, and LONG_MAX. Fixes build on CentOS 7.
-
- Reported-by: "Chen, Farrah"
- Reviewed-by: Daniel Kiper
-
-2019-03-19 Marek Marczykowski-Górecki
-
- xen: Look for Xen notes in section headers too
- Mirror behaviour of ELF loader in libxc: first look for Xen notes in
- PT_NOTE segment, then in SHT_NOTE section and only then fallback to
- a section with __xen_guest name. This fixes loading PV kernels that
- Xen note have outside of PT_NOTE. While this may be result of a buggy
- linker script, loading such kernel directly works fine, so make it work
- with GRUB too. Specifically, this applies to binaries built from Unikraft.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-19 Colin Watson
-
- getroot: Save/restore CWD more reliably on Unix
- Various GRUB utilities fail if the current directory doesn't exist,
- because grub_find_device() chdirs to a different directory and then
- fails when trying to chdir back. Gnulib's save-cwd module uses fchdir()
- instead when it can, avoiding this category of problem.
-
- Fixes Debian bug #918700.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Andrei Borzenkov
-
- net/dhcp: Add explicit net_dhcp command
- Mostly for cosmetic reasons, we add a "net_dhcp" command, which is (at the
- moment) identical to the existing "net_bootp" command. Both actually trigger
- a DHCP handshake now, and both should be able to deal with pure BOOTP servers.
- We could think about dropping the DHCP options from the initial DISCOVER packet
- when the user issues the net_bootp command, but it's unclear whether this is
- really useful, as both protocols should be able to coexist.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Andrei Borzenkov
-
- net/dhcp: Actually send out DHCPv4 DISCOVER and REQUEST messages
- Even though we were parsing some DHCP options sent by the server, so far
- we are only using the BOOTP 2-way handshake, even when talking to a DHCP
- server.
-
- Change this by actually sending out DHCP DISCOVER packets instead of the
- generic (mostly empty) BOOTP BOOTREQUEST packets.
-
- A pure BOOTP server would ignore the extra DHCP options in the DISCOVER
- packet and would just reply with a BOOTREPLY packet, which we also
- handle in the code.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Andrei Borzenkov
-
- net/dhcp: Allow receiving DHCP OFFER and ACK packets
- In respone to a BOOTREQUEST packet a BOOTP server would answer with a BOOTREPLY
- packet, which ends the conversation for good. DHCP uses a 4-way handshake,
- where the initial server respone is an OFFER, which has to be answered with
- REQUEST by the client again, only to be completed by an ACKNOWLEDGE packet
- from the server.
-
- Teach the grub_net_process_dhcp() function to deal with OFFER packets,
- and treat ACK packets the same es BOOTREPLY packets.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Andrei Borzenkov
-
- net/dhcp: Use DHCP options for name and bootfile
- The BOOTP RFC describes the boot file name and the server name as being part
- of the integral BOOTP data structure, with some limits on the size of them.
- DHCP extends this by allowing them to be separate DHCP options, which is more
- flexible.
-
- Teach the code dealing with those fields to check for those DHCP options first
- and use this information, if provided. We fall back to using the BOOTP
- information if those options are not used.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Andrei Borzenkov
-
- net/dhcp: Introduce per-interface timeout
- Currently we have a global timeout for all network cards in the BOOTP/DHCP
- discovery process.
-
- Make this timeout a per-interface one, so better accommodate the upcoming
- 4-way DHCP handshake and to also cover the lease time limit a DHCP offer
- will come with.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Andrei Borzenkov
-
- net/dhcp: Make grub_net_process_dhcp() take an interface
- Change the interface of the function dealing with incoming BOOTP packets
- to take an interface instead of a card, to allow more fine per-interface
- state (timeout, handshake state) later on.
-
- Use the opportunity to clean up the code a bit.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Andrei Borzenkov
-
- net/dhcp: Refactor DHCP packet transmission into separate function
- In contrast to BOOTP, DHCP uses a 4-way handshake, so requires to send
- packets more often.
-
- Refactor the generation and sending of the BOOTREQUEST packet into
- a separate function, so that future code can more easily reuse this.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Andrei Borzenkov
-
- net/dhcp: Allow overloading legacy bootfile and name field
- DHCP specifies a special dummy option OVERLOAD, to allow DHCP options to
- spill over into the (legacy) BOOTFILE and SNAME fields.
-
- Parse and handle this option properly.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Andrei Borzenkov
-
- net/dhcp: Replace parse_dhcp_vendor() with find_dhcp_option()
- For proper DHCP support we will need to parse DHCP options from a packet
- more often and at various places.
-
- Refactor the option parsing into a new function, which will scan a packet to
- find *a particular* option field. Use that new function in places where we
- were dealing with DHCP options before.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Andrei Borzenkov
-
- net/dhcp: Remove dead code
- The comment is right, the "giaddr" fields holds the IP address of the BOOTP
- relay, not a general purpose router address. Just remove the commented code,
- archeologists can find it in the git history.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Jesús Diéguez Fernández
-
- msr: Add new MSR modules (rdmsr/wrmsr)
- In order to be able to read from and write to model-specific registers,
- two new modules are added. They are i386 specific, as the cpuid module.
-
- rdmsr module registers the command rdmsr that allows reading from a MSR.
- wrmsr module registers the command wrmsr that allows writing to a MSR.
-
- wrmsr module is disabled if UEFI secure boot is enabled.
-
- Please note that on SMP systems, interacting with a MSR that has a scope
- per hardware thread, implies that the value only applies to the
- particular cpu/core/thread that ran the command.
-
- Also, if you specify a reserved or unimplemented MSR address, it will
- cause a general protection exception (which is not currently being
- handled) and the system will reboot.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Jesús Diéguez Fernández
-
- asm: Replace "__asm__ __volatile__" with "asm volatile"
- In order to maintain the coding style consistency, it was requested to
- replace the methods that use "__asm__ __volatile__" with "asm volatile".
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Eric Snowberg
-
- sparc64: Add bios boot partition support
- Add BIOS Boot Partition support for sparc64 platforms. This will work a
- little different than x86. With GPT, both the OBP "load" and "boot" commands
- are partition aware and neither command can see the partition table. Therefore
- the entire boot-loader is stored within the BIOS Boot Partition and nothing
- is stored within the bootstrap code area of MBR.
-
- To use it, the end user will issue the boot command with the path pointing to
- the BIOS Boot Partition.
-
- For example with the disk below:
-
- Model: Unknown (unknown)
- Disk /dev/nvme1n1: 1600GB
- Sector size (logical/physical): 512B/512B
- Partition Table: gpt
-
- Number Start End Size File system Name Flags
- 1 1049kB 1075MB 1074MB ext3
- 2 1075MB 1076MB 1049kB bios_grub
- 3 1076MB 1600GB 1599GB lvm
-
- To boot grub2 from OBP, you would use:
-
- boot /pci@302/pci@1/pci@0/pci@13/nvme@0/disk@1:b
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Eric Snowberg
-
- ieee1275: obdisk driver
- Add a new disk driver called obdisk for IEEE1275 platforms. Currently
- the only platform using this disk driver is SPARC, however other IEEE1275
- platforms could start using it if they so choose. While the functionality
- within the current IEEE1275 ofdisk driver may be suitable for PPC and x86, it
- presented too many problems on SPARC hardware.
-
- Within the old ofdisk, there is not a way to determine the true canonical
- name for the disk. Within Open Boot, the same disk can have multiple names
- but all reference the same disk. For example the same disk can be referenced
- by its SAS WWN, using this form:
-
- /pci@302/pci@2/pci@0/pci@17/LSI,sas@0/disk@w5000cca02f037d6d,0
-
- It can also be referenced by its PHY identifier using this form:
-
- /pci@302/pci@2/pci@0/pci@17/LSI,sas@0/disk@p0
-
- It can also be referenced by its Target identifier using this form:
-
- /pci@302/pci@2/pci@0/pci@17/LSI,sas@0/disk@0
-
- Also, when the LUN=0, it is legal to omit the ,0 from the device name. So with
- the disk above, before taking into account the device aliases, there are 6 ways
- to reference the same disk.
-
- Then it is possible to have 0 .. n device aliases all representing the same disk.
- Within this new driver the true canonical name is determined using the the
- IEEE1275 encode-unit and decode-unit commands when address_cells == 4. This
- will determine the true single canonical name for the device so multiple ihandles
- are not opened for the same device. This is what frequently happens with the old
- ofdisk driver. With some devices when they are opened multiple times it causes
- the entire system to hang.
-
- Another problem solved with this driver is devices that do not have a device
- alias can be booted and used within GRUB. Within the old ofdisk, this was not
- possible, unless it was the original boot device. All devices behind a SAS
- or SCSI parent can be found. Within the old ofdisk, finding these disks
- relied on there being an alias defined. The alias requirement is not
- necessary with this new driver. It can also find devices behind a parent
- after they have been hot-plugged. This is something that is not possible
- with the old ofdisk driver.
-
- The old ofdisk driver also incorrectly assumes that the device pointing to by a
- device alias is in its true canonical form. This assumption is never made with
- this new driver.
-
- Another issue solved with this driver is that it properly caches the ihandle
- for all open devices. The old ofdisk tries to do this by caching the last
- opened ihandle. However this does not work properly because the layer above
- does not use a consistent device name for the same disk when calling into the
- driver. This is because the upper layer uses the bootpath value returned within
- /chosen, other times it uses the device alias, and other times it uses the
- value within grub.cfg. It does not have a way to figure out that these devices
- are the same disk. This is not a problem with this new driver.
-
- Due to the way GRUB repeatedly opens and closes the same disk. Caching the
- ihandle is important on SPARC. Without caching, some SAS devices can take
- 15 - 20 minutes to get to the GRUB menu. This ihandle caching is not possible
- without correctly having the canonical disk name.
-
- When available, this driver also tries to use the deblocker #blocks and
- a way of determining the disk size.
-
- Finally and probably most importantly, this new driver is also capable of
- seeing all partitions on a GPT disk. With the old driver, the GPT
- partition table can not be read and only the first partition on the disk
- can be seen.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-12 Paul Menzel
-
- Makefile: Allow to set file systems modules for default_payload.elf
- By default all file system modules are added to the GRUB coreboot
- payload `default_payload.elf`. This makes the image quite big,
- especially as often not all modules are needed.
-
- Introduce the variable `FS_PAYLOAD_MODULES`, which can be used to
- explicitly set file systems modules to be added.
-
- $ make default_payload.elf
- test -f default_payload.elf && rm default_payload.elf || true
- pkgdatadir=. ./grub-mkstandalone --grub-mkimage=./grub-mkimage -O i386-coreboot -o default_payload.elf --modules='ahci pata ehci uhci ohci usb_keyboard usbms part_msdos ext2 fat at_keyboard part_gpt usbserial_usbdebug cbfs' --install-modules='ls linux search configfile normal cbtime cbls memrw iorw minicmd lsmmap lspci halt reboot hexdump pcidump regexp setpci lsacpi chain test serial multiboot cbmemc linux16 gzio echo help syslinuxcfg xnu affs afs bfs btrfs cbfs cpio cpio_be exfat ext2 f2fs fat hfs hfsplus iso9660 jfs minix minix2 minix2_be minix3 minix3_be minix_be newc nilfs2 ntfs odc procfs reiserfs romfs sfs squash4 tar udf ufs1 ufs1_be ufs2 xfs zfs password_pbkdf2 ' --fonts= --themes= --locales= -d grub-core/ /boot/grub/grub.cfg=./coreboot.cfg
- $ ls -l default_payload.elf
- -rw-rw---- 1 joey joey 1199568 Mar 6 13:58 default_payload.elf
-
- $ make default_payload.elf FS_PAYLOAD_MODULES="" # ext2 already in `--modules`
- test -f default_payload.elf && rm default_payload.elf || true
- pkgdatadir=. ./grub-mkstandalone --grub-mkimage=./grub-mkimage -O i386-coreboot -o default_payload.elf --modules='ahci pata ehci uhci ohci usb_keyboard usbms part_msdos ext2 fat at_keyboard part_gpt usbserial_usbdebug cbfs' --install-modules='ls linux search configfile normal cbtime cbls memrw iorw minicmd lsmmap lspci halt reboot hexdump pcidump regexp setpci lsacpi chain test serial multiboot cbmemc linux16 gzio echo help syslinuxcfg xnu password_pbkdf2 ' --fonts= --themes= --locales= -d grub-core/ /boot/grub/grub.cfg=./coreboot.cfg
- $ ls -l default_payload.elf
- -rw-rw---- 1 joey joey 832976 Mar 7 12:13 default_payload.elf
-
- So, the resulting payload size is around 370 kB smaller. (Adding it to
- the CBFS, it will be compressed, so the effective size difference will
- be smaller.)
-
- Reviewed-by: Daniel Kiper
-
-2019-03-07 Vladimir Serbinenko
-
- windows/platform.c: Fix compilation errors
-
-2019-03-05 Colin Watson
-
- gnulib: Upgrade Gnulib and switch to bootstrap tool
- Upgrade Gnulib files to 20190105.
-
- It's much easier to maintain GRUB's use of portability support files
- from Gnulib when the process is automatic and driven by a single
- configuration file, rather than by maintainers occasionally running
- gnulib-tool and committing the result. Removing these
- automatically-copied files from revision control also removes the
- temptation to hack the output in ways that are difficult for future
- maintainers to follow. Gnulib includes a "bootstrap" program which is
- designed for this.
-
- The canonical way to bootstrap GRUB from revision control is now
- "./bootstrap", but "./autogen.sh" is still useful if you just want to
- generate the GRUB-specific parts of the build system.
-
- GRUB now requires Autoconf >= 2.63 and Automake >= 1.11, in line with
- Gnulib.
-
- Gnulib source code is now placed in grub-core/lib/gnulib/ (which should
- not be edited directly), and GRUB's patches are in
- grub-core/lib/gnulib-patches/. I've added a few notes to the developer
- manual on how to maintain this.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-05 Colin Watson
-
- syslinux: Fix syslinux_test in out-of-tree builds
- syslinux_parse simplifies some filenames by removing things like ".."
- segments, but the tests assumed that @abs_top_srcdir@ would be
- untouched, which is not true in the case of out-of-tree builds where
- @abs_top_srcdir@ may contain ".." segments.
-
- Performing the substitution requires some awkwardness in Makefile.am due
- to details of how config.status works.
-
- Reviewed-by: Daniel Kiper
-
-2019-03-05 Colin Watson
-
- util: Detect more I/O errors
- Many of GRUB's utilities don't check anywhere near all the possible
- write errors. For example, if grub-install runs out of space when
- copying a file, it won't notice. There were missing checks for the
- return values of write, fflush, fsync, and close (or the equivalents on
- other OSes), all of which must be checked.
-
- I tried to be consistent with the existing logging practices of the
- various hostdisk implementations, but they weren't entirely consistent
- to start with so I used my judgement. The result at least looks
- reasonable on GNU/Linux when I provoke a write error:
-
- Installing for x86_64-efi platform.
- grub-install: error: cannot copy `/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed' to `/boot/efi/EFI/debian/grubx64.efi': No space left on device.
-
- There are more missing checks in other utilities, but this should fix
- the most critical ones.
-
- Fixes Debian bug #922741.
-
- Reviewed-by: Steve McIntyre <93sam@debian.org>
- Reviewed-by: Daniel Kiper
-
-2019-03-05 James Clarke
-
- osdep/freebsd: Fix partition calculation for EBR entries
- For EBR partitions, "start" is the relative starting sector of the EBR
- header itself, whereas "offset" is the relative starting byte of the
- partition's contents, excluding the EBR header and any padding. Thus we
- must use "offset", and divide by the sector size to convert to sectors.
-
- Fixes Debian bug #923253.
-
- Reviewed-by: Colin Watson
- Reviewed-by: Daniel Kiper
-
-2019-02-26 Steve McIntyre <93sam@debian.org>
-
- grub-install: Check for arm-efi as a default target
- Much like on x86, we can work out if the system is running on top of EFI
- firmware. If so, return "arm-efi". If not, fall back to "arm-uboot" as
- previously.
-
- Split out the code to (maybe) load the efivar module and check for
- /sys/firmware/efi into a common helper routine is_efi_system().
-
- Reviewed-by: Leif Lindholm
- Reviewed-by: Daniel Kiper
-
-2019-02-26 Daniel Kiper
-
- Revert "grub-install: Check for arm-efi as a default target"
- This reverts commit 082fd84d525f8d6602f892160b77c0a948308a78.
-
- Incorrect version of the patch was pushed into the git repo.
-
- Reported-by: Leif Lindholm
-
-2019-02-25 Alexander Graf
-
- travis: Add Travis CI config file
- There is a really convenient service for open source project from Travis
- CI: They allow for free CI testing using their infrastructure.
-
- GRUB has had issues with broken builds for various targets for a long time
- already. The main reason is a lack of CI to just do smoke tests on whether
- all targets still at least compile.
-
- This patch adds a Travis config file which builds (almost) all currently
- available targets.
-
- On top of that, this Travis config also runs a small execution test on the
- x86_64-efi target.
-
- All of this config file can easily be extended further on. It probably
- makes sense to do something similar to the u-boot test infrastructure
- that communicates with the payload properly. Going forward, we also will
- want to do more QEMU runtime checks for other targets.
-
- Currently, with this config alone, I already see about half of the available
- targets as broken. So it's definitely desperately needed :).
-
- Reviewed-by: Daniel Kiper
-
-2019-02-25 Steve McIntyre <93sam@debian.org>
-
- grub-install: Check for arm-efi as a default target
- Much like on x86, we can work out if the system is running on top
- of EFI firmware. If so, return "arm-efi". If not, fall back to
- "arm-uboot" as previously.
-
- Heavily inspired by the existing code for x86.
-
- Reviewed-by: Leif Lindholm
- Reviewed-by: Daniel Kiper
-
-2019-02-25 Leif Lindholm
-
- arm64/efi: Fix grub_efi_get_ram_base()
- grub_efi_get_ram_base() looks for the lowest available RAM address by
- traversing the memory map, comparing lowest address found so far.
- Due to a brain glitch, that "so far" was initialized to GRUB_UINT_MAX -
- completely preventing boot on systems without RAM below 4GB.
-
- Change the initial value to GRUB_EFI_MAX_USABLE_ADDRESS, as originally
- intended.
-
- Reported-by: Steve McIntyre <93sam@debian.org>
- Tested-by: Steve McIntyre <93sam@debian.org>
- Reviewed-by: Daniel Kiper
-
-2019-02-25 Paul Menzel
-
- normal/menu: Do not treat error values as key presses
- Some terminals, like `grub-core/term/at_keyboard.c`, return `-1` in case
- they are not ready yet.
-
- if (! KEYBOARD_ISREADY (grub_inb (KEYBOARD_REG_STATUS)))
- return -1;
-
- Currently, that is treated as a key press, and the menu time-out is
- cancelled/cleared. This is unwanted, as the boot is stopped and the user
- manually has to select a menu entry. Therefore, adapt the condition to
- require the key value also to be greater than 0.
-
- `GRUB_TERM_NO_KEY` is defined as 0, so the condition could be collapsed
- to greater or equal than (≥) 0, but the compiler will probably do that
- for us anyway, so keep the cases separate for clarity.
-
- This is tested with coreboot, the GRUB default payload, and the
- configuration file `grub.cfg` below.
-
- For GRUB:
-
- $ ./autogen.sh
- $ ./configure --with-platform=coreboot
- $ make -j`nproc`
- $ make default_payload.elf
-
- For coreboot:
-
- $ more grub.cfg
- serial --unit 0 --speed 115200
- set timeout=5
-
- menuentry 'halt' {
- halt
- }
- $ build/cbfstool build/coreboot.rom add-payload \
- -f /dev/shm/grub/default_payload.elf -n fallback/payload -c lzma
- $ build/cbfstool build/coreboot.rom add -f grub.cfg -n etc/grub.cfg -t raw
- $ qemu-system-x86_64 --version
- QEMU emulator version 3.1.0 (Debian 1:3.1+dfsg-2+b1)
- Copyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers
- $ qemu-system-x86_64 -M pc -bios build/coreboot.rom -serial stdio -nic none
-
- Currently, the time-out is cancelled/cleared. With the commit, it is not.
- With a small GRUB payload, this the problem is also reproducible on the
- ASRock E350M1.
-
- Link: http://lists.gnu.org/archive/html/grub-devel/2019-01/msg00037.html
-
- Reviewed-by: Daniel Kiper
-
-2019-02-25 Alexander Graf
-
- fdt: Treat device tree file type like ACPI
- We now have signature check logic in grub which allows us to treat
- files differently depending on their file type.
-
- Treat a loaded device tree like an overlayed ACPI table.
- Both describe hardware, so I suppose their threat level is the same.
-
- Reviewed-by: Daniel Kiper
- Reviewed-by: Alistair Francis
-
-2019-02-25 Alexander Graf
-
- RISC-V: Add to build system
- This patch adds support for RISC-V to the grub build system. With this
- patch, I can successfully build grub on RISC-V as a UEFI application.
-
- Reviewed-by: Alistair Francis
- Reviewed-by: Bin Meng
- Tested-by: Bin Meng
- Reviewed-by: Daniel Kiper
-
-2019-02-25 Alexander Graf
-
- RISC-V: Add libgcc helpers for clz
- Gcc may decide it wants to call helper functions to execute clz. Provide
- them in our own copy of libgcc.
-
- Reviewed-by: Daniel Kiper
-
-2019-02-25 Alexander Graf
-
- RISC-V: Add auxiliary files
- To support a new architecture we need to provide a few helper functions
- for memory, cache, timer, etc support.
-
- This patch adds the remainders of those. Some bits are still disabled,
- as I couldn't guarantee that we're always running on models / in modes
- where the respective hardware is available.
-
- Reviewed-by: Alistair Francis
- Reviewed-by: Daniel Kiper
-
-2019-02-25 Alexander Graf
-
- RISC-V: Add awareness for RISC-V reloations
- This patch adds awareness of RISC-V relocations throughout the grub tools
- as well as dynamic linkage and elf->PE relocation conversion support.
-
- Reviewed-by: Alistair Francis
- Reviewed-by: Daniel Kiper
-
-2019-02-25 Alexander Graf
-
- RISC-V: Add Linux load logic
- We currently only support to run grub on RISC-V as UEFI payload. Ideally,
- we also only want to support running Linux underneath as UEFI payload.
-
- Prepare that with some Linux boot stub code. Once the arm64 target is
- generalized, we can hook into that one and gain boot functionality.
-
- Reviewed-by: Alistair Francis
- Reviewed-by: Daniel Kiper
-
-2019-02-25 Alexander Graf
-
- RISC-V: Add early startup code
- On entry, we need to save the system table pointer as well as our image
- handle. Add an early startup file that saves them and then brings us
- into our main function.
-
- Reviewed-by: Alistair Francis
- Reviewed-by: Bin Meng
- Tested-by: Bin Meng
- Reviewed-by: Daniel Kiper
-
-2019-02-25 Alexander Graf
-
- RISC-V: Add setjmp implementation
- This patch adds a 32/64 capable setjmp implementation for RISC-V.
-
- Reviewed-by: Alistair Francis
- Reviewed-by: Bin Meng
- Tested-by: Bin Meng
- Reviewed-by: Daniel Kiper
-
-2019-02-25 Alexander Graf
-
- elf.h: Add RISC-V definitions
- The RISC-V ABI document outlines ELF header structure and relocation
- information. Pull the respective magic numbers into our elf header
- so we can make use of them.
-
- Reviewed-by: Alistair Francis
- Reviewed-by: Bin Meng
- Tested-by: Bin Meng
- Reviewed-by: Daniel Kiper
-
-2019-02-25 Alexander Graf
-
- PE: Add RISC-V definitions
- The PE format defines magic numbers as well as relocation identifiers for
- RISC-V. Add them to our include file, so we can make use of them.
-
- Reviewed-by: Leif Lindholm
- Reviewed-by: Alistair Francis
- Reviewed-by: Bin Meng
- Tested-by: Bin Meng
- Reviewed-by: Daniel Kiper
-
-2019-02-25 Alexander Graf
-
- efi: Rename armxx to arch
- Some architectures want to boot Linux as plain UEFI binary. Today that
- really only encompasses ARM and AArch64, but going forward more
- architectures may adopt that model.
-
- So rename our internal API accordingly.
-
- Acked-by: Leif Lindholm
- Reviewed-by: Alistair Francis
- Reviewed-by: Bin Meng
- Tested-by: Bin Meng
- Reviewed-by: Daniel Kiper
-
-2019-02-06 Alexander Graf
-
- mkimage: Clarify file alignment in efi case
- There are a few spots in the PE generation code for EFI binaries that uses
- the section alignment rather than file alignment, even though the alignment
- is really only file bound.
-
- Replace those cases with the file alignment constant instead.
-
- Reported-by: Daniel Kiper
- Reviewed-by: Daniel Kiper
- Tested-by: Julien ROBIN
-
-2019-02-06 Alexander Graf
-
- mkimage: Align efi sections on 4k boundary
- There is UEFI firmware popping up in the wild now that implements stricter
- permission checks using NX and write protect page table entry bits.
-
- This means that firmware now may fail to load binaries if its individual
- sections are not page aligned, as otherwise it can not ensure permission
- boundaries.
-
- So let's bump all efi section alignments up to 4k (EFI page size). That way
- we will stay compatible going forward.
-
- Unfortunately our internals can't deal very well with a mismatch of alignment
- between the virtual and file offsets, so we have to also pad our target
- binary a bit.
-
- Reviewed-by: Daniel Kiper
- Tested-by: Julien ROBIN
-
-2019-02-06 Alexander Graf
-
- mkimage: Use EFI32_HEADER_SIZE define in arm-efi case
- The efi-arm case was defining its own header size calculation, even though it's
- 100% identical to the common EFI32_HEADER_SIZE definition.
-
- So let's clean it up to use the common define.
-
- Reviewed-by: Daniel Kiper
- Tested-by: Julien ROBIN
-
-2019-02-06 Guillaume GARDET
-
- arm: Move initrd upper to leave more space for kernel
- This patch allows to have bigger kernels. If the kernel grows, then it will
- overwrite the initrd when it is extracted.
-
- Acked-by: Alexander Graf
- Reviewed-by: Daniel Kiper
-
-2019-01-23 Leif Lindholm
-
- linux, efi, arm*, fdt: Break FDT extra allocation space out into a #define
- A certain amount of dynamic space is required for the handover from
- GRUB/Linux-EFI-stub. This entails things like initrd addresses,
- address-cells entries and associated strings.
-
- But move this into a proper centralised #define rather than live-code
- it in the loader.
-
- Reviewed-by: Daniel Kiper
-
-2019-01-22 Cristian Ciocaltea
-
- uboot: Add the missing disk write operation support
- uboot_disk_write() is currently lacking the write support
- to storage devices because, historically, those devices did not
- implement block_write() in U-Boot.
-
- The solution has been tested using a patched U-Boot loading
- and booting GRUB in a QEMU vexpress-a9 environment.
- The disk write operations were triggered with GRUB's save_env
- command.
-
- Reviewed-by: Daniel Kiper
-
-2019-01-21 Max Tottenham
-
- tpm: Fix bug in GRUB2 TPM module
- The value of tpm_handle changes between successive calls to grub_tpm_handle_find(),
- as instead of simply copying the stored pointer we end up taking the address of
- said pointer when using the cached value of grub_tpm_handle.
-
- This causes grub_efi_open_protocol() to return a nullptr in grub_tpm2_execute()
- and grub_tpm2_log_event(). Said nullptr goes unchecked and
- efi_call_5(tpm->hash_log_extend_event,...) ends up jumping to 0x0, Qemu crashes
- once video ROM is reached at 0xb0000.
-
- This patch seems to do the trick of fixing that bug, but we should also ensure
- that all calls to grub_efi_open_protocol() are checked so that we don't start
- executing low memory.
-
- Reviewed-by: Matthew Garrett
- Reviewed-by: Daniel Kiper
-
-2019-01-14 Colin Watson
-
- pgp: Fix emu build and tests after pgp module renaming
- Commit b07feb8746c3bb845e3f0d33d37c0bded704d14d (verifiers: Rename
- verify module to pgp module) renamed the "verify" module to "pgp", but
- the GRUB_MOD_INIT and GRUB_MOD_FINI macros were left as "verify", which
- broke the emu target build; and file_filter_test still referred to the
- now non-existent "verify" module. Fix both of these.
-
- Reviewed-by: Daniel Kiper
-
-2019-01-14 Peter Große
-
- grub-mkconfig/20_linux_xen: Support multiple early initrd images
- Add support for multiple, shared, early initrd images. These early
- images will be loaded in the order declared, and all will be loaded
- before the initrd image.
-
- While many classes of data can be provided by early images, the
- immediate use case would be for distributions to provide CPU
- microcode to mitigate the Meltdown and Spectre vulnerabilities.
-
- Xen has also support to load microcode updates provided as additional
- modules by the bootloader.
-
- There are two environment variables provided for declaring the early
- images.
-
- * GRUB_EARLY_INITRD_LINUX_STOCK is for the distribution declare
- images that are provided by the distribution or installed packages.
- If undeclared, this will default to a set of common microcode image
- names.
-
- * GRUB_EARLY_INITRD_LINUX_CUSTOM is for user created images. User
- images will be loaded after the stock images.
-
- These separate configurations allow the distribution and user to
- declare different image sets without clobbering each other.
-
- This also makes a minor update to ensure that UUID partition labels
- stay disabled when no initrd image is found, even if early images are
- present.
-
- This is basically a copy of a698240d "grub-mkconfig/10_linux: Support
- multiple early initrd images" by Matthew S. Turnbull.
-
- Reviewed-by: Daniel Kiper
-
-2019-01-14 Heinrich Schuchardt
-
- grub-core/loader/efi/fdt.c: Do not copy random memory
- We should not try to copy any memory area which is outside of the original
- fdt. If this extra memory is controlled by a hypervisor this might end
- with a crash.
-
- Reviewed-by: Leif Lindholm
- Reviewed-by: Daniel Kiper
-
-2018-12-12 Matthew Garrett
-
- verifiers: Add TPM documentation
- Describe the behaviour of GRUB when the TPM module is in use.
-
- Reviewed-by: Daniel Kiper
-
-2018-12-12 Matthew Garrett
-
- verifiers: Core TPM support
- Add support for performing basic TPM measurements. Right now this only
- supports extending PCRs statically and only on UEFI. In future we might
- want to have some sort of mechanism for choosing which events get logged
- to which PCRs, but this seems like a good default policy and we can wait
- to see whether anyone has a use case before adding more complexity.
-
- Reviewed-by: Daniel Kiper
-
-2018-12-12 Matthew Garrett
-
- verifiers: Verify commands executed by grub
- Pass all commands executed by GRUB to the verifiers layer. Most verifiers will
- ignore this, but some (such as the TPM verifier) want to be able to measure and
- log each command executed in order to ensure that the boot state is as expected.
-
- Reviewed-by: Daniel Kiper
-
-2018-12-12 Juergen Gross