Skip to content

Commit

Permalink
causeway: correct mistake in used macro
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Jan 27, 2025
1 parent bc9d850 commit 76ead33
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bld/causeway/asm/ldt.asm
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ RawSetSelType proc near
mov ax,KernalZero ;make LDT addresable.
mov es,ax
movzx esi,bx ;Get the selector.
ClearDescTIRPL esi ;lose RPL & TI.
GetDescIndex esi ;lose RPL & TI.
add esi,MDTLinear ;offset into descriptor table.
mov BYTE PTR es:[esi+5],cl
and ch,11110000b
Expand Down Expand Up @@ -337,7 +337,7 @@ RawSetSelLimit proc near
mov ax,KernalZero ;make LDT addresable.
mov es,ax
movzx esi,bx ;Get the selector.
ClearDescTIRPL esi ;lose RPL & TI.
GetDescIndex esi ;lose RPL & TI.
add esi,MDTLinear ;offset into descriptor table.
shl ecx,16 ;cx:dx -> ecx
mov cx,dx ;/
Expand Down Expand Up @@ -384,7 +384,7 @@ RawSetSelBase proc near
mov ax,KernalZero ;make LDT addressable.
mov es,ax
movzx esi,bx ;Get the selector.
ClearDescTIRPL esi ;lose RPL & TI.
GetDescIndex esi ;lose RPL & TI.
add esi,MDTLinear ;offset into descriptor table.
mov es:[esi+4],cl ;base mid.
mov es:[esi+7],ch ;base high.
Expand Down Expand Up @@ -423,7 +423,7 @@ RawGetSelBase proc near
mov ax,KernalZero ;make LDT addresable.
mov es,ax
movzx esi,bx ;Get the selector.
ClearDescTIRPL esi ;lose RPL & TI.
GetDescIndex esi ;lose RPL & TI.
add esi,MDTLinear ;offset into descriptor table.
mov cl,es:[esi+4] ;base mid.
mov ch,es:[esi+7] ;base high.
Expand Down Expand Up @@ -459,7 +459,7 @@ RawBPutDescriptor proc near
mov ds,ax
assume ds:_cwRaw
movzx esi,bx ;Get the selector.
ClearDescTIRPL esi ;lose RPL & TI.
GetDescIndex esi ;lose RPL & TI.
add esi,MDTLinear ;offset into descriptor table.
test BYTE PTR RawSystemFlags,1
jz ldt8_Use32
Expand Down Expand Up @@ -511,7 +511,7 @@ RawBGetDescriptor proc near
mov ds,ax
assume ds:_cwRaw
movzx esi,bx ;Get the selector.
ClearDescTIRPL esi ;lose RPL & TI.
GetDescIndex esi ;lose RPL & TI.
add esi,MDTLinear ;offset into descriptor table.
test BYTE PTR RawSystemFlags,1
jz ldt9_Use32
Expand Down

0 comments on commit 76ead33

Please sign in to comment.