/[rtmk]/rtmk/i386/i386-locore.S
ViewVC logotype

Diff of /rtmk/i386/i386-locore.S

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by jrydberg, Mon Dec 10 22:26:59 2001 UTC revision 1.4 by jrydberg, Tue Dec 11 02:15:17 2001 UTC
# Line 151  _trap_set_segs: Line 151  _trap_set_segs:
151     No need to switch stacks or load segment registers. */     No need to switch stacks or load segment registers. */
152    
153  _trap_from_kernel:  _trap_from_kernel:
154  #if 0  #if 1
155          movl    %cr2, %eax          movl    %cr2, %eax
156          movl    %eax, R_CR2(%esp)          movl    %eax, R_CR2(%esp)
157  #endif  #endif
# Line 339  ENTRY(copyout) Line 339  ENTRY(copyout)
339          pushl   %esi          pushl   %esi
340          pushl   %edi                    /* save registers */          pushl   %edi                    /* save registers */
341    
342          movl    8+4(%esp),%esi          /* get user start address */          movl    8+8(%esp),%esi          /* get user start address */
343          movl    8+8(%esp),%edi          /* get kernel destination address */          movl    8+4(%esp),%edi          /* get kernel destination address */
344          movl    8+12(%esp),%edx         /* get count */          movl    8+12(%esp),%edx         /* get count */
345    
346          movl    $KERNEL_DS, %eax          movl    $KERNEL_DS, %eax
# Line 520  r##n:  jmp     f Line 520  r##n:  jmp     f
520  idttable:  idttable:
521    
522  /* type                          exception id */  /* type                          exception id */
523  #if 0  #if 1
524  exception                       (TRAP_DIVIDE_ERROR);  exception                       (TRAP_DIVIDE_ERROR);
525  exception                       (TRAP_DEBUG_EXCEPTION);  exception                       (TRAP_DEBUG_EXCEPTION);
526  exception_user                  (TRAP_BREAKPOINT);  exception_user                  (TRAP_BREAKPOINT);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26