~helenos-nicf/helenos/nicf

« back to all changes in this revision

Viewing changes to kernel/arch/ia32/src/asm.S

  • Committer: Radim Vansa
  • Date: 2011-09-20 21:55:59 UTC
  • mfrom: (697.1.517 HelenOS.mainline)
  • Revision ID: radim.vansa@matfyz.cz-20110920215559-7fjpai6wt5ieurcq
Merge with mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
404
404
         */
405
405
        xorl %eax, %eax
406
406
        cmpl $(GDT_SELECTOR(KTEXT_DES)), ISTATE_OFFSET_CS(%esp)
 
407
#ifdef PROCESSOR_i486
 
408
        jz 0f
 
409
                movl %eax, %ebp
 
410
        0:
 
411
#else
407
412
        cmovnzl %eax, %ebp
 
413
#endif
408
414
 
409
415
        movl %ebp, ISTATE_OFFSET_EBP_FRAME(%esp)
410
416
        movl ISTATE_OFFSET_EIP(%esp), %eax