PebbleOS v4.47.0-1312-gf1984a001
Loading...
Searching...
No Matches

Reset reason latched by the system controller of the QEMU Pebble machines. More...

Data Structures

struct  pbl_reset_cause_qemu
 QEMU reset cause. More...
 

Macros

#define PBL_RESET_CAUSE_QEMU_DEFINE(sym, _name, _base)
 Define a QEMU reset cause.
 

Detailed Description

Reset reason latched by the system controller of the QEMU Pebble machines.


Data Structure Documentation

◆ pbl_reset_cause_qemu

struct pbl_reset_cause_qemu

QEMU reset cause.

Data Fields
uintptr_t base Registers.
struct pbl_reset_cause rc Reset cause.

Macro Definition Documentation

◆ PBL_RESET_CAUSE_QEMU_DEFINE

#define PBL_RESET_CAUSE_QEMU_DEFINE (   sym,
  _name,
  _base 
)
Value:
PBL_DEVICE_INSTANCE(sym, struct pbl_reset_cause_qemu, struct pbl_reset_cause, rc) { \
.rc = PBL_RESET_CAUSE_INIT(sym, _name, nullptr, &pbl_reset_cause_qemu_ops), .base = (_base), \
}
QEMU reset cause.
Definition qemu.h:18
Reset cause.
Definition reset_cause.h:66
#define PBL_RESET_CAUSE_INIT(sym, _name, _parent, _ops)
Initialize a struct pbl_reset_cause.
Definition reset_cause.h:100
#define PBL_RESET_CAUSE_STATE_DEFINE(sym)
Define the class state of a reset cause.
Definition reset_cause.h:88

Define a QEMU reset cause.

Parameters
symSymbol of the device.
_nameName.
_baseRegisters of the block.