debugfaults.hh (10292:933dfb9d8279) debugfaults.hh (10417:710ee116eb68)
1/*
2 * Copyright (c) 2010 Advanced Micro Devices, Inc.
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

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

81 case WarnOnceFunc:
82 return "warn_once fault";
83 default:
84 panic("unrecognized debug function number\n");
85 }
86 }
87
88 void
1/*
2 * Copyright (c) 2010 Advanced Micro Devices, Inc.
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

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

81 case WarnOnceFunc:
82 return "warn_once fault";
83 default:
84 panic("unrecognized debug function number\n");
85 }
86 }
87
88 void
89 invoke(ThreadContext *tc,
90 StaticInstPtr inst = StaticInst::nullStaticInstPtr)
89 invoke(ThreadContext *tc, const StaticInstPtr &inst =
90 StaticInst::nullStaticInstPtr)
91 {
92 switch (func) {
93 case PanicFunc:
94 panic(message);
95 break;
96 case FatalFunc:
97 fatal(message);
98 break;

--- 30 unchanged lines hidden ---
91 {
92 switch (func) {
93 case PanicFunc:
94 panic(message);
95 break;
96 case FatalFunc:
97 fatal(message);
98 break;

--- 30 unchanged lines hidden ---