shithub: riscv

Download patch

ref: bbfc504d45d81a41212aa4bbd0b2abff15168468
parent: 08116a10138b5d2a92c0cc468b988f07e29ed81d
author: ment <thement@ibawizard.net>
date: Tue Jun 21 20:30:09 EDT 2011

boot/pbs: wrong register

--- a/sys/src/boot/pc/pbs.s
+++ b/sys/src/boot/pc/pbs.s
@@ -107,7 +107,7 @@
 	CLR(rCX)
 	LB(_nfats(SB), rCL)
 	MUL(rCX)
-	OR(rCX, rCX)
+	OR(rAX, rAX)
 	JNE _fatszok	/* zero? it's FAT32 */
 
 	LW(_fatsz32hi(SB), rBX)
--