Subversion Repositories freemyipod

Rev

Rev 173 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 173 Rev 176
Line -... Line 1...
-
 
1
#!/usr/bin/env python
-
 
2
#
-
 
3
#
-
 
4
#    Copyright 2010 TheSeven, benedikt93, Farthen
-
 
5
#
-
 
6
#
-
 
7
#    This file is part of emBIOS.
-
 
8
#
-
 
9
#    emBIOS is free software: you can redistribute it and/or
-
 
10
#    modify it under the terms of the GNU General Public License as
-
 
11
#    published by the Free Software Foundation, either version 2 of the
-
 
12
#    License, or (at your option) any later version.
-
 
13
#
-
 
14
#    emBIOS is distributed in the hope that it will be useful,
-
 
15
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-
 
16
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
 
17
#    See the GNU General Public License for more details.
-
 
18
#
-
 
19
#    You should have received a copy of the GNU General Public License
-
 
20
#    along with emBIOS.  If not, see <http://www.gnu.org/licenses/>.
-
 
21
#
-
 
22
#
-
 
23
 
1
thread_state = (
24
thread_state = (
2
    "THREAD_FREE",
25
    "THREAD_FREE",
3
    "THREAD_SUSPENDED",
26
    "THREAD_SUSPENDED",
4
    "THREAD_READY",
27
    "THREAD_READY",
5
    "THREAD_RUNNING",
28
    "THREAD_RUNNING",
Line 18... Line 41...
18
)
41
)
19
 
42
 
20
thread_type = (
43
thread_type = (
21
    "USER_THREAD",
44
    "USER_THREAD",
22
    "OS_THREAD",
45
    "OS_THREAD",
23
    "ORE_THREAD"
46
    "CORE_THREAD"
24
)
47
)
25
 
48
 
26
hwtypes = {
49
hwtypes = {
27
    0: "invalid",
50
    0: "invalid",
28
    0x47324e49: "iPod nano 2g",
51
    0x47324e49: "iPod nano 2g",