diff options
Diffstat (limited to 'src/mem/protocol/MOESI_CMP_token-dma.sm')
-rw-r--r-- | src/mem/protocol/MOESI_CMP_token-dma.sm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mem/protocol/MOESI_CMP_token-dma.sm b/src/mem/protocol/MOESI_CMP_token-dma.sm index 5686a1438..56cfb2012 100644 --- a/src/mem/protocol/MOESI_CMP_token-dma.sm +++ b/src/mem/protocol/MOESI_CMP_token-dma.sm @@ -54,25 +54,25 @@ machine(DMA, "DMA Controller") MessageBuffer mandatoryQueue; State cur_state; - State getState(Address addr) { + State getState(Addr addr) { return cur_state; } - void setState(Address addr, State state) { + void setState(Addr addr, State state) { cur_state := state; } - AccessPermission getAccessPermission(Address addr) { + AccessPermission getAccessPermission(Addr addr) { return AccessPermission:NotPresent; } - void setAccessPermission(Address addr, State state) { + void setAccessPermission(Addr addr, State state) { } - void functionalRead(Address addr, Packet *pkt) { + void functionalRead(Addr addr, Packet *pkt) { error("DMA does not support functional read."); } - int functionalWrite(Address addr, Packet *pkt) { + int functionalWrite(Addr addr, Packet *pkt) { error("DMA does not support functional write."); } |