]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm, test: Improve PIT test output
authorPekka Enberg <penberg@cs.helsinki.fi>
Wed, 9 Jun 2010 18:30:56 +0000 (21:30 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Wed, 9 Jun 2010 18:30:56 +0000 (21:30 +0300)
This patch makes the PIT test output less verbose.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
tools/kvm/tests/pit/tick.S

index e6508e1aab698e35b8f5f6c9c46f11e4da374656..934893f22c6c70f474bb943fb9de0ea2628d2cec 100644 (file)
        .globl  _start
        .type   _start, @function
 _start:
-       mov     $0x3f8,%dx
-       cs lea  msg1, %si
-       mov     $(msg1_end-msg1), %cx
-       cs rep/outsb
-
 /*
  * fill up noop handlers
  */
@@ -84,14 +79,8 @@ timer_isr:
        pushaw
        pushfw
        mov     $0x3f8,%dx
-       mov     $0x49, %al      # I
+       mov     $0x2e, %al      # .
        out     %al,%dx
-       mov     $0x53, %al      # S
-       out     %al,%dx
-       mov     $0x52, %al      # R
-       out     %al,%dx
-       mov     $0x0a, %al      # \n
-       out     %al, %dx
        decw    count
        jz      test_ok
        popfw
@@ -103,11 +92,7 @@ noop_handler:
 
 count:
        .word   TEST_COUNT
-msg1:
-       .ascii "This is PVM.\nPIC 8259 and PIT 8254 test.\n"
-       .asciz "---------------------------------------------------\n"
-msg1_end:
 
 msg2:
-       .asciz "TEST OK\n"
+       .asciz "\nTest OK\n"
 msg2_end: