Skip to content

Commit c544b51

Browse files
authored
Merge pull request #168 from lukasostendorf/fix_orbstat_interrupt_detection
Fix: symbols: correct interrupt detection
2 parents ceec063 + 7a6ba31 commit c544b51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Inc/symbols.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ extern "C" {
2626
#define NO_FUNCTION 0xffffffff /* No function defined */
2727
#define NO_DESTADDRESS 0xffffffe0 /* No address defined */
2828

29-
#define SPECIALS_MASK 0xfffffff0
30-
#define FN_SLEEPING (SPECIALS_MASK|0xb) /* Marker for sleeping case */
29+
#define SPECIALS_MASK 0xffffff80
30+
#define FN_SLEEPING (SPECIALS_MASK|0xfb) /* Marker for sleeping case */
3131
#define FN_SLEEPING_STR "** Sleeping **" /* String for sleeping case */
3232

33-
#define INTERRUPT (SPECIALS_MASK|0xd)
33+
#define INTERRUPT (SPECIALS_MASK|0xfd)
3434
#define FN_INTERRUPT_STR "INTERRUPT"
3535

3636
enum symbolErr { SYMBOL_OK, SYMBOL_NOELF, SYMBOL_NOOBJDUMP, SYMBOL_UNSPECIFIED };

0 commit comments

Comments
 (0)