Hi, I looked again at the issue and it seems like this is an AMD64 issue, Adolf also uses AMD64. A patch which should fix this for AMD64 is attached, I also sent it to him. Kind regards Nico
-- Nico Golde - http://www.ngolde.de JAB: [EMAIL PROTECTED] - GPG: 0x73647CFF Forget about that mouse with 3/4/5 buttons, gimme a keyboard with 103/104/105 keys!
--- cheops-ng-0.2.3/probe.c 2005-10-17 22:49:42.000000000 +0200
+++ probe.c 2007-02-17 13:46:45.000000000 +0100
@@ -92,27 +92,27 @@
void get_probe_each(gpointer data, gpointer user_data)
{
- u32 *args = (u32 *)user_data;
- u32 port = args[0];
+ u64 *args = (u64 *)user_data;
+ u64 port = args[0];
struct probe *p = (struct probe *)data;
struct probe **pp = (struct probe **)args[1];
-// DEBUG(printf("%s()\n", __FUNCTION__));
- if(*pp == NULL)
+ DEBUG(printf("%s()\n", __FUNCTION__));
+ if(pp && *pp == NULL)
{
- if( p->port == (u16)port)
+ if(p->port == (u16)port)
*pp = p;
}
}
struct probe *get_probe(unsigned short port)
{
- u32 args[2];
+ u64 args[2];
struct probe *p = NULL;
- DEBUG(printf("%s()\n", __FUNCTION__));
+ //DEBUG(printf("%s()\n", __FUNCTION__));
args[0] = port;
- args[1] = (u32)&p;
+ args[1] = (u64)&p;
g_list_foreach(probes, get_probe_each, args);
pgpii8DMxyH0m.pgp
Description: PGP signature

