linux.hh (13537:2441d9a15e3c) | linux.hh (13538:642e19fa9db8) |
---|---|
1/* 2 * Copyright (c) 2010, 2011-2012, 2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 44 unchanged lines hidden (view full) --- 53 public: 54 static void 55 archClone(uint64_t flags, 56 Process *pp, Process *cp, 57 ThreadContext *ptc, ThreadContext *ctc, 58 uint64_t stack, uint64_t tls) 59 { 60 ArmISA::copyRegs(ptc, ctc); | 1/* 2 * Copyright (c) 2010, 2011-2012, 2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 44 unchanged lines hidden (view full) --- 53 public: 54 static void 55 archClone(uint64_t flags, 56 Process *pp, Process *cp, 57 ThreadContext *ptc, ThreadContext *ctc, 58 uint64_t stack, uint64_t tls) 59 { 60 ArmISA::copyRegs(ptc, ctc); |
61 62 if (flags & TGT_CLONE_SETTLS) { 63 /* TPIDR_EL0 is architecturally mapped to TPIDRURW, so 64 * this works for both aarch32 and aarch64. */ 65 ctc->setMiscReg(ArmISA::MISCREG_TPIDR_EL0, tls); 66 } |
|
61 } 62}; 63 64class ArmLinux32 : public ArmLinux 65{ 66 public: 67 68 static const int TGT_SIGHUP = 0x000001; --- 473 unchanged lines hidden --- | 67 } 68}; 69 70class ArmLinux32 : public ArmLinux 71{ 72 public: 73 74 static const int TGT_SIGHUP = 0x000001; --- 473 unchanged lines hidden --- |