riscv haskell: adjust asid high and low bits to match C

1 bit moves from high bits to low bits
This commit is contained in:
Rafal Kolanski 2019-04-02 15:07:33 +11:00
parent 47d8c75e76
commit 31da393e14
1 changed files with 2 additions and 2 deletions

View File

@ -78,10 +78,10 @@ newtype ASID = ASID { fromASID :: Word64 }
deriving (Show, Eq, Ord, Enum, Real, Integral, Num, Bits, Ix, Bounded)
asidHighBits :: Int
asidHighBits = 6
asidHighBits = 7
asidLowBits :: Int
asidLowBits = 10
asidLowBits = 9
asidBits :: Int
asidBits = asidHighBits + asidLowBits