diff options
author | Paul Irofti <pirofti@cvs.openbsd.org> | 2009-11-25 15:41:44 +0000 |
---|---|---|
committer | Paul Irofti <pirofti@cvs.openbsd.org> | 2009-11-25 15:41:44 +0000 |
commit | 14fcaff40a0935d50bcd694917237e0cea05134f (patch) | |
tree | 2904fa26257166aac801951200cc6590f49d36a6 /usr.bin/ftp | |
parent | 64095f70dab18523608e004e32ffd36d7ec57d24 (diff) |
Make sure we get a clean gdt from the BIOS.
Some vendors screw us up on resume giving back a dirty gdt which
prevents us to go into protected mode. This makes sure the gdt is
clean, its the only way to do this and its the only way to be sure
we're clean on resume.
This fixes quite a few laptops that didn't resume but rebooted or did
other screwy things because of a dirty gdt.
Worked with mlarkin@ for quite a few houres last night.
Tested by many on both amd64 and i386.
Okay deraadt@.
Diffstat (limited to 'usr.bin/ftp')
0 files changed, 0 insertions, 0 deletions