process.cc (5513:8631b29873a2) | process.cc (5569:baeee670d4ce) |
---|---|
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; --- 29 unchanged lines hidden (view full) --- 38#include "kern/linux/linux.hh" 39 40#include "sim/process.hh" 41#include "sim/syscall_emul.hh" 42 43using namespace std; 44using namespace AlphaISA; 45 | 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; --- 29 unchanged lines hidden (view full) --- 38#include "kern/linux/linux.hh" 39 40#include "sim/process.hh" 41#include "sim/syscall_emul.hh" 42 43using namespace std; 44using namespace AlphaISA; 45 |
46 47 | |
48/// Target uname() handler. 49static SyscallReturn 50unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process, 51 ThreadContext *tc) 52{ 53 TypedBufferArg<Linux::utsname> name(tc->getSyscallArg(0)); 54 55 strcpy(name->sysname, "Linux"); --- 532 unchanged lines hidden --- | 46/// Target uname() handler. 47static SyscallReturn 48unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process, 49 ThreadContext *tc) 50{ 51 TypedBufferArg<Linux::utsname> name(tc->getSyscallArg(0)); 52 53 strcpy(name->sysname, "Linux"); --- 532 unchanged lines hidden --- |