cvs commit: src/sys/boot/i386/boot2 boot2.c src/sys/boot/i386/gptboot gptboot.c src/sys/boot/i386/loader main.c src/sys/boot/pc98/loader main.c

John Baldwin jhb at
Fri Aug 8 19:42:00 UTC 2008

jhb         2008-08-08 19:41:20 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/i386/boot2  boot2.c 
    sys/boot/i386/gptboot gptboot.c 
    sys/boot/i386/loader main.c 
    sys/boot/pc98/loader main.c 
  SVN rev 181436 on 2008-08-08 19:41:20Z by jhb
  - Initialize the vm86 structure to a known-good state.  Specifically, always
    set the %eflags used during a BIOS call via BTX to 0x202.  Previously
    the flags field was uninitialized garbage, and thus it was "random" if
    interrupts were enabled or not during BIOS calls.
  - Use constants from <machine/psl.h> for fields in %eflags.
  MFC after:      3 days
  Revision  Changes    Path
  1.88      +4 -2      src/sys/boot/i386/boot2/boot2.c
  1.88      +4 -2      src/sys/boot/i386/gptboot/gptboot.c
  1.42      +5 -0      src/sys/boot/i386/loader/main.c
  1.26      +5 -0      src/sys/boot/pc98/loader/main.c

More information about the cvs-all mailing list