TD3:I3 implements ReadAtVirtual()
This commit is contained in:
parent
c35ccf876c
commit
8521a8b554
2 changed files with 56 additions and 6 deletions
|
@ -54,12 +54,18 @@ class AddrSpace:public dontcopythis
|
|||
BitMap * memoryMap;
|
||||
int AllocateUserStack();
|
||||
void DeAllocateUserStack(int addr);
|
||||
|
||||
|
||||
#endif
|
||||
private:
|
||||
NoffHeader noffH; // Program layout
|
||||
|
||||
TranslationEntry * pageTable; // Page table
|
||||
unsigned int numPages; // Number of pages in the page table
|
||||
#ifdef CHANGED
|
||||
static void ReadAtVirtual(OpenFile *executable,
|
||||
int virtualaddr, int numBytes, int position, TranslationEntry *pageTable, unsigned int numPages);
|
||||
#endif //CHANGED
|
||||
};
|
||||
|
||||
extern List AddrspaceList;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue