180 |
|
static uint32 allocb_tvect = 0; |
181 |
|
mblk_t *allocb(size_t arg1, int arg2) |
182 |
|
{ |
183 |
< |
return (mblk_t *)CallMacOS2(allocb_ptr, allocb_tvect, arg1, arg2); |
183 |
> |
return (mblk_t *)Mac2HostAddr(CallMacOS2(allocb_ptr, allocb_tvect, arg1, arg2)); |
184 |
|
} |
185 |
|
typedef void (*freeb_ptr)(mblk_t *); |
186 |
|
static uint32 freeb_tvect = 0; |
198 |
|
static uint32 copyb_tvect = 0; |
199 |
|
static inline mblk_t *copyb(mblk_t *arg1) |
200 |
|
{ |
201 |
< |
return (mblk_t *)CallMacOS1(copyb_ptr, copyb_tvect, arg1); |
201 |
> |
return (mblk_t *)Mac2HostAddr(CallMacOS1(copyb_ptr, copyb_tvect, arg1)); |
202 |
|
} |
203 |
|
typedef mblk_t *(*dupmsg_ptr)(mblk_t *); |
204 |
|
static uint32 dupmsg_tvect = 0; |
205 |
|
static inline mblk_t *dupmsg(mblk_t *arg1) |
206 |
|
{ |
207 |
< |
return (mblk_t *)CallMacOS1(dupmsg_ptr, dupmsg_tvect, arg1); |
207 |
> |
return (mblk_t *)Mac2HostAddr(CallMacOS1(dupmsg_ptr, dupmsg_tvect, arg1)); |
208 |
|
} |
209 |
|
typedef mblk_t *(*getq_ptr)(queue_t *); |
210 |
|
static uint32 getq_tvect = 0; |
211 |
|
static inline mblk_t *getq(queue_t *arg1) |
212 |
|
{ |
213 |
< |
return (mblk_t *)CallMacOS1(getq_ptr, getq_tvect, arg1); |
213 |
> |
return (mblk_t *)Mac2HostAddr(CallMacOS1(getq_ptr, getq_tvect, arg1)); |
214 |
|
} |
215 |
|
typedef int (*putq_ptr)(queue_t *, mblk_t *); |
216 |
|
static uint32 putq_tvect = 0; |
282 |
|
static uint32 mi_next_ptr_tvect = 0; |
283 |
|
static inline DLPIStream *mi_next_ptr(DLPIStream *arg1) |
284 |
|
{ |
285 |
< |
return (DLPIStream *)CallMacOS1(mi_next_ptr_ptr, mi_next_ptr_tvect, arg1); |
285 |
> |
return (DLPIStream *)Mac2HostAddr(CallMacOS1(mi_next_ptr_ptr, mi_next_ptr_tvect, arg1)); |
286 |
|
} |
287 |
|
|
288 |
|
|