]> Zhao Yanbai Git Server - minix.git/commitdiff
Align on 16 byte boundary, not 64k
authorBen Gras <ben@minix3.org>
Tue, 7 Mar 2006 12:38:51 +0000 (12:38 +0000)
committerBen Gras <ben@minix3.org>
Tue, 7 Mar 2006 12:38:51 +0000 (12:38 +0000)
boot/boot.c

index 424a94bc1039e581e871beec063edde29cd23168..379db639c6792a581eeb88e460c2c5c57c8e41ff 100755 (executable)
@@ -503,7 +503,7 @@ void initialize(void)
 
        /* Check if data segment crosses a 64K boundary. */
        if (newaddr + (daddr - caddr) < dma64k)  {
-               newaddr= (dma64k - runsize) & ~0x0FFFFL;
+               newaddr= (dma64k - runsize) & ~0x0000FL;
        }
 #endif