process.cc (10495:75d2f19fecce) | process.cc (11320:42ecb523c64a) |
---|---|
1/* 2 * Copyright (c) 2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 63 unchanged lines hidden (view full) --- 72{ 73 int index = 0; 74 unsigned op = process->getSyscallArg(tc, index); 75 unsigned bufPtr = process->getSyscallArg(tc, index); 76 // unsigned nbytes = process->getSyscallArg(tc, index); 77 78 switch (op) { 79 case 45: | 1/* 2 * Copyright (c) 2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 63 unchanged lines hidden (view full) --- 72{ 73 int index = 0; 74 unsigned op = process->getSyscallArg(tc, index); 75 unsigned bufPtr = process->getSyscallArg(tc, index); 76 // unsigned nbytes = process->getSyscallArg(tc, index); 77 78 switch (op) { 79 case 45: |
80 { | 80 { |
81 // GSI_IEEE_FP_CONTROL 82 TypedBufferArg<uint64_t> fpcr(bufPtr); 83 // I don't think this exactly matches the HW FPCR 84 *fpcr = 0; 85 fpcr.copyOut(tc->getMemProxy()); 86 return 0; 87 } 88 default: --- 394 unchanged lines hidden --- | 81 // GSI_IEEE_FP_CONTROL 82 TypedBufferArg<uint64_t> fpcr(bufPtr); 83 // I don't think this exactly matches the HW FPCR 84 *fpcr = 0; 85 fpcr.copyOut(tc->getMemProxy()); 86 return 0; 87 } 88 default: --- 394 unchanged lines hidden --- |