From 527a14835e3b830b7a9d334cdde5e7dc2cc8cac0 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 13 Sep 2004 22:58:51 +0000 Subject: [PATCH] For some reason i386-elf-as doesn't like 512/4, so replace it by 128. Actually, replace it by 256 and use insw instead of insl. --- src/threads/loader.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/threads/loader.S b/src/threads/loader.S index 7dfb7e0..e87a6c6 100644 --- a/src/threads/loader.S +++ b/src/threads/loader.S @@ -253,9 +253,9 @@ read_sector: # Transfer sector. - movl $512 / 4, %ecx + movl $256, %ecx movl $0x1f0, %edx - rep insl + rep insw # Next sector. -- 2.30.2