Deleted Added
sdiff udiff text old ( 12234:78ece221f9f5 ) new ( 12236:126ac9da6050 )
full compact
1// Copyright (c) AMD
2// All rights reserved.
3//
4// Authors: Marc Orr
5
6// Monitor Instruction
7
8output header {{

--- 31 unchanged lines hidden (view full) ---

40 decoder_output = BasicConstructor.subst(iop)
41 decode_block = BasicDecode.subst(iop)
42 exec_output = BasicExecute.subst(iop)
43}};
44
45
46// Mwait instruction
47
48def template MwaitDeclare {{
49 class %(class_name)s : public %(base_class)s
50 {
51 public:
52 // Constructor.
53 %(class_name)s(ExtMachInst machInst);
54 Fault execute(ExecContext *, Trace::InstRecord *) const;
55 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const;
56 Fault completeAcc(PacketPtr, ExecContext *, Trace::InstRecord *) const;
57 };
58}};
59
60def template MwaitInitiateAcc {{
61 Fault %(class_name)s::initiateAcc(ExecContext * xc,
62 Trace::InstRecord * traceData) const
63 {
64 unsigned s = 0x8; //size

--- 60 unchanged lines hidden ---