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.11 by gbeauche, 2004-11-22T21:50:45Z vs.
Revision 1.15 by gbeauche, 2006-05-13T17:12:18Z

# Line 32 | Line 32 | enum {
32    NATIVE_VIDEO_INSTALL_ACCEL,
33    NATIVE_VIDEO_VBL,
34    NATIVE_VIDEO_DO_DRIVER_IO,
35 +  NATIVE_ETHER_AO_GET_HWADDR,
36 +  NATIVE_ETHER_AO_ADD_MULTI,
37 +  NATIVE_ETHER_AO_DEL_MULTI,
38 +  NATIVE_ETHER_AO_SEND_PACKET,
39    NATIVE_ETHER_IRQ,
40    NATIVE_ETHER_INIT,
41    NATIVE_ETHER_TERM,
# Line 53 | Line 57 | enum {
57    NATIVE_R_GET_RESOURCE,
58    NATIVE_MAKE_EXECUTABLE,
59    NATIVE_CHECK_LOAD_INVOC,
60 <  NATIVE_SYNC_HOOK,
61 <  NATIVE_BITBLT_HOOK,
62 <  NATIVE_FILLRECT_HOOK,
63 <  NATIVE_BITBLT,
64 <  NATIVE_INVRECT,
65 <  NATIVE_FILLRECT,
60 >  NATIVE_NQD_SYNC_HOOK,
61 >  NATIVE_NQD_BITBLT_HOOK,
62 >  NATIVE_NQD_FILLRECT_HOOK,
63 >  NATIVE_NQD_UNKNOWN_HOOK,
64 >  NATIVE_NQD_BITBLT,
65 >  NATIVE_NQD_INVRECT,
66 >  NATIVE_NQD_FILLRECT,
67 >  NATIVE_NAMED_CHECK_LOAD_INVOC,
68 >  NATIVE_GET_NAMED_RESOURCE,
69 >  NATIVE_GET_1_NAMED_RESOURCE,
70    NATIVE_OP_MAX
71   };
72  
# Line 166 | Line 174 | static inline uint32 SheepProc(const uin
174          return mac_proc;
175   }
176  
177 + #define BUILD_SHEEPSHAVER_PROCEDURE(PROC)                                                       \
178 +        static uint32 PROC = 0;                                                                                 \
179 +        if (PROC == 0)                                                                                                  \
180 +                PROC = SheepProc(PROC##_template, sizeof(PROC##_template))
181 +
182   class SheepVar
183   {
184          uint32 m_base;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines