Annotation of nono/vm/areaset.h, revision 1.1.1.7

1.1       root        1: //
                      2: // nono
1.1.1.2   root        3: // Copyright (C) 2020 nono project
                      4: // Licensed under nono-license.txt
1.1       root        5: //
                      6: 
                      7: #pragma once
                      8: 
                      9: #include "device.h"
                     10: 
1.1.1.6   root       11: class AreaSetDevice : public IODevice
1.1       root       12: {
1.1.1.2   root       13:        using inherited = IODevice;
1.1.1.7 ! root       14: 
1.1       root       15:        static const int baseaddr = 0xe86000;
                     16: 
                     17:  public:
                     18:        AreaSetDevice();
1.1.1.4   root       19:        virtual ~AreaSetDevice() override;
1.1       root       20: 
1.1.1.7 ! root       21:        void ResetHard(bool poweron) override;
1.1.1.3   root       22: 
1.1.1.2   root       23:        uint64 Read8(uint32 addr) override;
                     24:        uint64 Read16(uint32 addr) override;
                     25:        uint64 Write8(uint32 addr, uint32 data) override;
                     26:        uint64 Write16(uint32 addr, uint32 data) override;
                     27:        uint64 Peek8(uint32 addr) override;
1.1       root       28: 
                     29:  private:
1.1.1.3   root       30:        uint8 limit {};
1.1       root       31: };
1.1.1.5   root       32: 
1.1.1.7 ! root       33: extern AreaSetDevice *gAreaSet;

unix.superglobalmegacorp.com

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