ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/include/thunks.h
(Generate patch)

Comparing SheepShaver/src/include/thunks.h (file contents):
Revision 1.4 by gbeauche, 2004-01-24T11:28:05Z vs.
Revision 1.5 by gbeauche, 2004-02-24T11:12:53Z

# Line 86 | Line 86 | extern uint32 NativeRoutineDescriptor(in
86   class SheepMem {
87          static uint32 align(uint32 size);
88   protected:
89 +        static uint32  page_size;
90          static uintptr zero_page;
91          static uintptr base;
92          static uintptr top;
# Line 93 | Line 94 | protected:
94   public:
95          static bool Init(void);
96          static void Exit(void);
97 +        static uint32 PageSize();
98          static uintptr ZeroPage();
99          static uintptr Reserve(uint32 size);
100          static void Release(uint32 size);
# Line 105 | Line 107 | inline uint32 SheepMem::align(uint32 siz
107          return (size + 3) & -4;
108   }
109  
110 + inline uint32 SheepMem::PageSize()
111 + {
112 +  return page_size;
113 + }
114 +
115   inline uintptr SheepMem::ZeroPage()
116   {
117    return zero_page;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines