This website requires JavaScript.
Explore
Help
Sign In
Nyaaori
/
rockbox
Watch
1
Star
0
Fork
You've already forked rockbox
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
200ca66963
rockbox
/
utils
/
hwstub
/
stub
/
protocol.h
3 lines
62 B
C
Raw
Normal View
History
Unescape
Escape
hwstub: major improvement in the stub and the tools Fix the stub in many way to correctly detect the STMP family and act upon that. Drop some unused commands and bump version. Rewrite the tool to allows scripting in lua and load the register description from an XML file using the regtools. Introduce a new tool to load and run code using the hwstub (either binary format or Rockbox additive scramble format). Also switch to an optimise version of the memcpy/move/set functions to correctly handle alignement issue (like writing a full word/half-word when possible for registers which is crucial) Change-Id: Id1d5cfe0b1b47e8b43900d32c5cd6eafae6414f6
2013-06-13 00:02:53 +00:00
#
include
"../hwstub_protocol.h"
hwstub: don't put revision in the protocol, it's specific to the implementation Change-Id: I1311a22da41fe977f1613f1e313a864baa03027c
2014-08-05 16:18:17 +00:00
hwstub/qeditor: add support for atomic read/writes The current code assumed that READ/WRITE would produce atomic read/writes for 8/16/32-bit words, which in turned put assumption on the memcpy function. Since some memcpy implementation do not always guarantee such strong assumption, introduce two new operation READ/WRITE_ATOMIC which provide the necessary tools to do correct read and write to register in a single memory access. Change-Id: I37451bd5057bb0dcaf5a800d8aef8791c792a090
2014-11-18 22:27:26 +00:00
#
define HWSTUB_VERSION_REV 0
Reference in a new issue
Copy permalink