Commit 717bafb
committed
standalone_systests: guard hsv39.h definitions on v81+ toolchain
The Hexagon toolchain's tlb.h provides TLBEntry64, HSV39_PageSize,
hsv39_make_tlb_entry(), and hsv39_write_tlb_entry() when
__HEXAGON_ARCH__ is greater than 80. Building hsv39_tlb with -mv81
therefore collides with the local fallback definitions in hsv39.h.
Guard the local definitions with #if __HEXAGON_ARCH__ <= 80 so older
builds keep using the fallback while v81 and later use the toolchain
versions.
Signed-off-by: Marco Liebel <marco.liebel@oss.qualcomm.com>1 parent 15a2e56 commit 717bafb
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
| 83 | + | |
| 84 | + | |
80 | 85 | | |
81 | 86 | | |
82 | 87 | | |
| |||
0 commit comments