Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[callback] Use correct length for real-mode interrupt descriptor table
Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
  • Loading branch information
mcb30 committed Nov 7, 2014
1 parent 4d39f2a commit 86f3a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/callback.S
Expand Up @@ -214,8 +214,8 @@ dynamic_int:
/* Real-mode interrupt descriptor table */
.section ".data16", "ax", @progbits
rm_idtr:
.word 0xffff /* Limit */
.long 0 /* Base */
.word ( ( 256 * 4 ) - 1 ) /* Limit (256 segment:offset pairs) */
.long 0 /* Base */
.size rm_idtr, . - rm_idtr

/* Real-mode stack */
Expand Down

0 comments on commit 86f3a34

Please sign in to comment.