Sequencer.cc (8485:7a9a7f2a3d46) | Sequencer.cc (8505:442804117f95) |
---|---|
1/* 2 * Copyright (c) 1999-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; --- 602 unchanged lines hidden (view full) --- 611 return RequestStatus_Issued; 612} 613 614void 615Sequencer::issueRequest(const RubyRequest& request) 616{ 617 // TODO: Eliminate RubyRequest being copied again. 618 | 1/* 2 * Copyright (c) 1999-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; --- 602 unchanged lines hidden (view full) --- 611 return RequestStatus_Issued; 612} 613 614void 615Sequencer::issueRequest(const RubyRequest& request) 616{ 617 // TODO: Eliminate RubyRequest being copied again. 618 |
619 RubyRequestType ctype; | 619 RubyRequestType ctype = RubyRequestType_NUM; |
620 switch(request.m_Type) { 621 case RubyRequestType_IFETCH: 622 ctype = RubyRequestType_IFETCH; 623 break; 624 case RubyRequestType_LD: 625 ctype = RubyRequestType_LD; 626 break; 627 case RubyRequestType_FLUSH: --- 24 unchanged lines hidden (view full) --- 652 case RubyRequestType_Store_Conditional: 653 case RubyRequestType_ATOMIC: 654 ctype = RubyRequestType_ATOMIC; 655 break; 656 default: 657 assert(0); 658 } 659 | 620 switch(request.m_Type) { 621 case RubyRequestType_IFETCH: 622 ctype = RubyRequestType_IFETCH; 623 break; 624 case RubyRequestType_LD: 625 ctype = RubyRequestType_LD; 626 break; 627 case RubyRequestType_FLUSH: --- 24 unchanged lines hidden (view full) --- 652 case RubyRequestType_Store_Conditional: 653 case RubyRequestType_ATOMIC: 654 ctype = RubyRequestType_ATOMIC; 655 break; 656 default: 657 assert(0); 658 } 659 |
660 RubyAccessMode amtype; | 660 RubyAccessMode amtype = RubyAccessMode_NUM; |
661 switch(request.m_AccessMode){ 662 case RubyAccessMode_User: 663 amtype = RubyAccessMode_User; 664 break; 665 case RubyAccessMode_Supervisor: 666 amtype = RubyAccessMode_Supervisor; 667 break; 668 case RubyAccessMode_Device: --- 84 unchanged lines hidden --- | 661 switch(request.m_AccessMode){ 662 case RubyAccessMode_User: 663 amtype = RubyAccessMode_User; 664 break; 665 case RubyAccessMode_Supervisor: 666 amtype = RubyAccessMode_Supervisor; 667 break; 668 case RubyAccessMode_Device: --- 84 unchanged lines hidden --- |