[bootloader] Fix exam mode with Epsilon 19 and add support for Epsilon 20 (#302)

* [bootloader] Fix exam mode on Epsilon 19

* [bootloader] Fix comment indentation

* [bootloader] Restore comment indentation (even if GitHub tell that it isn't indented properly)

* [bootloader] Turn tabulations into spaces

* [bootloader] Mark Epsilon 19 as "safe to boot"

* [bootloader] Fix Epsilon 20 boot

* [bootloader] Chang version to 1.0.2
This commit is contained in:
Yaya-Cout
2022-12-03 18:14:43 +01:00
committed by GitHub
parent 08eb1aec99
commit 851ec2ab69
10 changed files with 196 additions and 141 deletions

View File

@@ -10,7 +10,9 @@ const char * UserlandHeader::version() const {
}
const bool UserlandHeader::isValid() const {
return m_header == Magic && m_footer == Magic;
// We only verify only the first Magic Number, to display version such as
// Epsilon 16 with older UserlandHeader layout
return m_header == Magic;
}
const bool UserlandHeader::isOmega() const {