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
commit9d871e2e4f96c96a2a49d0d3526a633ab9796ac2 (patch)
tree14f3a2fb6917a9227b9774fbc441377855080aaa /target/linux/olpc/files-2.6.23/arch/i386/kernel/olpc-sleep.S
parent7847d80f2493ad3ee492b4d58848e8ba8a3ab043 (diff)
downloadupstream-9d871e2e4f96c96a2a49d0d3526a633ab9796ac2.tar.gz
upstream-9d871e2e4f96c96a2a49d0d3526a633ab9796ac2.tar.bz2
upstream-9d871e2e4f96c96a2a49d0d3526a633ab9796ac2.zip
Remove 2.6.23 config, files and patches from olpc target.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12742 3c298f89-4303-0410-b956-a3cf2f4a3e73
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
-
- ;;
-
-
-