Home
last modified time | relevance | path

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

12345678910>>...138

/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 i
[all...]
/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/linux/arch/xtensa/kernel/
H A Dvectors.S4 * This file contains all exception vectors (user, kernel, and double),
7 * exception occurs.
20 * We use a two-level table approach. The user and kernel exception vectors
21 * use a first-level dispatch table to dispatch the exception to a registered
23 * The default handler sets up a C-stack and dispatches the exception to a
36 * indicate that the exception is either a double or a regular exception:
38 * PT_DEPC >= VALID_DOUBLE_EXCEPTION_ADDRESS: double exception
39 * < VALID_DOUBLE_EXCEPTION_ADDRESS: regular exception
41 * Note: Neither the kernel nor the user exception handler generate literals.
60 * User exception vector. (Exceptions with PS.UM == 1, PS.EXCM == 0)
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Dhead_40x.S8 * Low-level exception handers, MMU support, and rewrite.
82 * critical exception prolog.
102 * Exception prolog for critical exceptions. This is a little different
103 * from the normal exception prolog above since a critical exception
104 * can potentially occur at any point during normal exception processing.
158 stw r9,_ESR(r11) /* exception was taken */
171 * now phys stack/exception frame pointer
180 * Exception vectors.
190 * 0x0100 - Critical Interrupt Exception
195 * 0x0200 - Machine Check Exception
[all …]
H A Dhead_booke.h13 * Macros used for common Book-e exception handling
33 * entries are available for specific exception use in the event a handler
65 1 : subi r11, r11, INT_FRAME_SIZE; /* Allocate exception frame */ \
86 lis r10, STACK_FRAME_REGS_MARKER@ha /* exception frame marker */
148 /* To handle the additional exception priority levels on 40x and Book-E
155 * GPR to use as the base for indirect access to the exception stacks. This
186 * Exception prolog for critical/machine check exceptions. This is a
187 * little different from the normal exception prolog above since a
188 * critical/machine check exception can potentially occur at any point
189 * during normal exception processing. Thus we cannot use the same SPRG
[all …]
/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/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/drivers/acpi/acpica/
H A Dutexcep.c4 * Module Name: utexcep - Exception code support
23 * RETURN: A string containing the exception text. A valid pointer is
26 * DESCRIPTION: This function translates an ACPI exception into an ASCII
32 const struct acpi_exception_info *exception; in acpi_format_exception() local
36 exception = acpi_ut_validate_exception(status); in acpi_format_exception()
37 if (!exception) { in acpi_format_exception()
39 /* Exception code was not recognized */ in acpi_format_exception()
42 "Unknown exception code: 0x%8.8X", status)); in acpi_format_exception()
47 return (exception->name); in acpi_format_exception()
58 * RETURN: A string containing the exception text. NULL if exception is in ACPI_EXPORT_SYMBOL()
[all …]
/openbmc/linux/arch/microblaze/kernel/
H A Dexceptions.c2 * HW exception handling
64 die("Exception in kernel mode", regs, signr); in _exception()
75 pr_warn("Exception %02x in %s mode, FSR=%08x PC=%08x ESR=%08x\n", in full_exception()
83 pr_debug("Illegal opcode exception in user mode\n"); in full_exception()
87 pr_warn("Illegal opcode exception in kernel mode.\n"); in full_exception()
88 die("opcode exception", regs, SIGBUS); in full_exception()
92 pr_debug("Instruction bus error exception in user mode\n"); in full_exception()
96 pr_warn("Instruction bus error exception in kernel mode.\n"); in full_exception()
97 die("bus exception", regs, SIGBUS); in full_exception()
101 pr_debug("Data bus error exception in user mode\n"); in full_exception()
[all …]
/openbmc/linux/arch/arm/nwfpe/
H A Dfpsr.h18 EXCEPTION TRAP ENABLE BYTE
20 CUMULATIVE EXCEPTION FLAGS BYTE
37 /* EXCEPTION TRAP ENABLE BYTE
42 #define BIT_IXE 0x00100000 /* inexact exception enable */
43 #define BIT_UFE 0x00080000 /* underflow exception enable */
44 #define BIT_OFE 0x00040000 /* overflow exception enable */
45 #define BIT_DZE 0x00020000 /* divide by zero exception enable */
46 #define BIT_IOE 0x00010000 /* invalid operation exception enable */
58 #define BIT_NE 0x00000200 /* NaN exception bit */
61 /* 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/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/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/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/
H A Drecommended.json321 "PublicDescription": "Exception taken, Other synchronous",
324 "BriefDescription": "Exception taken, Other synchronous"
327 "PublicDescription": "Exception taken, Supervisor Call",
330 "BriefDescription": "Exception taken, Supervisor Call"
333 "PublicDescription": "Exception taken, Instruction Abort",
336 "BriefDescription": "Exception taken, Instruction Abort"
339 "PublicDescription": "Exception taken, Data Abort and SError",
342 "BriefDescription": "Exception taken, Data Abort and SError"
345 "PublicDescription": "Exception taken, IRQ",
348 "BriefDescription": "Exception taken, IRQ"
[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/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/linux/arch/parisc/math-emu/
H A Ddecode_exc.c55 /* Exception register definitions */
110 /* exception_index is used to index the exception register queue. It in decode_fpu()
111 * always points at the last register that contains a valid exception. A in decode_fpu()
117 * Check for reserved-op exception. A reserved-op exception does not in decode_fpu()
118 * set any exception registers nor does it set the T-bit. If the T-bit in decode_fpu()
119 * is not set then a reserved-op exception occurred. in decode_fpu()
133 * Now we need to determine what type of exception occurred. in decode_fpu()
138 * On PA89: there are 5 different unimplemented exception in decode_fpu()
145 * Clear T-bit and exception register so that in decode_fpu()
160 * exception register contain the correct values in decode_fpu()
[all …]
/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/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-unavailable.c5 * Force FP, VEC and VSX unavailable exception during transaction in all
11 * VEC/Altivec registers on abortion due to an unavailable exception in TM.
47 int exception; member
52 if (flags.touch_fp && flags.exception == FP_UNA_EXCEPTION) in expecting_failure()
55 if (flags.touch_vec && flags.exception == VEC_UNA_EXCEPTION) in expecting_failure()
60 * won't raise an exception. However since FP and VEC state are already in expecting_failure()
66 flags.exception == VSX_UNA_EXCEPTION) in expecting_failure()
113 if (flags.exception != FP_UNA_EXCEPTION && in tm_una_ping()
114 flags.exception != VEC_UNA_EXCEPTION && in tm_una_ping()
115 flags.exception != VSX_UNA_EXCEPTION) { in tm_una_ping()
[all …]
/openbmc/linux/arch/m68k/fpsp040/
H A Dskeleton.S7 | Each entry point for exception 'xxxx' begins with a 'jmp fpsp_xxxx'.
10 | the 'fpsp_xxxx' handler entry point should be placed in the exception
12 | exception is one that must be reported then there will be a
16 | that caused the exception will still be pending when the FPSP
18 | to handle the exception.
20 | If the exception was completely handled by the package, then
58 | Divide by Zero exception
80 | Inexact exception
83 | will probably want to clear the pending exception.
84 | The provided code will clear the E3 exception (if pending),
[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 …]

12345678910>>...138