Applied NewOS patch 17xx (its repository is currently down...): now sets

the fs register correctly - not that it should have much effect since it's
rarely used anyway (no reason to might be wrong, though) :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3483 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-06-12 03:41:38 +00:00
parent 241ca61820
commit 6b3445e288
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,7 @@ TRAP_ERRC(trap14, 14)
TRAP(trap16, 16) TRAP(trap16, 16)
TRAP_ERRC(trap17, 17) TRAP_ERRC(trap17, 17)
TRAP(trap18, 18) TRAP(trap18, 18)
TRAP(trap19, 19)
TRAP(trap32, 32) TRAP(trap32, 32)
TRAP(trap33, 33) TRAP(trap33, 33)
@ -85,6 +86,7 @@ int_bottom:
movl $KERNEL_DATA_SEG,%eax movl $KERNEL_DATA_SEG,%eax
cld cld
movl %eax,%ds movl %eax,%ds
movl %eax,%es
movl %ss,%ebx movl %ss,%ebx
movl %esp,%esi movl %esp,%esi
cmpl %eax,%ebx // check if we changed the stack cmpl %eax,%ebx // check if we changed the stack