I found following code in sys/i386/i386/machdep.c: function exec_setregs: bzero((char *)regs, sizeof(struct trapframe)); regs->tf_eip = entry; regs->tf_esp = stack; regs->tf_eflags = PSL_USER | (regs->tf_eflags & PSL_T); the regs is cleared to zero, why do we bother to test it again ? regs->tf_eflags & PSL_T is useless code. AMD64 also has this, I also found it in releng_4, why ? David XuReceived on Sun Sep 26 2004 - 03:40:28 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:13 UTC