Deleted Added
full compact
30c30
< # $FreeBSD: head/sys/boot/i386/cdboot/cdboot.s 130943 2004-06-22 21:55:22Z jhb $
---
> # $FreeBSD: head/sys/boot/i386/cdboot/cdboot.s 157652 2006-04-11 04:39:29Z sobomax $
488c488,492
< # Enable A20
---
> # Enable A20. Put upper limit on amount of time we wait for the
> # keyboard controller to get ready (65K x ISA access time). If
> # we wait more than that amount it's likely that the hardware
> # is legacy-free and simply doesn't have keyboard controller
> # and don't need enabling A20 at all.
491c495,498
< seta20.1: in $0x64,%al # Get status
---
> xor %cx,%cx # Clear
> seta20.1: inc %cx # Increment, overflow?
> jz seta20.3 # Yes
> in $0x64,%al # Get status
501c508
< sti # Enable interrupts
---
> seta20.3: sti # Enable interrupts