FreeCalypso > hg > tcs211-patches
comparison patches/frame_na7_db_ir-systrace.patch @ 14:203e94e07231
frame_na7_db_ir-systrace.patch implemented
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 06 Jun 2015 19:06:33 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
13:2a89e2821f40 | 14:203e94e07231 |
---|---|
1 # TI's original version of the pf_TaskEntry() function in the guts of GPF | |
2 # does this number once all GPF tasks have entered their main loop: | |
3 # | |
4 # TraceMask[0] = 0; | |
5 # | |
6 # The effect of this line is that "system" trace output gets disabled; | |
7 # in particular, "system primitive" requests like querying for existing | |
8 # TRACECLASS of various entities or for the GPF version elicit no response | |
9 # whatsoever until one sends a TRACECLASS setting sysprim which restores | |
10 # the TC_SYSTEM bit in TraceMask[0]. | |
11 # | |
12 # In FreeCalypso we consider this clearing of TraceMask[0] to be either | |
13 # a bug or a misfeature, and we would like to change it. In the case of | |
14 # the GPF code in question, we do have a copy of frame.c source (the module | |
15 # where the offending pf_TaskEntry() function is implemented) which we believe | |
16 # is the same code as what's in the TCS211 version of GPF, but TCS211 is not | |
17 # set up to recompile any part of GPF from source, and there are other modules | |
18 # in the same frame_na7_db_ir.lib for which we don't have the original source | |
19 # (os_*), hence it is easier to do a binary lib patch. | |
20 # | |
21 # The present patch is a binary form of: | |
22 # | |
23 # -TraceMask[0] = 0; | |
24 # +TraceMask[0] = TC_SYSTEM; | |
25 | |
26 [frame.obj] | |
27 | |
28 .text 2ee 10 |