Line |
Stmt Id |
Pos |
Tree |
Symbol |
Code |
33
|
13
|
1357
-
1360
|
Literal
|
<nosymbol>
|
-1L
|
35
|
14
|
1450
-
1453
|
Literal
|
<nosymbol>
|
256L
|
35
|
16
|
1430
-
1475
|
Apply
|
java.nio.ByteBuffer.allocate
|
java.nio.ByteBuffer.allocate(info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong(256L).Ki.asInstanceOf[Int])
|
35
|
15
|
1450
-
1474
|
TypeApply
|
scala.Any.asInstanceOf
|
info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong(256L).Ki.asInstanceOf[Int]
|
37
|
17
|
1590
-
1592
|
Literal
|
<nosymbol>
|
-1
|
43
|
18
|
1710
-
1719
|
Apply
|
java.nio.channels.SeekableByteChannel.size
|
ChannelReadOnlyMemory.this.data.size()
|
51
|
20
|
2044
-
2050
|
Select
|
info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong.Ki
|
info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong(256L).Ki
|
51
|
19
|
2044
-
2047
|
Literal
|
<nosymbol>
|
256L
|
51
|
21
|
2034
-
2050
|
Apply
|
scala.Long./
|
address./(info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong(256L).Ki)
|
52
|
46
|
2055
-
2473
|
Apply
|
scala.util.Try.apply
|
scala.util.Try.apply[Byte]({
if (block.!=(ChannelReadOnlyMemory.this.cachedBlock))
{
ChannelReadOnlyMemory.this.data.position(block.*(info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong(256L).Ki));
ChannelReadOnlyMemory.this.romCache.clear();
ChannelReadOnlyMemory.this.cachedBytes_=(ChannelReadOnlyMemory.this.data.read(ChannelReadOnlyMemory.this.romCache));
ChannelReadOnlyMemory.this.cachedBlock_=(block)
}
else
();
val indexInCache: Int = address.%(info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong(256L).Ki).asInstanceOf[Int];
if (indexInCache.>(ChannelReadOnlyMemory.this.cachedBytes))
throw new IllegalAddressException("Address outside memory")
else
();
ChannelReadOnlyMemory.this.romCache.get(indexInCache)
})
|
54
|
23
|
2112
-
2132
|
Apply
|
scala.Long.!=
|
block.!=(ChannelReadOnlyMemory.this.cachedBlock)
|
54
|
35
|
2108
-
2108
|
Block
|
<nosymbol>
|
()
|
54
|
22
|
2121
-
2132
|
Select
|
info.osdevelopment.sysemu.memory.ChannelReadOnlyMemory.cachedBlock
|
ChannelReadOnlyMemory.this.cachedBlock
|
54
|
34
|
2108
-
2108
|
Literal
|
<nosymbol>
|
()
|
54
|
33
|
2134
-
2274
|
Block
|
<nosymbol>
|
{
ChannelReadOnlyMemory.this.data.position(block.*(info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong(256L).Ki));
ChannelReadOnlyMemory.this.romCache.clear();
ChannelReadOnlyMemory.this.cachedBytes_=(ChannelReadOnlyMemory.this.data.read(ChannelReadOnlyMemory.this.romCache));
ChannelReadOnlyMemory.this.cachedBlock_=(block)
}
|
55
|
26
|
2158
-
2172
|
Apply
|
scala.Long.*
|
block.*(info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong(256L).Ki)
|
55
|
25
|
2166
-
2172
|
Select
|
info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong.Ki
|
info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong(256L).Ki
|
55
|
27
|
2144
-
2173
|
Apply
|
java.nio.channels.SeekableByteChannel.position
|
ChannelReadOnlyMemory.this.data.position(block.*(info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong(256L).Ki))
|
55
|
24
|
2166
-
2169
|
Literal
|
<nosymbol>
|
256L
|
56
|
28
|
2182
-
2196
|
Apply
|
java.nio.Buffer.clear
|
ChannelReadOnlyMemory.this.romCache.clear()
|
57
|
29
|
2229
-
2237
|
Select
|
info.osdevelopment.sysemu.memory.ChannelReadOnlyMemory.romCache
|
ChannelReadOnlyMemory.this.romCache
|
57
|
31
|
2205
-
2238
|
Apply
|
info.osdevelopment.sysemu.memory.ChannelReadOnlyMemory.cachedBytes_=
|
ChannelReadOnlyMemory.this.cachedBytes_=(ChannelReadOnlyMemory.this.data.read(ChannelReadOnlyMemory.this.romCache))
|
57
|
30
|
2219
-
2238
|
Apply
|
java.nio.channels.SeekableByteChannel.read
|
ChannelReadOnlyMemory.this.data.read(ChannelReadOnlyMemory.this.romCache)
|
58
|
32
|
2247
-
2266
|
Apply
|
info.osdevelopment.sysemu.memory.ChannelReadOnlyMemory.cachedBlock_=
|
ChannelReadOnlyMemory.this.cachedBlock_=(block)
|
60
|
38
|
2301
-
2336
|
TypeApply
|
scala.Any.asInstanceOf
|
address.%(info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong(256L).Ki).asInstanceOf[Int]
|
60
|
37
|
2311
-
2317
|
Select
|
info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong.Ki
|
info.osdevelopment.sysemu.support.Utilities.BinaryUnitLong(256L).Ki
|
60
|
36
|
2311
-
2314
|
Literal
|
<nosymbol>
|
256L
|
61
|
41
|
2375
-
2434
|
Throw
|
<nosymbol>
|
throw new IllegalAddressException("Address outside memory")
|
61
|
44
|
2343
-
2343
|
Block
|
<nosymbol>
|
()
|
61
|
40
|
2347
-
2373
|
Apply
|
scala.Int.>
|
indexInCache.>(ChannelReadOnlyMemory.this.cachedBytes)
|
61
|
43
|
2343
-
2343
|
Literal
|
<nosymbol>
|
()
|
61
|
39
|
2362
-
2373
|
Select
|
info.osdevelopment.sysemu.memory.ChannelReadOnlyMemory.cachedBytes
|
ChannelReadOnlyMemory.this.cachedBytes
|
61
|
42
|
2375
-
2434
|
Block
|
<nosymbol>
|
throw new IllegalAddressException("Address outside memory")
|
62
|
45
|
2441
-
2467
|
Apply
|
java.nio.ByteBuffer.get
|
ChannelReadOnlyMemory.this.romCache.get(indexInCache)
|