DMASequencer.cc (8162:5f69f1b0039e) | DMASequencer.cc (8165:5955406f7ed0) |
---|---|
1/* 2 * Copyright (c) 2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 50 unchanged lines hidden (view full) --- 59 bool write = false; 60 switch(request.type) { 61 case RubyRequestType_LD: 62 write = false; 63 break; 64 case RubyRequestType_ST: 65 write = true; 66 break; | 1/* 2 * Copyright (c) 2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 50 unchanged lines hidden (view full) --- 59 bool write = false; 60 switch(request.type) { 61 case RubyRequestType_LD: 62 write = false; 63 break; 64 case RubyRequestType_ST: 65 write = true; 66 break; |
67 case RubyRequestType_NULL: 68 case RubyRequestType_IFETCH: 69 case RubyRequestType_Load_Linked: 70 case RubyRequestType_Store_Conditional: 71 case RubyRequestType_RMW_Read: 72 case RubyRequestType_RMW_Write: 73 case RubyRequestType_Locked_RMW_Read: 74 case RubyRequestType_Locked_RMW_Write: 75 case RubyRequestType_NUM: | 67 default: |
76 panic("DMASequencer::makeRequest does not support RubyRequestType"); 77 return RequestStatus_NULL; 78 } 79 80 assert(!m_is_busy); // only support one outstanding DMA request 81 m_is_busy = true; 82 83 active_request.start_paddr = paddr; --- 111 unchanged lines hidden --- | 68 panic("DMASequencer::makeRequest does not support RubyRequestType"); 69 return RequestStatus_NULL; 70 } 71 72 assert(!m_is_busy); // only support one outstanding DMA request 73 m_is_busy = true; 74 75 active_request.start_paddr = paddr; --- 111 unchanged lines hidden --- |