Home
last modified time | relevance | path

Searched full:exception (Results 1 – 25 of 2425) sorted by relevance

12345678910>>...97

/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Dexceptions.hpp9 /** @class Exception
11 * to return the description of exception.
12 * This class also works as base class for custom exception classes for
15 class Exception : public std::runtime_error class
19 Exception() = delete;
20 Exception(const Exception&) = delete;
21 Exception(Exception&&) = delete;
22 Exception& operator=(const Exception&) = delete;
25 ~Exception() = default;
29 * @param[in] msg - Information w.r.t exception.
[all …]
/openbmc/qemu/include/hw/intc/
H A Darmv7m_nvic.h27 /* Exception priorities can range from -3 to 255; only the unmodifiable
47 * a Secure and a NonSecure version of the exception and its state):
51 * We store the secure exception state in sec_vectors[] for the banked
54 * Entries in sec_vectors[] for non-banked exception numbers are unused.
71 unsigned int vectpending; /* highest prio pending enabled exception */
72 /* true if vectpending is a banked secure exception, ie it is in
76 int exception_prio; /* group prio of the highest prio active exception */
77 int vectpending_prio; /* group prio of the exception in vectpending */
88 * armv7m_nvic_set_pending: mark the specified exception as pending
90 * @irq: the exception number to mark pending
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dexception_utils.hpp20 #include <exception>
33 * Returns a vector containing the specified exception and any nested inner
36 * If the exception contains nested inner exceptions, the returned vector will
37 * be ordered from innermost exception to outermost exception.
42 * @param eptr exception pointer
48 * Gets the error messages from the specified exception and any nested inner
51 * If the exception contains nested inner exceptions, the messages in the
52 * returned vector will be ordered from innermost exception to outermost
53 * exception.
55 * @param e exception
[all …]
H A Dconfig_file_parser.hpp85 * Throws an invalid_argument exception if the property does not exist.
111 * Throws an exception if parsing fails.
123 * Throws an exception if parsing fails.
136 * Throws an exception if parsing fails.
148 * Throws an exception if parsing fails.
173 * Throws an exception if parsing fails.
198 * Throws an exception if parsing fails.
218 * Throws an exception if parsing fails.
230 * Throws an exception if parsing fails.
243 * Throws an exception if parsing fails.
[all …]
H A Derror_logging_utils.hpp22 #include <exception>
33 * Logs an error based on the specified exception and any nested inner
36 * @param eptr exception pointer
44 * Logs an error, if necessary, based on the specified exception and any nested
47 * Finds the error type would be logged based on the specified exception and any
58 * @param eptr exception pointer
73 * Returns the exception to use when logging an error.
75 * Inspects the specified exception and any nested inner exceptions. Returns
76 * the highest priority exception from an error logging perspective.
78 * @param eptr exception pointer
[all …]
H A Dexception_utils.cpp29 std::vector<std::string> getMessages(const std::exception& e) in getMessages()
42 // Verify exception pointer is not null in getExceptions()
45 // If this exception is nested, add inner exception(s) to vector in getExceptions()
57 // Append this exception to vector in getExceptions()
62 void getMessages(const std::exception& e, std::vector<std::string>& messages) in getMessages()
64 // If this exception is nested, get messages from inner exception(s) in getMessages()
69 catch (const std::exception& inner) in getMessages()
76 // Append error message from this exception in getMessages()
/openbmc/qemu/linux-user/ppc/
H A Dcpu_loop.c91 case POWERPC_EXCP_MCHECK: /* Machine check exception */ in cpu_loop()
92 cpu_abort(cs, "Machine check exception while in user mode. " in cpu_loop()
95 case POWERPC_EXCP_DSI: /* Data storage exception */ in cpu_loop()
96 case POWERPC_EXCP_ISI: /* Instruction storage exception */ in cpu_loop()
105 case POWERPC_EXCP_PROGRAM: /* Program exception */ in cpu_loop()
138 EXCP_DUMP(env, "Unknown floating point exception (%02x)\n", in cpu_loop()
188 cpu_abort(cs, "Unknown program exception (%02x)\n", in cpu_loop()
194 case POWERPC_EXCP_FPU: /* Floating-point unavailable exception */ in cpu_loop()
197 case POWERPC_EXCP_VPU: /* Vector unavailable exception */ in cpu_loop()
200 case POWERPC_EXCP_SYSCALL: /* System call exception */ in cpu_loop()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dpel_utils.py21 class PeltoolException(Exception):
89 Returns PEL data from BMC else throws exception.
106 except Exception as exception:
108 "Failed to get PEL data from BMC : " + str(exception)
109 ) from exception
115 Verify that no PEL exists in BMC. Raise an exception if it does.
126 except Exception as exception:
128 "Failed to get PEL data from BMC : " + str(exception)
129 ) from exception
195 except Exception as exception:
[all …]
/openbmc/linux/arch/xtensa/kernel/
Dvectors.S
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dexception_utils_tests.cpp20 #include <exception>
31 // Test where exception pointer is null in TEST()
39 // Test where exception pointer is not null in TEST()
41 // Create nested exception with two nesting levels in TEST()
65 // Verify first exception in vector, which is the innermost exception in TEST()
77 ADD_FAILURE() << "Unexpected exception type"; in TEST()
80 // Verify second exception in vector, which is the outermost exception in TEST()
92 ADD_FAILURE() << "Unexpected exception type"; in TEST()
111 catch (const std::exception& e) in TEST()
122 // Test where exception pointer is null in TEST()
[all …]
H A Derror_logging_utils_tests.cpp30 #include <sdbusplus/exception.hpp>
32 #include <exception>
48 // Create exception with two nesting levels; top priority is inner in TEST()
82 // Log error based on the nested exception in TEST()
88 // Test where exception pointer is null in TEST()
100 // Test where exception is not nested in TEST()
122 // Log error based on the nested exception in TEST()
128 // Test where exception is nested in TEST()
157 // Log error based on the nested exception in TEST()
163 // Test where exception is a ConfigFileParserError in TEST()
[all …]
/openbmc/linux/drivers/acpi/acpica/
Dutexcep.c
/openbmc/linux/arch/microblaze/kernel/
Dexceptions.c
/openbmc/linux/arch/arm/nwfpe/
Dfpsr.h
/openbmc/u-boot/arch/microblaze/cpu/
H A Dexception.c16 /* loading address of exception EAR */ in _hw_exception_handler()
20 printf("Hardware exception at 0x%x address\n", address); in _hw_exception_handler()
22 printf("Return address from exception 0x%x\n", address); in _hw_exception_handler()
23 switch (state & 0x1f) { /* mask on exception cause */ in _hw_exception_handler()
25 puts("Unaligned data access exception\n"); in _hw_exception_handler()
28 puts("Illegal op-code exception\n"); in _hw_exception_handler()
31 puts("Instruction bus error exception\n"); in _hw_exception_handler()
34 puts("Data bus error exception\n"); in _hw_exception_handler()
37 puts("Divide by zero exception\n"); in _hw_exception_handler()
41 puts("Priviledged or stack protection violation exception\n"); in _hw_exception_handler()
[all …]
/openbmc/qemu/linux-user/arm/nwfpe/
H A Dfpsr.h29 EXCEPTION TRAP ENABLE BYTE
31 CUMULATIVE EXCEPTION FLAGS BYTE
48 /* EXCEPTION TRAP ENABLE BYTE
53 #define BIT_IXE 0x00100000 /* inexact exception enable */
54 #define BIT_UFE 0x00080000 /* underflow exception enable */
55 #define BIT_OFE 0x00040000 /* overflow exception enable */
56 #define BIT_DZE 0x00020000 /* divide by zero exception enable */
57 #define BIT_IOE 0x00010000 /* invalid operation exception enable */
69 #define BIT_NE 0x00000200 /* NaN exception bit */
72 /* CUMULATIVE EXCEPTION FLAGS BYTE
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/
H A D0003-Support-transformation-between-D-Bus-errors-and-exce.patch39 +You can map D-Bus errors to your exception classes for better error handling.
45 + class InvalidArgsException(Exception):
58 + class MyException(Exception):
66 +And catch the same exception on the client side::
73 … all unknown D-Bus errors, use the ``@map_by_default`` decorator to specify the default exception::
78 + class DefaultException(Exception):
96 + """Register and map decorated exception class to a DBus error."""
105 + """Map decorated exception class to a DBus error."""
114 + """Map decorated exception class to all unknown DBus errors."""
127 + """Set the exception class as a default."""
[all …]
/openbmc/sdbusplus/include/sdbusplus/
H A Dexception.hpp9 #include <exception>
22 namespace exception namespace
25 /** Base exception class for all sdbusplus exceptions, including those created
27 struct exception : public std::exception struct
40 // users can inherit from our exception type directly.
44 /** base exception class for all errors created by the sdbus++ generator */
45 struct generated_exception : public exception
58 /** base exception for all new errors and events created by the sdbus++
95 /** base exception class for all errors generated by sdbusplus itself. */
96 struct internal_exception : public exception
[all …]
/openbmc/phosphor-logging/lib/include/phosphor-logging/
H A Delog.hpp5 #include <sdbusplus/exception.hpp>
79 * thrown is the corresponding sdbusplus exception. However, there's a need
97 * entry with a specified exception name
98 * @param[in] name - name of the error exception
116 * @param[in] name - name of the error exception
131 // Validate if the exception is derived from sdbusplus::exception. in commit()
135 !std::is_base_of_v<sdbusplus::exception::generated_event<T>, T>, in commit()
151 // Validate if the exception is derived from sdbusplus::exception. in commit()
155 !std::is_base_of_v<sdbusplus::exception::generated_event<T>, T>, in commit()
170 // Validate if the exception is derived from sdbusplus::exception. in elog()
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/arm64/
Drecommended.json
/openbmc/qemu/target/mips/tcg/
H A Dexception.c37 * If the exception was raised from a delay slot, come back to in exception_resume_pc()
46 void helper_raise_exception_err(CPUMIPSState *env, uint32_t exception, in helper_raise_exception_err() argument
49 do_raise_exception_err(env, exception, error_code, 0); in helper_raise_exception_err()
52 void helper_raise_exception(CPUMIPSState *env, uint32_t exception) in helper_raise_exception() argument
54 do_raise_exception(env, exception, GETPC()); in helper_raise_exception()
62 static void raise_exception(CPUMIPSState *env, uint32_t exception) in raise_exception() argument
64 do_raise_exception(env, exception, 0); in raise_exception()
131 const char *mips_exception_name(int32_t exception) in mips_exception_name() argument
133 if (exception < 0 || exception > EXCP_LAST) { in mips_exception_name()
136 return excp_names[exception]; in mips_exception_name()
[all …]
/openbmc/u-boot/test/py/tests/
H A Dtest_efi_selftest.py21 raise Exception('Failures occurred during the EFI selftest')
25 raise Exception('Reset failed during the EFI selftest')
39 raise Exception('Reset failed in \'device tree\' test')
51 raise Exception('Reset failed in \'watchdog reboot\' test')
67 raise Exception('No prompt for \'text input\' test')
76 raise Exception('EOT failed in \'text input\' test')
84 raise Exception('BS failed in \'text input\' test')
92 raise Exception('BS failed in \'text input\' test')
100 raise Exception('\'a\' failed in \'text input\' test')
108 raise Exception('UP failed in \'text input\' test')
[all …]
/openbmc/sdbusplus/test/exception/
H A Dsdbus_error.cpp3 #include <sdbusplus/exception.hpp>
24 using sdbusplus::exception::SdBusError;
42 sdbusplus::exception::exception& sdbusErr = err; in TEST()
47 std::exception& stdErr = sdbusErr; in TEST()
55 // Make sure no exception is thrown on construction in TEST()
166 * std::exception in TEST()
167 * -> sdbusplus::exception::exception in TEST()
168 * -> sdbusplus::exception::internal_exception in TEST()
169 * -> sdbusplus::exception::SdBusError in TEST()
174 sdbusplus::exception::internal_exception); in TEST()
[all …]
/openbmc/linux/arch/parisc/math-emu/
Ddecode_exc.c
/openbmc/qemu/target/ppc/
H A Dexcp_helper.c2 * PowerPC exception emulation helpers for QEMU.
34 /* Exception processing */
203 "Unsupported exception %d in Power Save mode\n", excp); in powerpc_reset_wakeup()
361 /* Reset exception state */ in powerpc_reset_excp_state()
427 "Raised an exception without defined vector %d\n", excp); in powerpc_excp_40x()
436 case POWERPC_EXCP_MCHECK: /* Machine check exception */ in powerpc_excp_40x()
443 case POWERPC_EXCP_DSI: /* Data storage exception */ in powerpc_excp_40x()
446 case POWERPC_EXCP_ISI: /* Instruction storage exception */ in powerpc_excp_40x()
451 case POWERPC_EXCP_ALIGN: /* Alignment exception */ in powerpc_excp_40x()
453 case POWERPC_EXCP_PROGRAM: /* Program exception */ in powerpc_excp_40x()
[all …]

12345678910>>...97