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.6 by gbeauche, 2004-04-18T23:03:52Z

# Line 55 | Line 55 | enum {
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_8,
64 +  NATIVE_FILLRECT_32,
65    NATIVE_OP_MAX
66   };
67  
# Line 86 | Line 93 | extern uint32 NativeRoutineDescriptor(in
93   class SheepMem {
94          static uint32 align(uint32 size);
95   protected:
96 +        static uint32  page_size;
97          static uintptr zero_page;
98          static uintptr base;
99          static uintptr top;
# Line 93 | Line 101 | protected:
101   public:
102          static bool Init(void);
103          static void Exit(void);
104 +        static uint32 PageSize();
105          static uintptr ZeroPage();
106          static uintptr Reserve(uint32 size);
107          static void Release(uint32 size);
# Line 105 | Line 114 | inline uint32 SheepMem::align(uint32 siz
114          return (size + 3) & -4;
115   }
116  
117 + inline uint32 SheepMem::PageSize()
118 + {
119 +  return page_size;
120 + }
121 +
122   inline uintptr SheepMem::ZeroPage()
123   {
124    return zero_page;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines