diff options
Diffstat (limited to 'sysutils/xen12/patches/patch-aa')
-rw-r--r-- | sysutils/xen12/patches/patch-aa | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/xen12/patches/patch-aa b/sysutils/xen12/patches/patch-aa new file mode 100644 index 00000000000..e913c8740dc --- /dev/null +++ b/sysutils/xen12/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1 2004/05/22 16:31:04 cl Exp $ + +--- arch/i386/boot/boot.S.orig 2004-04-18 04:29:10.000000000 +0200 ++++ arch/i386/boot/boot.S +@@ -103,7 +103,8 @@ continue_boot_cpu: + sub %ebx,%ecx /* %ecx = byte len of all mods */ + mov $(MAX_DIRECTMAP_ADDRESS), %edi + add %ecx, %edi /* %edi = src + length */ +- shr $2,%ecx /* %ecx = length/4 */ ++ add $3,%ecx ++ shr $2,%ecx /* %ecx = (length+3)/4 */ + 1: sub $4,%eax /* %eax = src, %edi = dst */ + sub $4,%edi + mov (%eax),%ebx |