Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mbr, gptmbr, isohdpfx: don't lose the carry flag | H. Peter Anvin | 2008-09-08 | 1 | -1/+1 |
| | | | | | | | | Using addw to restore the stack pointer clobbers CF. Use leaw instead, even though this relies on the BIOS not clobbering %si. Worst case we can add a mov %sp, %si or similar. Signed-off-by: H. Peter Anvin <hpa@zytor.com> | ||||
* | mbr: save another 5 bytes by terminating error on newlinesyslinux-3.61-pre4 | H. Peter Anvin | 2008-01-22 | 1 | -8/+4 |
| | | | | | Save another 5 bytes by making the newline character do double duty as newline and string terminator. | ||||
* | mbr.S: save one more bytesyslinux-3.61-pre3 | H. Peter Anvin | 2008-01-22 | 1 | -1/+1 |
| | | | | | %ax is set to zero at the top; we then set it to 0x4100, so we only need to change %ah, not all of %ax. | ||||
* | Update copyright year | H. Peter Anvin | 2008-01-10 | 1 | -1/+1 |
| | |||||
* | mbr.S: fix loading from logical partitions | H. Peter Anvin | 2007-11-14 | 1 | -1/+1 |
| | | | | | Fix loading from logical partitions (a push/pop pair was not done in reverse order.) | ||||
* | MBR: shave off another byte | H. Peter Anvin | 2007-07-11 | 1 | -5/+6 |
| | | | | Yet another byte bites the dust... | ||||
* | MBR: shave off another byte | H. Peter Anvin | 2007-07-11 | 1 | -2/+2 |
| | | | | | Shave off another byte by using the not-frequently-used jmpw *%sp instruction! | ||||
* | MBR: one more comment | H. Peter Anvin | 2007-07-11 | 1 | -0/+1 |
| | | | | Comments are good... | ||||
* | MBR: shave another ~4 bytes through an ugly error message hack | H. Peter Anvin | 2007-07-11 | 1 | -22/+17 |
| | | | | | Use the "return address points to data" trick to shave a few bytes off the generation of error messages. | ||||
* | MBR: add HLT to prevent system from melting on failure | H. Peter Anvin | 2007-07-11 | 1 | -1/+3 |
| | | | | | | | | In case we hit the death loop, put HLT in it. It's probably superfluous, but it can't hurt, and we can always take it out to reclaim the space. Arguable the death loop is superfluous at all, since int $0x18 should never return. | ||||
* | MBR: add CR LF to the end of messages | H. Peter Anvin | 2007-07-11 | 1 | -3/+3 |
| | | | | | | Six bytes down the drain, but people do expect it. If it becomes an issue we can remove the period; it's better than the CR LF. There might be some way to efficiently issue . \r \n in common code, too. | ||||
* | MBR: shave 2 more bytes | H. Peter Anvin | 2007-07-11 | 1 | -2/+4 |
| | | | | | We always re-read the last partition table on any kind of error, so no need to prevent the code from clobbering it on failure. | ||||
* | MBR: Don't clobber %eax before entering CBIOS code | H. Peter Anvin | 2007-07-11 | 1 | -3/+5 |
| | |||||
* | MBR: always do setup for EBIOS, makes stack handling easier and saves jmp | H. Peter Anvin | 2007-07-11 | 1 | -14/+14 |
| | |||||
* | MBR: Handle the stack in read_sector correctly... | H. Peter Anvin | 2007-07-11 | 1 | -2/+3 |
| | |||||
* | One more MBR byte | H. Peter Anvin | 2007-07-11 | 1 | -1/+1 |
| | |||||
* | Another 12 bytes shaved off the MBR... | H. Peter Anvin | 2007-07-11 | 1 | -18/+12 |
| | |||||
* | Another 2 bytes off the MBR. | H. Peter Anvin | 2007-07-11 | 1 | -15/+13 |
| | |||||
* | Add some comments to the MBR | H. Peter Anvin | 2007-07-11 | 1 | -3/+3 |
| | |||||
* | Another 3 bytes or so off the MBR... | H. Peter Anvin | 2007-07-11 | 1 | -5/+7 |
| | |||||
* | One more MBR byte... | H. Peter Anvin | 2007-07-11 | 1 | -1/+1 |
| | |||||
* | Shave two more bytes off the MBR | H. Peter Anvin | 2007-07-11 | 1 | -4/+3 |
| | |||||
* | MBR: fix pointer to partition table base | H. Peter Anvin | 2007-07-11 | 1 | -2/+2 |
| | |||||
* | Shave another byte off the MBR | H. Peter Anvin | 2007-07-11 | 1 | -2/+4 |
| | |||||
* | Shave an additional ~7 bytes off the MBR | H. Peter Anvin | 2007-07-11 | 1 | -16/+16 |
| | |||||
* | Shave a byte off the MBR code. | H. Peter Anvin | 2007-07-11 | 1 | -4/+4 |
| | |||||
* | MBR: fix problems when LBA > 65535*sectors. | H. Peter Anvin | 2007-04-10 | 1 | -18/+17 |
| | | | | | Fix division overflow bug when LBA > 65535*sectors. Bug report by Devin Bayer. | ||||
* | Stealth whitespace cleanup (automated) | H. Peter Anvin | 2007-03-14 | 1 | -11/+11 |
| | |||||
* | Fix numerous problems in the new MBR code.syslinux-3.36-pre5 | H. Peter Anvin | 2007-02-04 | 1 | -13/+22 |
| | |||||
* | MBR: Set %si immediately upon setting %sp | H. Peter Anvin | 2007-02-04 | 1 | -1/+1 |
| | |||||
* | New MBR which supports logical partitions. | H. Peter Anvin | 2007-02-04 | 1 | -0/+290 |
New MBR which supports logical partitions. Move the MBR to a subdirectory, and convert it to gas with the expectation of including it in util-linux. |