On Mon, 5 Nov 2007, H. Peter Anvin wrote:Yeah, there is no point in having two far jumps. One is enough. The point being that since apparently the new boot standards say that the 32-bit code is entered with segments etc set to specific values, then we shouldn't do the jump to that 32-bit standard with a far jump: we should do it as a regular jump, because we'd want to to set up the segments etc in 32-bit mode anyway. At least my assembler does the right thing with just the plain "mov" for segments, but yes, there may be old assemblers that add a useless data size override. So "movl %ecx,%*s" is probably the right thing to do to make sure they don't do anything stupid.. Btw, on that same kind of thread: I think we should move the clearing of the registers into the 32-bit mode too, since that makes the instructions shorter (no operand size override), and makes more sense anyway (then we can also clean %edx/%ecx. Final comment: shouldn't we set up %esp to be correct for the new %ss too? Linus -
| Ondrej Zary | pata_it821x completely broken |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Greg KH | Re: [PATCH 5/7] FUSE: implement ioctl support |
| Andi Kleen | Re: 2.6.27-rc1: critical thermal shutdown on thinkpad x60 |
git: | |
| Jakub Narebski | Re: VCS comparison table |
| Jakub Narebski | Re: git-push through git protocol |
| Michael Smith | Re: [rfc] git submodules howto |
| Olaf Hering | how to find outstanding patches in non-linux-2.6 repositories? |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Richard Stallman | Real men don't attack straw men |
| Stuart Henderson | Re: pfctl |
| Tomas Bodzar | command history in ksh missed when I set $EDITOR |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Ian Kluft | RESULT: comp.os.linux reorganization, all groups pass (part 3/3) |
| Robert Osterlund | Re: Sharing a swap partition: Linux and Windows? |
| Ian Kluft | 2nd CFV and VOTE ACK: comp.os.linux reorganization |
