freemyipod r608 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r607‎ | r608 | r609 >
Date:17:24, 13 February 2011
Author:farthen
Status:new
Tags:
Comment:
emCORE tools/libemcoredata.py: Include mutex and wakeup structs
Modified paths:
  • /emcore/trunk/tools/libemcoredata.py (modified) (history)

Diff [purge]

Index: emcore/trunk/tools/libemcoredata.py
@@ -82,6 +82,18 @@
8383 ("cpuload", c_uint8),
8484 ]
8585
 86+class mutex(ExtendedCStruct):
 87+ _fields_ = [("owner", c_uint32),
 88+ ("waiters", c_uint32),
 89+ ("count", c_int32),
 90+ ]
 91+
 92+class wakeup(ExtendedCStruct):
 93+ _fields_ = [("waiter", c_uint32),
 94+ ("signalled", c_uint32),
 95+ ]
 96+
 97+
8698 swtypes = {
8799 0: "invalid",
88100 1: "emBIOS Debugger",