diff options
| author | Anup Patel <apatel@ventanamicro.com> | 2023-12-11 13:26:49 +0530 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2023-12-19 15:56:37 +0530 |
| commit | 416ceb3cd72db8d24373274316e2f5d5d3800bf3 (patch) | |
| tree | 0cb575ec1544c80d8a7646ba4ae596708bf86723 /lib/utils | |
| parent | 3daac8fb87a4d04fe8dfc0ff4a6ffb947107e1a9 (diff) | |
| download | opensbi-416ceb3cd72db8d24373274316e2f5d5d3800bf3.tar.gz opensbi-416ceb3cd72db8d24373274316e2f5d5d3800bf3.tar.bz2 opensbi-416ceb3cd72db8d24373274316e2f5d5d3800bf3.zip | |
lib: sbi_tlb: Reduce size of struct sbi_tlb_info
Let us reduce the size of struct sbi_tlb_info by doing the
following:
1) Change the data type of asid and vmid fields to uint16_t
2) Replace local_fn() function pointer with an enum
Based on the above, the size of struct sbi_tlb_info is reduced
by 16 bytes on RV64 and 4 bytes on RV32.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Diffstat (limited to 'lib/utils')
0 files changed, 0 insertions, 0 deletions
