Annotation of nono/vm/gvram.h, revision 1.1

1.1     ! root        1: //
        !             2: // nono
        !             3: // Copyright (C) 2018 [email protected]
        !             4: //
        !             5: 
        !             6: #pragma once
        !             7: 
        !             8: #include "device.h"
        !             9: 
        !            10: class GVRAMDevice
        !            11:        : public IODevice
        !            12: {
        !            13:        typedef IODevice inherited;
        !            14:  public:
        !            15:        GVRAMDevice();
        !            16:        virtual ~GVRAMDevice();
        !            17: 
        !            18:        virtual uint64 Read8(uint32 addr);
        !            19:        virtual uint64 Read16(uint32 addr);
        !            20:        virtual uint64 Write8(uint32 addr, uint32 data);
        !            21:        virtual uint64 Write16(uint32 addr, uint32 data);
        !            22:        virtual uint64 Peek8(uint32 addr);
        !            23: 
        !            24:  private:
        !            25:        uint8 *mem = NULL;
        !            26: };
        !            27: 
        !            28: extern GVRAMDevice *gGVRAM;

unix.superglobalmegacorp.com

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