Commit 416ceb3c authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

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: default avatarAnup Patel <apatel@ventanamicro.com>
parent 3daac8fb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment