1. 31 Jul, 2007 4 commits
  2. 25 Jul, 2007 3 commits
  3. 20 Jul, 2007 1 commit
  4. 19 Jul, 2007 1 commit
  5. 18 Jul, 2007 6 commits
    • Sam Ravnborg's avatar
      [PATCH] x86: do not recompile boot for each build · 3fbc5416
      Sam Ravnborg authored
      
      
      Keep the arch/i386/boot directory from being rebuilt every time.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      3fbc5416
    • H. Peter Anvin's avatar
      [x86 setup] Save/restore DS around invocations of INT 10h · 8c027ae2
      H. Peter Anvin authored
      
      
      There exists at least one card, Trident TVGA8900CL (BIOS dated 1992/9/8)
      which clobbers DS when "scrolling in an SVGA text mode of more than
      800x600 pixels."  Although we are extremely unlikely to run into that
      situation, it is cheap insurance to save and restore DS, and it only adds
      a grand total of 50 bytes to the total output.
      
      Pointed out by Etienne Lorrain.
      
      Cc: Etienne Lorrain <etienne_lorrain@yahoo.fr>
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      8c027ae2
    • H. Peter Anvin's avatar
      [x86 setup] VGA: Clear the Protect bit before setting the vertical height · 7ad37df0
      H. Peter Anvin authored
      
      
      If the user has asked for the vertical height registers to be recomputed
      by setting bit 15 in the video mode number, we do so without clearing the
      Protect bit in the Vertical Retrace Register before setting the Overflow
      register.  As a result, if the VGA BIOS had set the Protect bit, the
      write to the Overflow register will be dropped, and bits [9:8] of the
      vertical height will be left unchanged.
      
      This is a bug imported from the assembly version of this code.  It was
      pointed out by Etienne Lorrain.
      
      Cc: Etienne Lorrain <etienne_lorrain@yahoo.fr>
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      7ad37df0
    • H. Peter Anvin's avatar
      [x86 setup] Fix assembly constraints · 5593eaa8
      H. Peter Anvin authored
      
      
      Fix incorrect assembly constraints.  In particular, fix memory
      constraints used inside push..pop, which can cause invalid operation
      since gcc may generate %esp-relative references.
      
      Additionally:
      
      outl() should have "dN" not "dn".
      
      query_mca() shouldn't listen 16/32-bit registers in an 8-bit only
      context.
      
      has_eflag(): the "mask" is only used well after both the stack pointer
      and the output registers have been touched; this requires the output
      registers to be earlyclobbers (=&) and the input to exclude memory (so
      "ri", not "g").
      
      Thanks to Etienne Lorrain and Chuck Ebbert for prompting this review.
      
      Cc: Etienne Lorrain <etienne_lorrain@yahoo.fr>
      Cc: Chuck Ebbert <cebbert@redhat.com>
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      5593eaa8
    • H. Peter Anvin's avatar
      [x86 setup] build/tools.c: fix comment · 9aa3909c
      H. Peter Anvin authored
      
      
      Correct a comment in arch/i386/boot/build/tools.c; we now build the
      kernel from only two components instead of three, since the boot
      sector has been integrated in the setup code.
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      9aa3909c
    • Jeremy Fitzhardinge's avatar
      xen: suppress abs symbol warnings for unused reloc pointers · 600b2fc2
      Jeremy Fitzhardinge authored
      
      
      arch/i386/xen/xen-asm.S defines some small pieces of code which are
      used to implement a few paravirt_ops.  They're designed so they can be
      used either in-place, or be inline patched into their callsites if
      there's enough space.
      
      Some of those operations need to make calls out (specifically, if you
      re-enable events [interrupts], and there's a pending event at that
      time).  These calls need the call instruction to be relocated if the
      code is patched inline.  In this case xen_foo_reloc is a
      section-relative symbol which points to xen_foo's required relocation.
      
      Other operations have no need of a relocation, and so their
      corresponding xen_bar_reloc is absolute 0.  These are the cases which
      are triggering the warning.
      
      This patch adds those symbols to the list of safe abs symbols.
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy@xensource.com>
      Cc: Adrian Bunk <bunk@stusta.de>
      600b2fc2
  6. 12 Jul, 2007 21 commits
  7. 21 May, 2007 1 commit
  8. 08 May, 2007 2 commits
  9. 02 May, 2007 1 commit
    • Andi Kleen's avatar
      [PATCH] i386: Verify important CPUID bits in real mode · c7f81c94
      Andi Kleen authored
      
      
      Check some CPUID bits that are needed for compiler generated early in boot.
      When the system is still in real mode before changing the VESA BIOS mode
      it is possible to still display an visible error message on the screen.
      
      Similar to x86-64.
      
      Includes cleanups from Eric Biederman
      Signed-off-by: default avatarAndi Kleen <ak@suse.de>
      c7f81c94