pub struct CONTEXT_PPC {
    pub context_flags: u32,
    pub srr0: u32,
    pub srr1: u32,
    pub gpr: [u32; 32],
    pub cr: u32,
    pub xer: u32,
    pub lr: u32,
    pub ctr: u32,
    pub mq: u32,
    pub vrsave: u32,
    pub float_save: FLOATING_SAVE_AREA_PPC,
    pub vector_save: VECTOR_SAVE_AREA_PPC,
}
Expand description

A PPC CPU context

This is a Breakpad extension, as there is no definition of CONTEXT for PPC in WinNT.h.

Fields

context_flags: u32srr0: u32srr1: u32gpr: [u32; 32]cr: u32xer: u32lr: u32ctr: u32mq: u32vrsave: u32float_save: FLOATING_SAVE_AREA_PPCvector_save: VECTOR_SAVE_AREA_PPC

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The word size of general-purpose registers in the context.

General purpose registers in this context type.

Get a register value regardless of whether it is valid.

Set a register value, if that register name it exists. Read more

Gets the name of the stack pointer register (for use with get_register/set_register).

Gets the name of the instruction pointer register (for use with get_register/set_register).

Gets whether the given register is valid Read more

Get a register value if it is valid. Read more

Gets a static version of the given register name, if possible. Read more

Return a String containing the value of reg formatted to its natural width.

An iterator over all registers in this context. Read more

An iterator over valid registers in this context. Read more

Formats the value using the given formatter. 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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.