]> Chaos Git - corbenik/corbenik.git/commit
Experimental shite.
authorchaoskagami <chaos.kagami@gmail.com>
Mon, 23 May 2016 17:56:57 +0000 (13:56 -0400)
committerchaoskagami <chaos.kagami@gmail.com>
Mon, 23 May 2016 17:56:57 +0000 (13:56 -0400)
commit7a058a097b0aa4cb2226dac96b5e1b0038b4a722
tree3f2a5d38a4422b6fb816daf8fe60f902347743cb
parente1fa0510c0bd45ae977de728470fc9645fc142ad
Experimental shite.

The kernel doesn't get passed CPU flags from the functions called here.
Assuming the kernel doesn't seek backwards from the exheader pointer,
the CPU state should already have been set by AM, which means loader
can override what was previously set.

That being the case, if I am correct, setting the CPU speed from
loader should technically persist to application launch. This needs
testing, obviously, but I believe granular CPU speed control is
possible from here.
external/loader/source/exheader.h
external/loader/source/ksetstate.s [new file with mode: 0644]
external/loader/source/loader.c
external/loader/source/patcher.c
external/loader/source/patcher.h
host/compile_header.c
modules/Makefile
modules/template/Makefile