WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Simplify x86_32 boot code by removing bogus P6 check (re

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Simplify x86_32 boot code by removing bogus P6 check (really it was a
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 28 Jun 2005 08:08:24 +0000
Cc: james@xxxxxxxxxxxxx
Delivery-date: Tue, 28 Jun 2005 09:01:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1764, 2005/06/28 09:08:24+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Simplify x86_32 boot code by removing bogus P6 check (really it was a
        486 check, and we can assume everyone has CPUID I think).
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 x86_32.S |   19 -------------------
 1 files changed, 19 deletions(-)


diff -Nru a/xen/arch/x86/boot/x86_32.S b/xen/arch/x86/boot/x86_32.S
--- a/xen/arch/x86/boot/x86_32.S        2005-06-28 05:02:50 -04:00
+++ b/xen/arch/x86/boot/x86_32.S        2005-06-28 05:02:50 -04:00
@@ -20,16 +20,10 @@
        /* Checksum: must be the negated sum of the first two fields. */
        .long   -0x1BADB005
         
-bad_cpu_msg:
-        .asciz "ERR: Not a P6-compatible CPU!"
 not_multiboot_msg:
         .asciz "ERR: Not a Multiboot bootloader!"
-bad_cpu:
-        mov     $bad_cpu_msg-__PAGE_OFFSET,%esi
-        jmp     print_err
 not_multiboot:
         mov     $not_multiboot_msg-__PAGE_OFFSET,%esi
-print_err:
         mov     $0xB8000,%edi  # VGA framebuffer
 1:      mov     (%esi),%bl
         test    %bl,%bl        # Terminate on '\0' sentinel
@@ -60,19 +54,6 @@
         /* Reset EFLAGS (subsumes CLI and CLD). */
        pushl   $0
        popf
-
-        /* CPU type checks. We need P6+. */
-        mov     $0x200000,%edx
-        pushfl
-        pop     %ecx
-        and     %edx,%ecx
-        jne     bad_cpu            # ID bit should be clear
-        pushl   %edx
-        popfl
-        pushfl
-        pop     %ecx
-        and     %edx,%ecx
-        je      bad_cpu            # ID bit should be set
 
         /* Set up FPU. */
         fninit

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Simplify x86_32 boot code by removing bogus P6 check (really it was a, BitKeeper Bot <=