#[repr(u64)]
pub enum Value {
    NoCache,
    InstructionCacheOnly,
    DataCacheOnly,
    SeparateInstructionAndDataCaches,
    UnifiedCache,
}
Expand description

Cache Type field 6.

Indicates the type of cache that is implemented and can be managed using the architected cache maintenance instructions that operate by set/way at each level, from Level 1 up to a maximum of seven levels of cache hierarchy.

All values other than the defined ones are considered reserved.

If software reads the Cache Type fields from [CLIDR_EL1::Ctype1] upwards, once it has seen a value of 000, no caches that can be managed using the architected cache maintenance instructions that operate by set/way exist at further-out levels of the hierarchy. So, for example, if Ctype3 is the first Cache Type field with a value of 000, the values of Ctype4 to Ctype7 must be ignored.

Variants

NoCache

No cache.

InstructionCacheOnly

Instruction cache only.

DataCacheOnly

Data cache only.

SeparateInstructionAndDataCaches

Separate instruction and data caches.

UnifiedCache

Unified cache.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.