pub struct Memory {
pub processor_name: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub access: Option<String>,
pub start: u64,
pub size: u64,
pub default: Option<bool>,
pub startup: Option<bool>,
pub uninit: Option<bool>,
pub init: Option<bool>,
pub alias: Option<String>,
}Expand description
Represents a PDSC board memory element
Fields§
§processor_name: Option<String>Processor identifier for multi-processor boards
id: Option<String>Deprecated memory region identifier
name: Option<String>Unique memory region name
access: Option<String>Access permissions (e.g. rx, rw, rwx)
start: u64Base address of the memory region (hex or decimal)
size: u64Size of the memory region in bytes (hex or decimal)
default: Option<bool>Whether this is the general-purpose memory for the linker (default: false)
startup: Option<bool>Whether startup code should be placed here (default: false)
uninit: Option<bool>Whether the region should remain uninitialized (default: false)
init: Option<bool>Whether the region is initialized (deprecated, use uninit instead)
alias: Option<String>Name of another memory region this region aliases
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Memory
impl<'de> Deserialize<'de> for Memory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Memory
impl StructuralPartialEq for Memory
Auto Trait Implementations§
impl Freeze for Memory
impl RefUnwindSafe for Memory
impl Send for Memory
impl Sync for Memory
impl Unpin for Memory
impl UnsafeUnpin for Memory
impl UnwindSafe for Memory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more