Add support for EVEN/ODD PIM configuration
This commit is contained in:
@@ -19,7 +19,7 @@ impl PimState {
|
||||
|
||||
// TODO return token and return to singlebank when dropped
|
||||
pub fn set_bank_mode(&mut self, bank_mode: BankMode) {
|
||||
if cfg!(cacheless) {
|
||||
if cfg!(feature = "cacheless") {
|
||||
match bank_mode {
|
||||
BankMode::SingleBank => unsafe { boot::set_page_table_cache() },
|
||||
BankMode::AllBank => (),
|
||||
|
||||
Reference in New Issue
Block a user