Changeset 0fa6044 in mainline for kernel/arch/sparc64/include/asm.h


Ignore:
Timestamp:
2006-08-29T15:35:44Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e11ae91
Parents:
32fffef0
Message:

sparc64 work.

Fix bug introduced in revision 1852. When fixing CWP,
the input registers of the current window (i.e. output
registers of the window belonging to the interrupted
context) must be preserved. Preserve those registers
in memory. Sure there exist more efficient ways how to
copy the inputs.

Simplify before_thread_runs_arch(), resp. after_thread_ran_arch(),
and make them install, resp. uninstall, DTLB locked mapping for
eventual userspace window buffer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/asm.h

    r32fffef0 r0fa6044  
    316316}
    317317
     318/** Flush all valid register windows to memory. */
     319static inline void flushw(void)
     320{
     321        __asm__ volatile ("flushw\n");
     322}
     323
    318324void cpu_halt(void);
    319325void cpu_sleep(void);
Note: See TracChangeset for help on using the changeset viewer.