[movitz-cvs] CVS update: movitz/losp/x86-pc/interrupt.lisp
Frode Vatvedt Fjeld
ffjeld at common-lisp.net
Wed Mar 24 13:36:27 UTC 2004
Update of /project/movitz/cvsroot/movitz/losp/x86-pc
In directory common-lisp.net:/tmp/cvs-serv16864
Modified Files:
interrupt.lisp
Log Message:
Interrupts 67 and 68 are used as a very primitive tracing mechanism.
Date: Wed Mar 24 08:36:26 2004
Author: ffjeld
Index: movitz/losp/x86-pc/interrupt.lisp
diff -u movitz/losp/x86-pc/interrupt.lisp:1.3 movitz/losp/x86-pc/interrupt.lisp:1.4
--- movitz/losp/x86-pc/interrupt.lisp:1.3 Mon Jan 19 06:23:52 2004
+++ movitz/losp/x86-pc/interrupt.lisp Wed Mar 24 08:36:26 2004
@@ -10,7 +10,7 @@
;;;; Author: Frode Vatvedt Fjeld <frodef at acm.org>
;;;; Created at: Fri May 4 18:08:50 2001
;;;;
-;;;; $Id: interrupt.lisp,v 1.3 2004/01/19 11:23:52 ffjeld Exp $
+;;;; $Id: interrupt.lisp,v 1.4 2004/03/24 13:36:26 ffjeld Exp $
;;;;
;;;;------------------------------------------------------------------
@@ -176,7 +176,12 @@
(int-frame-ref int-frame :error-code :unsigned-byte32)
$eax $ebx $ecx))
(68 (warn "EIP: ~@Z EAX: ~@Z EBX: ~@Z ECX: ~@Z EDX: ~@Z"
- $eip $eax $ebx $ecx $edx))
+ $eip $eax $ebx $ecx $edx)
+ (dotimes (i 100000)
+ (with-inline-assembly (:returns :nothing) (:nop))))
+ (67 (muerte.debug:backtrace :fresh-lines nil :length 6)
+ (dotimes (i 100000)
+ (with-inline-assembly (:returns :nothing) (:nop))))
(66 (error "Unspecified type error in ~S with EAX=~@Z, ECX=~@Z."
(@ (+ int-frame (int-frame-index :esi)))
$eax $ecx))
More information about the Movitz-cvs
mailing list