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.3 by gbeauche, 2004-01-07T18:24:42Z vs.
Revision 1.7 by gbeauche, 2004-04-22T20:57:30Z

# Line 54 | Line 54 | enum {
54    NATIVE_DISABLE_INTERRUPT,
55    NATIVE_ENABLE_INTERRUPT,
56    NATIVE_MAKE_EXECUTABLE,
57 +  NATIVE_CHECK_LOAD_INVOC,
58 +  NATIVE_SYNC_HOOK,
59 +  NATIVE_BITBLT_HOOK,
60 +  NATIVE_FILLRECT_HOOK,
61 +  NATIVE_BITBLT,
62 +  NATIVE_INVRECT,
63 +  NATIVE_FILLRECT,
64    NATIVE_OP_MAX
65   };
66  
# Line 85 | Line 92 | extern uint32 NativeRoutineDescriptor(in
92   class SheepMem {
93          static uint32 align(uint32 size);
94   protected:
95 +        static uint32  page_size;
96          static uintptr zero_page;
97          static uintptr base;
98          static uintptr top;
# Line 92 | Line 100 | protected:
100   public:
101          static bool Init(void);
102          static void Exit(void);
103 +        static uint32 PageSize();
104          static uintptr ZeroPage();
105          static uintptr Reserve(uint32 size);
106          static void Release(uint32 size);
# Line 104 | Line 113 | inline uint32 SheepMem::align(uint32 siz
113          return (size + 3) & -4;
114   }
115  
116 + inline uint32 SheepMem::PageSize()
117 + {
118 +  return page_size;
119 + }
120 +
121   inline uintptr SheepMem::ZeroPage()
122   {
123    return zero_page;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines