mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-08 04:56:43 +00:00
change volume label
This commit is contained in:
parent
fded456115
commit
b68abf1d2b
1 changed files with 1 additions and 2 deletions
|
|
@ -26,7 +26,6 @@ pub(crate) const HEAP_LEN: usize = 128 * 1024;
|
|||
// 0x0b~0x0C 2 bytes means block size, default 0x200 bytes
|
||||
// 0x20~0x23 4 bytes means block number, default 0x400 block
|
||||
#[rustfmt::skip] // keep this in 16-byte width
|
||||
// TODO: change volume label from BAOSOR to BAOSEC
|
||||
pub(crate) const MBR_TEMPLATE: [u8; SECTOR_SIZE as usize] = [
|
||||
0xEB, 0x3C, 0x90, 0x4D, 0x53, 0x44, 0x4F, 0x53, 0x35, 0x2E, 0x30, 0x00, 0x02, 0x20, 0x06, 0x00,
|
||||
0x02, 0x00, 0x02, 0x00, 0x0C, 0xF8, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
|
|
@ -68,7 +67,7 @@ pub(crate) const TABLE_OFFSET_FAT2: usize = 0xE00;
|
|||
|
||||
#[rustfmt::skip] // keep this in 16-byte width
|
||||
pub (crate) const ROOT_DIR: [u8; 0x80] = [
|
||||
0x42, 0x41, 0x4F, 0x53, 0x4F, 0x52, 0x20, 0x20, 0x20, 0x20, 0x20, 0x08, 0x00, 0x00, 0x00, 0x00,
|
||||
0x42, 0x41, 0x4F, 0x53, 0x45, 0x43, 0x20, 0x20, 0x20, 0x20, 0x20, 0x08, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xCD, 0x78, 0x74, 0x59, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x42, 0x20, 0x00, 0x49, 0x00, 0x6E, 0x00, 0x66, 0x00, 0x6F, 0x00, 0x0F, 0x00, 0x72, 0x72, 0x00,
|
||||
0x6D, 0x00, 0x61, 0x00, 0x74, 0x00, 0x69, 0x00, 0x6F, 0x00, 0x00, 0x00, 0x6E, 0x00, 0x00, 0x00,
|
||||
|
|
|
|||
Loading…
Reference in a new issue