git: 9front

Download patch

ref: c69de1671b3d75e16b731a513c73e7371c77ad24
parent: a3dadbb7da20c3d408bc4df8f4a4e330c31ce28b
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;
 }
--