shithub: riscv

Download patch

ref: 54db805a16553ba1e8e2c5d1aeb06e0f62916465
parent: e54222fb0df35c9738947a6757dde09bf361a576
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Tue Aug 23 01:34:49 EDT 2011

apm: cleanup

--- a/sys/src/9/pc/apm.c
+++ b/sys/src/9/pc/apm.c
@@ -103,8 +103,6 @@
 	if(isaconfig("apm", 0, &isa) == 0)
 		return;
 
-/* XXX use realmode() */
-
 	/*
 	 * APM info passed from boot loader.
 	 * Now we need to set up the GDT entries for APM.
@@ -146,7 +144,7 @@
 
 	addarchfile("apm", 0660, apmread, apmwrite);
 
-print("apm0: configured cbase %.8lux off %.8lux\n", ax<<4, ebx);
+	print("apm: configured cbase %.8lux off %.8lux\n", ax<<4, ebx);
 
 	return;
 }
--