process.cc (5958:2d9737bf3c2f) | process.cc (5981:5e7899a2692f) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 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; --- 565 unchanged lines hidden (view full) --- 574 //init_regs->intRegFile[0] = 0; 575} 576 577 578 579SyscallDesc* 580AlphaLinuxProcess::getDesc(int callnum) 581{ | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 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; --- 565 unchanged lines hidden (view full) --- 574 //init_regs->intRegFile[0] = 0; 575} 576 577 578 579SyscallDesc* 580AlphaLinuxProcess::getDesc(int callnum) 581{ |
582 if (callnum < 0 || callnum > Num_Syscall_Descs) | 582 if (callnum < 0 || callnum >= Num_Syscall_Descs) |
583 return NULL; 584 return &syscallDescs[callnum]; 585} | 583 return NULL; 584 return &syscallDescs[callnum]; 585} |