Commit 82c17ad
committed
standalone_systests: drop dead hsv39.h fallback definitions
hsv39.h's HSV39_PageSize, TLBEntry64, hsv39_make_tlb_entry(), and
hsv39_write_tlb_entry() were locally redefined when __HEXAGON_ARCH__
was 80 or earlier. But the only consumer of this header is
hsv39_tlb.c, which is forced to build with -mv81 by CMakeLists.txt
(the next commit). So the fallback was unreachable in practice.
The fallbacks were also semantically wrong: the local TLBEntry64
omitted the HSV39:1 bit field that the toolchain's version sets, so
even if reached the fallback would have produced incorrect TLB
entries.
Delete them. The toolchain's tlb.h provides the correct definitions
when __HEXAGON_ARCH__ > 80. Keep pow4() — it is used directly by
hsv39_tlb.c, not just by the deleted helpers.
Signed-off-by: Marco Liebel <marco.liebel@oss.qualcomm.com>1 parent d4f7faa commit 82c17ad
1 file changed
Lines changed: 0 additions & 58 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 22 | | |
81 | 23 | | |
82 | 24 | | |
| |||
0 commit comments