• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/sparc/kernel/

Lines Matching refs:to

19  *          of register windows to the user and kernel.  If you touch
30 * after they have been set, until you are ready to return
39 #define curptr g6 /* Gets set to 'current' then stays G */
67 * be set in to mask. If no user windows are active, the bitmask
89 * up for us to see if this is from user or kernel.
109 save %g0, %g0, %g0 ! save into the window to stash away
113 /* LOCATION: Window to be saved */
129 /* Wow, user windows have to be dealt with, this is dirty
130 * and messy as all hell. And difficult to follow if you
137 * need to save into the appropriate window without inducing
143 save %g0, %g0, %g0 ! Go to where the saving will occur
146 /* LOCATION: Window to be saved */
147 wr %glob_tmp, 0x0, %wim ! Now it is safe to set new %wim
149 /* LOCATION: Window to be saved */
151 /* This instruction branches to a routine which will check
152 * to validity of the users stack pointer by whatever means
154 * specific and thus this branch instruction will need to
157 * circumstances whatsoever! It will branch back to the
159 * needs to be dumped (SRMMU for instance will not need to
162 * to be bogus for some reason the routine shall branch to
171 /* LOCATION: Window to be saved */
179 restore %g0, %g0, %g0 /* Back to trap window. */
197 /* LOCATION: Window to be saved */
199 /* Wheee, user has trashed his/her stack. We have to decide
200 * how to proceed based upon whether we came from kernel mode
205 * c-code to gun down the process.
227 * time and the one we attempted to throw onto the users
252 /* Turn on traps and call c-code to deal with it. */
266 /* LOCATION: Window to be saved */
269 * need to save is a user one and the process has trashed its
270 * stack pointer. We need to be quick, so we throw it into
281 * to kernel mode is not necessarily these days. ;-)
294 * produce 'odd' behavior. The routines below are allowed to
311 /* LOCATION: Window to be saved on the stack */
339 be spwin_sun4c_onepage ! only one page to check
340 lda [%sp] ASI_PTE, %glob_tmp ! have to check first page anyways
369 cmp %glob_tmp, 0x6 ! can user write to it?
383 /* LOCATION: Window to be saved on the stack */
388 * to see what happens. I can hear Linus now
391 * But first, check to see if the users stack has ended