commit | 9b2165fefbf6b3e193b5e8fd4d54a887cfc979aa | [log] [tgz] |
---|---|---|
author | Michael Ryleev <gmar@google.com> | Thu Nov 03 21:47:51 2016 -0700 |
committer | Arve Hjønnevåg <arve@android.com> | Tue Sep 19 16:38:28 2017 -0700 |
tree | ff6c12845268f230fd7deabed089674c08630ffa | |
parent | 9d29f7c43f84fa672313ce5ca73eae0b04b7502f [diff] |
[dev][arm_generic_timer] Add suspend hook and supporting routines On some platforms the state of arm-deneric timer might be lost in suspend as well as some (deeper) cpu idle related states. This patch adds routine to export timer state in raw and more generic form and implements suspend hooks that saves and restores timer state in per cpu variable across suspend/resume cycle. Change-Id: I736fa25c933b5814bee8047c36ccb8a68d34060a
The LK embedded kernel. An SMP-aware kernel designed for small systems.
See https://github.com/littlekernel/lk for the latest version.
See https://github.com/littlekernel/lk/wiki for documentation.
This will get you a interactive prompt into LK which is running in qemu arm machine ‘virt’ emulation. type ‘help’ for commands.
note 1: for ubuntu: sudo apt-get install gcc-arm-none-eabi or fetch a prebuilt toolchain from http://newos.org/toolchains/arm-eabi-5.3.0-Linux-x86_64.tar.xz