pub struct Config {
max_cpu: NonZero<usize>,
unknown_dmem1: u8,
idps: &'static ConsoleId,
qa: bool,
qa_flags: &'static QaFlags,
env_vars: Box<[(&'static str, &'static str)]>,
}Expand description
Runtime configurations for the kernel populated from [config::Config].
Fields§
§max_cpu: NonZero<usize>§unknown_dmem1: u8§idps: &'static ConsoleId§qa: bool§qa_flags: &'static QaFlags§env_vars: Box<[(&'static str, &'static str)]>Implementations§
Source§impl Config
impl Config
pub fn new(src: &'static Config) -> Arc<Self>
pub fn max_cpu(&self) -> NonZero<usize>
pub fn unknown_dmem1(&self) -> u8
pub fn idps(&self) -> &'static ConsoleId
Sourcepub fn is_allow_disabling_aslr(&self) -> bool
pub fn is_allow_disabling_aslr(&self) -> bool
See sceSblRcMgrIsAllowDisablingAslr on the Orbis for a reference.
§Reference offsets
| Version | Offset |
|---|---|
| PS4 11.00 | 0x3CA8F0 |
Sourcepub fn is_devkit(&self) -> bool
pub fn is_devkit(&self) -> bool
See sceSblAIMgrIsDevKit on the Orbis for a reference.
§Reference offsets
| Version | Offset |
|---|---|
| PS4 11.00 | 0x078F50 |
Sourcepub fn is_testkit(&self) -> bool
pub fn is_testkit(&self) -> bool
See sceSblAIMgrIsTestKit on the Orbis for a reference.
§Reference offsets
| Version | Offset |
|---|---|
| PS4 11.00 | 0x0790A0 |
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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