semihosting.cc (13893:0e863b6c441a) semihosting.cc (14007:36f842f523c6)
1/*
2 * Copyright (c) 2018 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

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

42#include <cstdio>
43
44#include "arch/arm/utility.hh"
45#include "base/logging.hh"
46#include "base/time.hh"
47#include "debug/Semihosting.hh"
48#include "dev/serial/serial.hh"
49#include "mem/physical.hh"
1/*
2 * Copyright (c) 2018 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

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

42#include <cstdio>
43
44#include "arch/arm/utility.hh"
45#include "base/logging.hh"
46#include "base/time.hh"
47#include "debug/Semihosting.hh"
48#include "dev/serial/serial.hh"
49#include "mem/physical.hh"
50#include "mem/port_proxy.hh"
50#include "mem/secure_port_proxy.hh"
51#include "params/ArmSemihosting.hh"
52#include "sim/byteswap.hh"
53#include "sim/sim_exit.hh"
54#include "sim/system.hh"
55
56const std::map<uint32_t, ArmSemihosting::SemiCall> ArmSemihosting::calls{
57 { 0x01, { "SYS_OPEN", &ArmSemihosting::callOpen, 3, 3 } },
58 { 0x02, { "SYS_CLOSE", &ArmSemihosting::callClose, 1, 1 } },

--- 937 unchanged lines hidden ---
51#include "params/ArmSemihosting.hh"
52#include "sim/byteswap.hh"
53#include "sim/sim_exit.hh"
54#include "sim/system.hh"
55
56const std::map<uint32_t, ArmSemihosting::SemiCall> ArmSemihosting::calls{
57 { 0x01, { "SYS_OPEN", &ArmSemihosting::callOpen, 3, 3 } },
58 { 0x02, { "SYS_CLOSE", &ArmSemihosting::callClose, 1, 1 } },

--- 937 unchanged lines hidden ---