[openfirmware] [commit] r2934 - cpu/x86/pc/olpc/via

repository service svn at openfirmware.info
Sat Mar 31 22:42:00 CEST 2012


Author: wmb
Date: Sat Mar 31 22:42:00 2012
New Revision: 2934
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2934

Log:
OLPC XO-1.5 - free wav buffer before closing audio device to prevent page faults if sound-end is later executed.

Modified:
   cpu/x86/pc/olpc/via/sound.fth

Modified: cpu/x86/pc/olpc/via/sound.fth
==============================================================================
--- cpu/x86/pc/olpc/via/sound.fth	Sat Mar 31 22:32:59 2012	(r2933)
+++ cpu/x86/pc/olpc/via/sound.fth	Sat Mar 31 22:42:00 2012	(r2934)
@@ -6,7 +6,7 @@
 ;
 : audio-quiet  ( -- )
    [ ' go-hook behavior compile, ]    \ Chain to old behavior
-   close-audio
+   free-wav close-audio
 ;
 ' audio-quiet to go-hook
 : xp-wait-audio  ( -- )



More information about the openfirmware mailing list