target-mips: change ASID type to hold more than 8 bits

ASID currently has uint8_t type which is too small since some processors
support more than 8 bits ASID. Therefore change its type to uint16_t.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
This commit is contained in:
Paul Burton 2016-06-27 16:19:10 +01:00 committed by Leon Alrae
parent 6ec98bd7b6
commit 2d72e7b047
4 changed files with 12 additions and 12 deletions

View file

@ -19,7 +19,7 @@ typedef struct r4k_tlb_t r4k_tlb_t;
struct r4k_tlb_t {
target_ulong VPN;
uint32_t PageMask;
uint8_t ASID;
uint16_t ASID;
unsigned int G:1;
unsigned int C0:3;
unsigned int C1:3;