All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Patch] darwin-user: fix commpage entry offset
@ 2007-02-03 17:14 Pierre d'Herbemont
  0 siblings, 0 replies; 2+ messages in thread
From: Pierre d'Herbemont @ 2007-02-03 17:14 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 64 bytes --]

Hi,

This patch fix typos in the commpage definition.

Pierre.


[-- Attachment #2: darwin_user_commpage_fixes.diff.txt --]
[-- Type: text/plain, Size: 1734 bytes --]

Index: darwin-user/commpage.c
===================================================================
RCS file: /sources/qemu/qemu/darwin-user/commpage.c,v
retrieving revision 1.1
diff -u -r1.1 commpage.c
--- darwin-user/commpage.c	18 Jan 2007 20:06:33 -0000	1.1
+++ darwin-user/commpage.c	3 Feb 2007 16:47:47 -0000
@@ -114,10 +114,10 @@
     COMMPAGE_ENTRY(spinlock_lock,         1, 0x260,  OSSpinLockLock,        CALL_DIRECT),
     COMMPAGE_ENTRY(spinlock_unlock,       1, 0x2a0,  OSSpinLockUnlock,      CALL_DIRECT),
     COMMPAGE_ENTRY(pthread_getspecific,   0, 0x2c0,  unimpl_commpage,       CALL_INDIRECT),
-    COMMPAGE_ENTRY(gettimeofday,          1, 0x2c0,  do_cgettimeofday,      CALL_INDIRECT),
-    COMMPAGE_ENTRY(sys_dcache_flush,      0, 0x2c0,  unimpl_commpage,       CALL_INDIRECT),
-    COMMPAGE_ENTRY(sys_icache_invalidate, 0, 0x2c0,  unimpl_commpage,       CALL_INDIRECT),
-    COMMPAGE_ENTRY(pthread_self,          0, 0x2c0,  unimpl_commpage,       CALL_INDIRECT),
+    COMMPAGE_ENTRY(gettimeofday,          1, 0x2e0,  do_cgettimeofday,      CALL_INDIRECT),
+    COMMPAGE_ENTRY(sys_dcache_flush,      0, 0x4e0,  unimpl_commpage,       CALL_INDIRECT),
+    COMMPAGE_ENTRY(sys_icache_invalidate, 0, 0x520,  unimpl_commpage,       CALL_INDIRECT),
+    COMMPAGE_ENTRY(pthread_self,          0, 0x580,  unimpl_commpage,       CALL_INDIRECT),
 
     COMMPAGE_ENTRY(relinquish,            0, 0x5c0,  unimpl_commpage,       CALL_INDIRECT),
 
@@ -305,7 +305,7 @@
 
 void unimpl_commpage(void *cpu_env, int num)
 {
-    gemu_log("qemu: commpage function 0x%x not implemented\n", num);
+    qerror("qemu: commpage function 0x%x not implemented\n", num);
 }
 
 /********************************************************************

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Qemu-devel] [Patch] darwin-user: fix commpage entry offset
@ 2007-02-05  9:35 Pierre d'Herbemont
  0 siblings, 0 replies; 2+ messages in thread
From: Pierre d'Herbemont @ 2007-02-05  9:35 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 64 bytes --]

Hi,

This patch fix typos in the commpage definition.

Pierre.


[-- Attachment #2: darwin_user_commpage_fixes.diff.txt --]
[-- Type: text/plain, Size: 1734 bytes --]

Index: darwin-user/commpage.c
===================================================================
RCS file: /sources/qemu/qemu/darwin-user/commpage.c,v
retrieving revision 1.1
diff -u -r1.1 commpage.c
--- darwin-user/commpage.c	18 Jan 2007 20:06:33 -0000	1.1
+++ darwin-user/commpage.c	3 Feb 2007 16:47:47 -0000
@@ -114,10 +114,10 @@
     COMMPAGE_ENTRY(spinlock_lock,         1, 0x260,  OSSpinLockLock,        CALL_DIRECT),
     COMMPAGE_ENTRY(spinlock_unlock,       1, 0x2a0,  OSSpinLockUnlock,      CALL_DIRECT),
     COMMPAGE_ENTRY(pthread_getspecific,   0, 0x2c0,  unimpl_commpage,       CALL_INDIRECT),
-    COMMPAGE_ENTRY(gettimeofday,          1, 0x2c0,  do_cgettimeofday,      CALL_INDIRECT),
-    COMMPAGE_ENTRY(sys_dcache_flush,      0, 0x2c0,  unimpl_commpage,       CALL_INDIRECT),
-    COMMPAGE_ENTRY(sys_icache_invalidate, 0, 0x2c0,  unimpl_commpage,       CALL_INDIRECT),
-    COMMPAGE_ENTRY(pthread_self,          0, 0x2c0,  unimpl_commpage,       CALL_INDIRECT),
+    COMMPAGE_ENTRY(gettimeofday,          1, 0x2e0,  do_cgettimeofday,      CALL_INDIRECT),
+    COMMPAGE_ENTRY(sys_dcache_flush,      0, 0x4e0,  unimpl_commpage,       CALL_INDIRECT),
+    COMMPAGE_ENTRY(sys_icache_invalidate, 0, 0x520,  unimpl_commpage,       CALL_INDIRECT),
+    COMMPAGE_ENTRY(pthread_self,          0, 0x580,  unimpl_commpage,       CALL_INDIRECT),
 
     COMMPAGE_ENTRY(relinquish,            0, 0x5c0,  unimpl_commpage,       CALL_INDIRECT),
 
@@ -305,7 +305,7 @@
 
 void unimpl_commpage(void *cpu_env, int num)
 {
-    gemu_log("qemu: commpage function 0x%x not implemented\n", num);
+    qerror("qemu: commpage function 0x%x not implemented\n", num);
 }
 
 /********************************************************************

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-05  9:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-03 17:14 [Qemu-devel] [Patch] darwin-user: fix commpage entry offset Pierre d'Herbemont
2007-02-05  9:35 Pierre d'Herbemont

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.