[ C++ RCOS Home | RCOS.java Home | RCOS Home | David's Home ]

RCOS C++ CRC for class Mmu

Name:

Mmu

Comment:

This is the MMU "driver" (based as usual on the port class)

Collaborators:

Responsibilities:

 class Mmu : public port {
    UINT16 *pMemBlk;                // memory block managed by driver
    PGTBL  arrPgTbl[MAX_PARTS];     // array of pages in main memory
    HANDLE FindFree (PPGTBL);       // get a free page handle
  public:
    Mmu (UINT16, UINT16, Knl*);     // constructor
    ~Mmu (void);                    // destructir
    void RxPort (PMSG);             // supply virtual member of "port"
  };