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.1 by gbeauche, 2003-12-04T17:26:38Z vs.
Revision 1.2 by gbeauche, 2003-12-05T12:36:11Z

# Line 79 | Line 79 | extern uint32 NativeFunction(int selecto
79   class SheepMem {
80          static uint32 align(uint32 size);
81   protected:
82 +        static uintptr zero_page;
83          static uintptr base;
84          static uintptr top;
85          static const uint32 size = 0x40000;
86   public:
87          static bool Init(void);
88          static void Exit(void);
89 +        static uintptr ZeroPage();
90          static uintptr Reserve(uint32 size);
91          static void Release(uint32 size);
92          friend class SheepVar;
# Line 96 | Line 98 | inline uint32 SheepMem::align(uint32 siz
98          return (size + 3) & -4;
99   }
100  
101 + inline uintptr SheepMem::ZeroPage()
102 + {
103 +  return zero_page;
104 + }
105 +
106   inline uintptr SheepMem::Reserve(uint32 size)
107   {
108          top -= align(size);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines