[Top] [All Lists]

CVS linux

Subject: CVS linux
From: Kanoj Sarcar <>
Date: Tue, 25 Apr 2000 09:04:51 -0700
CVSROOT:        /home/pub/cvs
Module name:    linux
Changes by:       00/04/25 09:04:51

Modified files:
        include/asm-mips64: current.h stackframe.h 
        arch/mips64/kernel: head.S r4k_switch.S 

Log message:
        We use the ST0_CU0 bit to determine whether we are coming into
        kernel mode for the first time from user mode (on intr/exception/
        syscall etc). If so, we need to set the sp to point to the kernel
        stack. On UP kernels, the kernel stack pointer is stored in
        the global variable "kernelsp". For SMP kernel, the physical
        address of the current task structure is stuffed into the
        watchlo/watchhi registers, so on first entry into the kernel,
        we need to munge this value properly to setup the sp register.

<Prev in Thread] Current Thread [Next in Thread>