mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-06-10 13:29:42 +00:00
Fix spelling.
This commit is contained in:
parent
170a9d78e7
commit
5b366e592c
|
@ -108,7 +108,7 @@ void ppc_exception_handler(Except_Type exception_type, uint32_t srr1_bits) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
ABORT_F("Unknown exception occured: %X\n", (unsigned)exception_type);
|
ABORT_F("Unknown exception occurred: %X\n", (unsigned)exception_type);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -142,11 +142,11 @@ void ppc_exception_handler(Except_Type exception_type, uint32_t srr1_bits) {
|
||||||
|
|
||||||
switch (exception_type) {
|
switch (exception_type) {
|
||||||
case Except_Type::EXC_SYSTEM_RESET:
|
case Except_Type::EXC_SYSTEM_RESET:
|
||||||
exc_descriptor = "System reset exception occured";
|
exc_descriptor = "System reset exception occurred";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Except_Type::EXC_MACHINE_CHECK:
|
case Except_Type::EXC_MACHINE_CHECK:
|
||||||
exc_descriptor = "Machine check exception occured";
|
exc_descriptor = "Machine check exception occurred";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Except_Type::EXC_DSI:
|
case Except_Type::EXC_DSI:
|
||||||
|
@ -164,31 +164,31 @@ void ppc_exception_handler(Except_Type exception_type, uint32_t srr1_bits) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Except_Type::EXC_EXT_INT:
|
case Except_Type::EXC_EXT_INT:
|
||||||
exc_descriptor = "External interrupt exception occured";
|
exc_descriptor = "External interrupt exception occurred";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Except_Type::EXC_ALIGNMENT:
|
case Except_Type::EXC_ALIGNMENT:
|
||||||
exc_descriptor = "Alignment exception occured";
|
exc_descriptor = "Alignment exception occurred";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Except_Type::EXC_PROGRAM:
|
case Except_Type::EXC_PROGRAM:
|
||||||
exc_descriptor = "Program exception occured";
|
exc_descriptor = "Program exception occurred";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Except_Type::EXC_NO_FPU:
|
case Except_Type::EXC_NO_FPU:
|
||||||
exc_descriptor = "Floating-Point unavailable exception occured";
|
exc_descriptor = "Floating-Point unavailable exception occurred";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Except_Type::EXC_DECR:
|
case Except_Type::EXC_DECR:
|
||||||
exc_descriptor = "Decrementer exception occured";
|
exc_descriptor = "Decrementer exception occurred";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Except_Type::EXC_SYSCALL:
|
case Except_Type::EXC_SYSCALL:
|
||||||
exc_descriptor = "Syscall exception occured";
|
exc_descriptor = "Syscall exception occurred";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Except_Type::EXC_TRACE:
|
case Except_Type::EXC_TRACE:
|
||||||
exc_descriptor = "Trace exception occured";
|
exc_descriptor = "Trace exception occurred";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
#include <loguru.hpp>
|
#include <loguru.hpp>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
/* pointer to exception handler to be called when a MMU exception is occured. */
|
/* pointer to exception handler to be called when a MMU exception is occurred. */
|
||||||
void (*mmu_exception_handler)(Except_Type exception_type, uint32_t srr1_bits);
|
void (*mmu_exception_handler)(Except_Type exception_type, uint32_t srr1_bits);
|
||||||
|
|
||||||
/* pointers to BAT update functions. */
|
/* pointers to BAT update functions. */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user