Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
triazo
/
kernel
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
3
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5a66d675
authored
Nov 30, 2015
by
malcolm
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
style fix
parent
9150f613
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
src/idt.c
src/idt.c
View file @
5a66d675
...
...
@@ -31,12 +31,12 @@ void idt_install()
void
load_error_handlers
()
{
void
(
*
errors
[])(
uint32_t
)
=
{
int_div_by_zero
,
int_debug
,
int_non_maskable_interrupt
,
int_breakpoint
,
int_overflow
,
int_bound_range_exceeded
,
int_invalid_opcode
,
int_device_not_available
,
int_double_fault
,
int_coprocessor_segment_overrun
,
int_invalid_tss
,
int_segment_not_present
,
int_stack_segment_fault
,
int_general_protection_fault
,
int_page_fault
,
int_reserved
,
int_x87_floating_point
,
int_alignment_check
,
int_machine_check
,
int_simd_floating_point
,
int_virtualization
,
int_reserved
,
int_reserved
,
int_reserved
,
int_reserved
,
int_reserved
,
int_reserved
,
int_reserved
,
int_reserved
,
int_reserved
,
int_security
,
int_reserved
};
int_bound_range_exceeded
,
int_invalid_opcode
,
int_device_not_available
,
int_double_fault
,
int_coprocessor_segment_overrun
,
int_invalid_tss
,
int_segment_not_present
,
int_stack_segment_fault
,
int_general_protection_fault
,
int_page_fault
,
int_reserved
,
int_x87_floating_point
,
int_alignment_check
,
int_machine_check
,
int_simd_floating_point
,
int_virtualization
,
int_reserved
,
int_reserved
,
int_reserved
,
int_reserved
,
int_reserved
,
int_reserved
,
int_reserved
,
int_reserved
,
int_reserved
,
int_security
,
int_reserved
};
for
(
int
i
=
0
;
i
<
32
;
i
++
)
{
handlers
[
i
]
=
errors
[
i
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment