1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * Copyright (c) 2011 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 --- 38 unchanged lines hidden (view full) --- 47#include "fputils/fp80.h" 48#include "sim/system.hh" 49 50namespace X86ISA { 51 52uint64_t 53getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp) 54{ |
55 if (fp) { |
56 panic("getArgument(): Floating point arguments not implemented\n"); 57 } else if (size != 8) { 58 panic("getArgument(): Can only handle 64-bit arguments.\n"); 59 } 60 61 // The first 6 integer arguments are passed in registers, the rest 62 // are passed on the stack. 63 const int int_reg_map[] = { --- 309 unchanged lines hidden --- |