add 1024 sized sectors
This commit is contained in:
parent
ce162aae90
commit
02f70ee974
|
@ -17,6 +17,12 @@ impl Size for Size512 {
|
||||||
const LOG_SIZE: u32 = 9;
|
const LOG_SIZE: u32 = 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
|
||||||
|
pub struct Size1024;
|
||||||
|
impl Size for Size1024 {
|
||||||
|
const LOG_SIZE: u32 = 10;
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
|
||||||
pub struct Size2048;
|
pub struct Size2048;
|
||||||
impl Size for Size2048 {
|
impl Size for Size2048 {
|
||||||
|
|
Reference in a new issue