From 7523131e78a0974154cc90272b41991435b1ec19 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Fri, 19 Dec 2014 23:34:43 +0100 Subject: pc, pc64: untangle acpireset() from mpshutdown() mpshutdown() used to call acpireset() making it impossible to build a kernel without archacpi. now, mpshutdown() is a helper function that only shuts down the application processors that gets used from mpreset() and acpireset(). the generic machine reset code in exported by devarch's archreset() function that is called by mpreset() and from acpireset() as a fallback. so the code duplication that was in mpshutdown() is avoided. --- sys/src/9/pc64/fns.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/src/9/pc64') diff --git a/sys/src/9/pc64/fns.h b/sys/src/9/pc64/fns.h index 652d07737..0af15138f 100644 --- a/sys/src/9/pc64/fns.h +++ b/sys/src/9/pc64/fns.h @@ -1,9 +1,9 @@ #include "../port/portfns.h" void aamloop(int); -void acpireset(void); Dirtab* addarchfile(char*, int, long(*)(Chan*,void*,long,vlong), long(*)(Chan*,void*,long,vlong)); void archinit(void); +void archreset(void); int bios32call(BIOS32ci*, u16int[3]); int bios32ci(BIOS32si*, BIOS32ci*); void bios32close(BIOS32si*); -- cgit v1.2.3