Search
lxdream.org :: lxdream/src/syscall.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/syscall.h
changeset 1014:f5914b2fd0db
prev736:a02d1475ccfd
next1100:50e702af9373
author nkeynes
date Sun May 24 08:30:35 2009 +0000 (11 years ago)
permissions -rw-r--r--
last change 000068: Handle sh4_finalize_instruction being called from a syscall (assertion failure)
(Also introduce IS_SYSCALL() macro to tidy up slightly)
file annotate diff log raw
1.1 --- a/src/syscall.h Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/syscall.h Sun May 24 08:30:35 2009 +0000
1.3 @@ -71,6 +71,8 @@
1.4 */
1.5 void dcload_set_allow_unsafe( gboolean allow );
1.6
1.7 +#define IS_SYSCALL(pc) (((uint32_t)pc)>=0xFFFFFF00)
1.8 +
1.9 #ifdef __cplusplus
1.10 }
1.11 #endif
.