Compare commits
1 Commits
481271ba2a
...
1bd96304ba
Author | SHA1 | Date | |
---|---|---|---|
1bd96304ba |
@@ -246,7 +246,7 @@ pub fn Arm32(comptime isa: Architecture) type {
|
||||
if (address < 0x0000_0000 + self.itcm.virt.size)
|
||||
return writeInt(T, self.itcm.buf[address & self.itcm.virt.mask ..][0..@sizeOf(T)], value);
|
||||
|
||||
if (dtcm_base < address and address < dtcm_base + dtcm_size)
|
||||
if (dtcm_base <= address and address < dtcm_base + dtcm_size)
|
||||
return writeInt(T, self.dtcm.buf[address & self.dtcm.virt.mask ..][0..@sizeOf(T)], value);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user