process.cc (10590:ad9146bb5598) process.cc (11320:42ecb523c64a)
1/*
2 * Copyright (c) 2014 Advanced Micro Devices, Inc.
3 * Copyright (c) 2007 The Hewlett-Packard Development Company
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

--- 598 unchanged lines hidden (view full) ---

607
608void
609I386LiveProcess::initState()
610{
611 X86LiveProcess::initState();
612
613 argsInit(sizeof(uint32_t), PageBytes);
614
1/*
2 * Copyright (c) 2014 Advanced Micro Devices, Inc.
3 * Copyright (c) 2007 The Hewlett-Packard Development Company
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

--- 598 unchanged lines hidden (view full) ---

607
608void
609I386LiveProcess::initState()
610{
611 X86LiveProcess::initState();
612
613 argsInit(sizeof(uint32_t), PageBytes);
614
615 /*
615 /*
616 * Set up a GDT for this process. The whole GDT wouldn't really be for
617 * this process, but the only parts we care about are.
618 */
619 allocateMem(_gdtStart, _gdtSize);
620 uint64_t zero = 0;
621 assert(_gdtSize % sizeof(zero) == 0);
622 for (Addr gdtCurrent = _gdtStart;
623 gdtCurrent < _gdtStart + _gdtSize; gdtCurrent += sizeof(zero)) {

--- 451 unchanged lines hidden ---
616 * Set up a GDT for this process. The whole GDT wouldn't really be for
617 * this process, but the only parts we care about are.
618 */
619 allocateMem(_gdtStart, _gdtSize);
620 uint64_t zero = 0;
621 assert(_gdtSize % sizeof(zero) == 0);
622 for (Addr gdtCurrent = _gdtStart;
623 gdtCurrent < _gdtStart + _gdtSize; gdtCurrent += sizeof(zero)) {

--- 451 unchanged lines hidden ---