RAM driver for the PSRAM of the QEMU Pebble machines.
More...
RAM driver for the PSRAM of the QEMU Pebble machines.
The memory is always mapped and powered: it takes no setting up and has no power states.
◆ pbl_ram_qemu
| Data Fields |
|
uintptr_t |
base |
CPU address of the memory. |
|
struct pbl_ram |
ram |
RAM device. |
|
size_t |
size |
Size of the memory, in bytes. |
◆ PBL_RAM_QEMU_DEFINE
| #define PBL_RAM_QEMU_DEFINE |
( |
|
sym, |
|
|
|
_name, |
|
|
|
_base, |
|
|
|
_size |
|
) |
| |
Value:
.ram =
PBL_RAM_INIT(sym, _name,
nullptr,
nullptr, &pbl_ram_qemu_ops), .base = (_base), \
.size = (_size), \
}
QEMU PSRAM.
Definition qemu.h:18
RAM device.
Definition ram.h:71
#define PBL_RAM_STATE_DEFINE(sym)
Definition ram.h:86
#define PBL_RAM_INIT(sym, _name, _parent, _deps, _ops)
Definition ram.h:90
Define a QEMU PSRAM.
- Parameters
-
| sym | Symbol of the device. |
| _name | Name. |
| _base | CPU address of the memory. |
| _size | Size of the memory, in bytes. |