|
|
1.1 root 1: //
2: // nono
3: // Copyright (C) 2024 nono project
4: // Licensed under nono-license.txt
5: //
6:
7: //
8: // QEMU Virtual System Controller
9: //
10:
11: #pragma once
12:
13: #include "device.h"
14:
15: class QemuSysCtlrDevice : public IODevice
16: {
17: using inherited = IODevice;
18:
19: static const uint32 FEATURES = 0x00000001;
20:
21: public:
22: QemuSysCtlrDevice();
23: ~QemuSysCtlrDevice() override;
24:
25: busdata Read32(uint32 addr) override;
26: busdata Write32(uint32 addr, uint32 data) override;
27: busdata Peek8(uint32 addr) override;
28: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.