syscall_emul.hh (13572:14ddf44aaebc) | syscall_emul.hh (13629:0b83d5382336) |
---|---|
1/* 2 * Copyright (c) 2012-2013, 2015 ARM Limited 3 * Copyright (c) 2015 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 102 unchanged lines hidden (view full) --- 111#include "sim/emul_driver.hh" 112#include "sim/futex_map.hh" 113#include "sim/process.hh" 114#include "sim/syscall_debug_macros.hh" 115#include "sim/syscall_desc.hh" 116#include "sim/syscall_emul_buf.hh" 117#include "sim/syscall_return.hh" 118 | 1/* 2 * Copyright (c) 2012-2013, 2015 ARM Limited 3 * Copyright (c) 2015 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 102 unchanged lines hidden (view full) --- 111#include "sim/emul_driver.hh" 112#include "sim/futex_map.hh" 113#include "sim/process.hh" 114#include "sim/syscall_debug_macros.hh" 115#include "sim/syscall_desc.hh" 116#include "sim/syscall_emul_buf.hh" 117#include "sim/syscall_return.hh" 118 |
119#if defined(__APPLE__) && defined(__MACH__) && !defined(CMSG_ALIGN) 120#define CMSG_ALIGN(len) (((len) + sizeof(size_t) - 1) & ~(sizeof(size_t) - 1)) 121#endif 122 |
|
119////////////////////////////////////////////////////////////////////// 120// 121// The following emulation functions are generic enough that they 122// don't need to be recompiled for different emulated OS's. They are 123// defined in sim/syscall_emul.cc. 124// 125////////////////////////////////////////////////////////////////////// 126 --- 2550 unchanged lines hidden --- | 123////////////////////////////////////////////////////////////////////// 124// 125// The following emulation functions are generic enough that they 126// don't need to be recompiled for different emulated OS's. They are 127// defined in sim/syscall_emul.cc. 128// 129////////////////////////////////////////////////////////////////////// 130 --- 2550 unchanged lines hidden --- |