1 |
diff -up hplip-3.9.8/ip/ipmain.c.no-asm hplip-3.9.8/ip/ipmain.c |
2 |
--- hplip-3.9.8/ip/ipmain.c.no-asm 2009-08-04 22:37:28.000000000 +0100 |
3 |
+++ hplip-3.9.8/ip/ipmain.c 2009-08-25 14:44:04.497202437 +0100 |
4 |
@@ -265,9 +265,6 @@ static IP_XFORM_TBL * const xformJumpTab |
5 |
void fatalBreakPoint (void) |
6 |
{ |
7 |
/* do nothing */ |
8 |
-#if defined _DEBUG |
9 |
- __asm int 3; |
10 |
-#endif |
11 |
PRINT0 (_T("\nhit fatalBreakPoint!\n")); |
12 |
} |
13 |
|
14 |
diff -up hplip-3.9.8/ip/xfax.c.no-asm hplip-3.9.8/ip/xfax.c |
15 |
--- hplip-3.9.8/ip/xfax.c.no-asm 2009-08-04 22:37:28.000000000 +0100 |
16 |
+++ hplip-3.9.8/ip/xfax.c 2009-08-25 14:44:04.502202418 +0100 |
17 |
@@ -1680,19 +1680,6 @@ static BOOL bits_flush_to_eol ( |
18 |
& ((1u<<n_bits) - 1u); \ |
19 |
} |
20 |
|
21 |
-#if 0 |
22 |
- |
23 |
-#define BITS_LOAD(g, num_bits, par_result) { \ |
24 |
- int n_bits = (int)(num_bits); \ |
25 |
- \ |
26 |
- par_result = g->gb_cache; \ |
27 |
- \ |
28 |
- asm ("extract %1,%2,%0" \ |
29 |
- : "=d" (par_result) \ |
30 |
- : "dI" (g->gb_cache_cnt - n_bits), "dI" (n_bits), "0" (par_result)); \ |
31 |
-} |
32 |
- |
33 |
-#endif |
34 |
|
35 |
|
36 |
|
37 |
diff -up hplip-3.9.8/scan/sane/common.h.no-asm hplip-3.9.8/scan/sane/common.h |
38 |
--- hplip-3.9.8/scan/sane/common.h.no-asm 2009-08-25 16:35:14.577203106 +0100 |
39 |
+++ hplip-3.9.8/scan/sane/common.h 2009-08-25 16:35:29.948216281 +0100 |
40 |
@@ -53,8 +53,6 @@ |
41 |
|
42 |
#define BACKEND_NAME hpaio |
43 |
|
44 |
-#define BREAKPOINT __asm( "int3" ) |
45 |
- |
46 |
#define OK 1 |
47 |
#define ERROR 0 |
48 |
#define MAX_LIST_SIZE 32 |
49 |
diff -up hplip-3.9.8/scan/sane/hpaio.c.no-asm hplip-3.9.8/scan/sane/hpaio.c |