xous-core/libs
bunnie faa867e63d fix bug in page alignment logic
size, you can do this one liner:

let aligned_size = ((unasigned_size + alignment_quanta - 1) / (alignment_quanta)) * alignment_quanta;

before i was doing this with a `let mut` + `if` statement. this is not as obvious
but more compact, probably you'll start to see this idiom more and more in the code.

I think it's also computationally efficient, because as long as
the alignment_quanta is a power of 2, the compiler does something
like a shift right with the `/` operator (and it may also do something
like a shift left with the `*` operator as well).
2024-01-28 17:08:04 +08:00
..
chat format Cargo.tomls 2024-01-15 00:14:39 +08:00
cos_table format libs/cos_table 2024-01-14 19:12:38 +08:00
cramium-hal fix bug in page alignment logic 2024-01-28 17:08:04 +08:00
mass-storage format Cargo.tomls 2024-01-15 00:14:39 +08:00
perflib relate perlib to the libs/ directory 2024-01-15 00:52:43 +08:00
tls format Cargo.tomls 2024-01-15 00:14:39 +08:00
userprefs prefsgenerator not in workspace but still needs formatting 2024-01-15 01:04:36 +08:00
xous-pio xous is now a Rust target, so we have to specify baremetal explicitly 2024-01-20 17:45:36 +08:00
xous-pl230 update toml's to reflect baremetal->std change 2024-01-27 16:53:35 +08:00