Annotation of nono/vm/qemusysctlr.h, revision 1.1.1.3

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: 
1.1.1.2   root       25:  protected:
                     26:        // BusIO インタフェース
                     27:        static const uint32 NPORT = 0x100 >> 2;
                     28:        busdata ReadPort(uint32 offset);
                     29:        busdata WritePort(uint32 offset,  uint32 data);
                     30:        busdata PeekPort(uint32 offset);
1.1.1.3 ! root       31: 
        !            32:  private:
        !            33:        void DoPanic();
1.1       root       34: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.