Commit 6f21d35
committed
Pull up following revision(s) (requested by skrll in ticket #33):
sys/arch/hppa/hppa/trap.c: revision 1.124
sys/arch/hppa/hppa/trap.c: revision 1.125
sys/arch/hppa/hppa/trap.c: revision 1.126
sys/arch/hppa/hppa/trap.c: revision 1.127
sys/arch/hppa/hppa/trap.c: revision 1.128
Fix the inverted logic around probe access vs probe access immediate
instructions. This affected the probe
<__canonicalize_funcptr_for_compare+76>: probei,r (r20),3,r20
and manifested as tests/lib/libc/tls/t_tls_dynamic failures
Remove empty else clause.
Code style around probe instruction priviledge level.
Actually use the PROBE_PL macro with a bitfield that covers the
instruction's 'i' immediate or 'r' fields and mask the bottom two bits as
the {read,write}_access_allowed architecture functions would.
Remove a magic number with s/3/HPPA_PC_PRIV_MASK/
Whitespace1 parent 0147dba commit 6f21d35
1 file changed
Lines changed: 29 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
495 | 495 | | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
506 | 506 | | |
507 | 507 | | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
508 | 511 | | |
509 | 512 | | |
510 | 513 | | |
| |||
929 | 932 | | |
930 | 933 | | |
931 | 934 | | |
932 | | - | |
933 | | - | |
| 935 | + | |
| 936 | + | |
934 | 937 | | |
935 | 938 | | |
936 | | - | |
937 | | - | |
| 939 | + | |
| 940 | + | |
938 | 941 | | |
| 942 | + | |
939 | 943 | | |
940 | 944 | | |
941 | | - | |
| 945 | + | |
942 | 946 | | |
943 | 947 | | |
944 | 948 | | |
| |||
962 | 966 | | |
963 | 967 | | |
964 | 968 | | |
965 | | - | |
966 | 969 | | |
967 | 970 | | |
968 | 971 | | |
| |||
0 commit comments