Commit 3316628
committed
Pull up following revision(s) (requested by skrll in ticket #1967):
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 7c602ec commit 3316628
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 | | |
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
493 | 493 | | |
494 | 494 | | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
499 | 499 | | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
504 | 504 | | |
505 | 505 | | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
510 | 510 | | |
511 | 511 | | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
512 | 515 | | |
513 | 516 | | |
514 | 517 | | |
| |||
935 | 938 | | |
936 | 939 | | |
937 | 940 | | |
938 | | - | |
939 | | - | |
| 941 | + | |
| 942 | + | |
940 | 943 | | |
941 | 944 | | |
942 | | - | |
943 | | - | |
| 945 | + | |
| 946 | + | |
944 | 947 | | |
| 948 | + | |
945 | 949 | | |
946 | 950 | | |
947 | | - | |
| 951 | + | |
948 | 952 | | |
949 | 953 | | |
950 | 954 | | |
| |||
968 | 972 | | |
969 | 973 | | |
970 | 974 | | |
971 | | - | |
972 | 975 | | |
973 | 976 | | |
974 | 977 | | |
| |||
0 commit comments