Re: [PATCH] Reduce boot header size with 1 byte

2018-09-27 Thread Brian Gerst
On Thu, Sep 27, 2018 at 9:42 AM wrote: > > From: Alexander F. Rødseth > > Only ah needs to be set to 0 before calling interrupt 0x16 for waiting > for a keypress. > > This patch changes the line that uses xor so that it only zeroes "ah" instead > of "ax". > This saves a byte. > > Signed-off-by:

Re: [PATCH] Reduce boot header size with 1 byte

2018-09-27 Thread Randy Dunlap
On 9/27/18 6:41 AM, xypr...@archlinux.org wrote: > From: Alexander F. Rødseth > > Only ah needs to be set to 0 before calling interrupt 0x16 for waiting > for a keypress. > > This patch changes the line that uses xor so that it only zeroes "ah" instead > of "ax". > This saves a byte. > > Signe

[PATCH] Reduce boot header size with 1 byte

2018-09-27 Thread xyproto
From: Alexander F. Rødseth Only ah needs to be set to 0 before calling interrupt 0x16 for waiting for a keypress. This patch changes the line that uses xor so that it only zeroes "ah" instead of "ax". This saves a byte. Signed-off-by: Alexander F. Rødseth --- arch/x86/boot/header.S | 11