mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
set hash default value to 0x30 ("0")
this makes it much easier to detect if a loader failed to set a hash in other routines.
This commit is contained in:
parent
7b8a598020
commit
3da1ed181e
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ pub fn phase_2(cfg: &mut BootConfig, fs_prehash: &[u8; 64]) {
|
||||||
0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30,
|
0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30,
|
||||||
0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30,
|
0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30,
|
||||||
0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30,
|
0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30,
|
||||||
0x30, 0x41, 0x42, 0x43, 0x44, 0x45, 0x30, 0x30,
|
0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30,
|
||||||
];
|
];
|
||||||
// Convert the fs_prehash into a hex ascii string, suitable for environment variables
|
// Convert the fs_prehash into a hex ascii string, suitable for environment variables
|
||||||
// The initial loader environment is hard-coded, so we use a hard-coded offset for the string
|
// The initial loader environment is hard-coded, so we use a hard-coded offset for the string
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue