Skip to content

Commit

Permalink
Update interrupts.hexa
Browse files Browse the repository at this point in the history
  • Loading branch information
PeyTy committed Nov 29, 2024
1 parent b6c290b commit 08e4216
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions devices/cpu/interrupts.hexa
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,10 @@ fun tssSetEntry(i UInt8, base UInt64, limit UInt64) {
tssd.reserved = 0

tssd.type = (
GdtType.Accessed |
GdtType.Execute |
GdtType.Ring3 | // TODO
GdtType.Present
GdtType.Accessed as! UInt8 |
GdtType.Execute as! UInt8 |
GdtType.Ring3 as! UInt8 | // TODO needed?
GdtType.Present as! UInt8
) as! GdtType
}

Expand Down

0 comments on commit 08e4216

Please sign in to comment.