2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
5 Desc: IfAmigaXIP() function.
9 #include "card_intern.h"
11 AROS_LH1(struct Resident
*, IfAmigaXIP
,
12 AROS_LHA(struct CardHandle
*, handle
, A2
),
13 struct CardResource
*, CardResource
, 14, Cardres
)
17 struct TP_AmigaXIP xip
;
23 if (!CopyTuple(handle
, (UBYTE
*)&xip
, CISTPL_AMIGAXIP
, sizeof(xip
) - 2))
25 if (xip
.TPL_LINK
<= 6)
27 addr
= (xip
.TP_XIPLOC
[3] << 24) | (xip
.TP_XIPLOC
[2] << 16) | (xip
.TP_XIPLOC
[1] << 8) | (xip
.TP_XIPLOC
[0] << 0);
29 CARDDEBUG(bug("TP_AmigaXIP found, addr %p\n", addr
));