aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/olpc/files-2.6.23/arch/i386/kernel/olpc-sleep.S
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2008-09-27 17:48:41 +0000
committerLars-Peter Clausen <lars@metafoo.de>2008-09-27 17:48:41 +0000
commit8186dcaa7dad884e9393b937aaa7218e5a0cb21a (patch)
treebebb87a30b041a57380891a76077c318a463fbab /target/linux/olpc/files-2.6.23/arch/i386/kernel/olpc-sleep.S
parent41ac00278fc015c23b552f1dd49fa1811aa41afb (diff)
downloadupstream-8186dcaa7dad884e9393b937aaa7218e5a0cb21a.tar.gz
upstream-8186dcaa7dad884e9393b937aaa7218e5a0cb21a.tar.bz2
upstream-8186dcaa7dad884e9393b937aaa7218e5a0cb21a.zip
Remove 2.6.23 config, files and patches from olpc target.
SVN-Revision: 12742
Diffstat (limited to 'target/linux/olpc/files-2.6.23/arch/i386/kernel/olpc-sleep.S')
-rw-r--r--target/linux/olpc/files-2.6.23/arch/i386/kernel/olpc-sleep.S39
1 files changed, 0 insertions, 39 deletions
diff --git a/target/linux/olpc/files-2.6.23/arch/i386/kernel/olpc-sleep.S b/target/linux/olpc/files-2.6.23/arch/i386/kernel/olpc-sleep.S
deleted file mode 100644
index 9535c9a941..0000000000
--- a/target/linux/olpc/files-2.6.23/arch/i386/kernel/olpc-sleep.S
+++ /dev/null
@@ -1,39 +0,0 @@
-.text
-
-ENTRY(olpc_sleep_asm)
-olpc_sleep:
- ;; Get the value of PM1_CNT and store it off
-
- add 08h, ax
- mov bx,dx
- in dx,eax
- or 2000h, ax
- mov ax,di
-
- ;; flush the cache
- wbinvd
-
- ;; GX2 must disable refresh before going into self-refresh
- mov 2000000180xh, ecx
- rdmsr
- mov eax, esi
- and 0FF0000FFh, eax
- wrmsr
-
- ;; Now, put the memory into self refresh
- mov 2004, cx
- xor edx, edx
- xor eax, eax
- mov 04h, al
- wrmsr
-
- ;; Thats all she wrote - time to go to sleep
-
- mov bx, dx
- movzx di, eax
- out eax, dx
-
- ;;
-
-
-