Changeset 32fffef0 in mainline for kernel/arch/sparc64/include
- Timestamp:
- 2006-08-29T11:06:57Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0fa6044
- Parents:
- c8ea4a8b
- Location:
- kernel/arch/sparc64/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/arch.h
rc8ea4a8b r32fffef0 30 30 * @{ 31 31 */ 32 /** @file 32 /** 33 * @file 34 * @brief Various sparc64-specific macros. 33 35 */ 34 36 … … 39 41 #define ASI_AIUS 0x11 /** Access to secondary context with user privileges. */ 40 42 43 #define NWINDOW 8 /** Number of register window sets. */ 44 41 45 #endif 42 46 43 47 /** @} 44 48 */ 45 -
kernel/arch/sparc64/include/barrier.h
rc8ea4a8b r32fffef0 52 52 * The FLUSH instruction takes address parameter. 53 53 * As such, it may trap if the address is not found in DTLB. 54 * However, JPS1 implementations are free to ignore the trap. 54 * 55 * The entire kernel text is mapped by a locked ITLB and 56 * DTLB entries. Therefore, when this function is called, 57 * the %o7 register will always be in the range mapped by 58 * DTLB. 55 59 */ 56 60 57 __asm__ volatile ("flush % 0\n" :: "r" (0x400000));61 __asm__ volatile ("flush %o7\n"); 58 62 } 59 63 -
kernel/arch/sparc64/include/proc/thread.h
rc8ea4a8b r32fffef0 27 27 */ 28 28 29 29 /** @addtogroup sparc64proc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __sparc64_THREAD_H__ 36 #define __sparc64_THREAD_H__ 35 #ifndef KERN_sparc64_THREAD_H_ 36 #define KERN_sparc64_THREAD_H_ 37 38 #include <arch/types.h> 39 #include <arch/arch.h> 37 40 38 41 typedef struct { 42 /** Buffer for register windows with userspace content. */ 43 uint8_t *uspace_window_buffer; 39 44 } thread_arch_t; 40 41 #define thread_create_arch(t)42 45 43 46 #endif 44 47 45 48 /** @} 46 49 */ 47 -
kernel/arch/sparc64/include/trap/regwin.h
rc8ea4a8b r32fffef0 51 51 #define FILL_HANDLER_SIZE REGWIN_HANDLER_SIZE 52 52 53 #define NWINDOW 854 55 53 /* Window Save Area offsets. */ 56 54 #define L0_OFFSET 0 … … 250 248 /** @} 251 249 */ 252
Note:
See TracChangeset
for help on using the changeset viewer.