:    * Kernel bcopy operation in case where no process switch occurs
:      (i.e. current process was using the FP and while we went into
:      kernel mode, we have not yet saved the FP state anywhere).
:
:       if (process-A-using-FP) {
:           push FP state for process A on stack
:           push process-A-using-FP flag
:       }
:       set process-A-using-FP flag
:       use FP registers to do bcopy
:
:       restore process-A-using-FP flag from stack
:       restore FP state from stack

    Oops.  I meant:

        if (process-A-using-FP) {
            push FP state for process A on stack
        }
        push process-A-using-FP flag

        set process-A-using-FP flag
        use FP registers to do bcopy

        restore process-A-using-FP flag from stack
        if (process-A-using-FP) {
            restore FP state from stack
        }

                                                -Matt

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to