Changeset a6d4ceb in mainline
- Timestamp:
- 2006-04-13T14:27:30Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 963074b3
- Parents:
- 1ace9ea
- Files:
-
- 7 added
- 11 edited
- 7 moved
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/include/pm.h
r1ace9ea ra6d4ceb 139 139 __u64 reserve3; 140 140 __u16 reserve4; 141 __u16 iomap; 141 __u16 iomap_base; 142 __u8 iomap[0x10000 + 1]; /* 64K + 1 terminating byte */ 142 143 } __attribute__ ((packed)); 143 144 -
arch/amd64/include/proc/thread.h
r1ace9ea ra6d4ceb 30 30 #define __amd64_THREAD_H__ 31 31 32 #define ARCH_THREAD_DATA __native tls; 32 #include <arch/types.h> 33 34 typedef struct { 35 __native tls; 36 } thread_arch_t; 33 37 34 38 #endif -
arch/amd64/src/amd64.c
r1ace9ea ra6d4ceb 174 174 __native sys_tls_set(__native addr) 175 175 { 176 THREAD-> tls = addr;176 THREAD->arch.tls = addr; 177 177 write_msr(AMD_MSR_FS, addr); 178 178 return 0; -
arch/amd64/src/proc/scheduler.c
r1ace9ea ra6d4ceb 48 48 49 49 /* TLS support - set FS to thread local storage */ 50 write_msr(AMD_MSR_FS, THREAD-> tls);50 write_msr(AMD_MSR_FS, THREAD->arch.tls); 51 51 52 52 #ifdef CONFIG_DEBUG_AS_WATCHPOINT -
arch/amd64/src/proc/thread.c
r1ace9ea ra6d4ceb 35 35 void thread_create_arch(thread_t *t) 36 36 { 37 t-> tls = 0;37 t->arch.tls = 0; 38 38 } -
arch/ia32/include/pm.h
r1ace9ea ra6d4ceb 129 129 unsigned : 16; 130 130 unsigned : 16; 131 __u16 io_map_base; 131 __u16 iomap_base; 132 __u8 iomap[0x10000+1]; /* 64K + 1 terminating byte */ 132 133 } __attribute__ ((packed)); 133 134 -
arch/ia32/include/proc/thread.h
r1ace9ea ra6d4ceb 30 30 #define __ia32_THREAD_H__ 31 31 32 #define ARCH_THREAD_DATA __native tls; 32 #include <arch/types.h> 33 34 typedef struct { 35 __native tls; 36 } thread_arch_t; 33 37 34 38 #endif -
arch/ia32/src/ia32.c
r1ace9ea ra6d4ceb 117 117 __native sys_tls_set(__native addr) 118 118 { 119 THREAD-> tls = addr;119 THREAD->arch.tls = addr; 120 120 set_tls_desc(addr); 121 121 -
arch/ia32/src/proc/scheduler.c
r1ace9ea ra6d4ceb 41 41 42 42 /* Set up TLS in GS register */ 43 set_tls_desc(THREAD-> tls);43 set_tls_desc(THREAD->arch.tls); 44 44 45 45 #ifdef CONFIG_DEBUG_AS_WATCHPOINT -
arch/ia32/src/proc/thread.c
r1ace9ea ra6d4ceb 35 35 void thread_create_arch(thread_t *t) 36 36 { 37 t-> tls = 0;37 t->arch.tls = 0; 38 38 } -
arch/ia64/include/proc/thread.h
r1ace9ea ra6d4ceb 30 30 #define __ia64_THREAD_H__ 31 31 32 #define ARCH_THREAD_DATA struct { } arch_thread_data; 32 typedef struct { 33 } thread_arch_t; 33 34 34 35 #define thread_create_arch(t) -
arch/mips32/include/proc/thread.h
r1ace9ea ra6d4ceb 30 30 #define __mips32_THREAD_H__ 31 31 32 #include <arch/exception.h> 33 34 #define ARCH_THREAD_DATA 32 typedef struct { 33 } thread_arch_t; 35 34 36 35 #define thread_create_arch(t) -
arch/ppc32/include/proc/thread.h
r1ace9ea ra6d4ceb 30 30 #define __ppc32_THREAD_H__ 31 31 32 #define ARCH_THREAD_DATA 32 typedef struct { 33 } thread_arch_t; 33 34 34 35 #define thread_create_arch(t) -
arch/ppc64/include/proc/thread.h
r1ace9ea ra6d4ceb 30 30 #define __ppc64_THREAD_H__ 31 31 32 #define ARCH_THREAD_DATA 32 typedef struct { 33 } thread_arch_t; 33 34 34 35 #define thread_create_arch(t) -
arch/sparc64/include/proc/thread.h
r1ace9ea ra6d4ceb 30 30 #define __sparc64_THREAD_H__ 31 31 32 #define ARCH_THREAD_DATA 32 typedef struct { 33 } thread_arch_t; 33 34 34 35 #define thread_create_arch(t) -
generic/include/proc/task.h
r1ace9ea ra6d4ceb 36 36 #include <ipc/ipc.h> 37 37 #include <security/cap.h> 38 #include <arch/proc/task.h> 38 39 39 40 /** Task structure. */ … … 51 52 phone_t phones[IPC_MAX_PHONES]; 52 53 atomic_t active_calls; /**< Active asynchronous messages */ 54 55 task_arch_t arch; 53 56 }; 54 57 -
generic/include/proc/thread.h
r1ace9ea ra6d4ceb 30 30 #define __THREAD_H__ 31 31 32 #include <arch/ thread.h>32 #include <arch/proc/thread.h> 33 33 #include <synch/spinlock.h> 34 34 #include <arch/context.h> … … 118 118 __u32 tid; /**< Thread ID. */ 119 119 120 ARCH_THREAD_DATA; /**< Architecture-specific data. */120 thread_arch_t arch; /**< Architecture-specific data. */ 121 121 122 122 __u8 *kstack; /**< Thread's kernel stack. */ -
generic/src/proc/thread.c
r1ace9ea ra6d4ceb 46 46 #include <typedefs.h> 47 47 #include <time/clock.h> 48 #include <adt/list.h>49 48 #include <config.h> 50 49 #include <arch/interrupt.h>
Note:
See TracChangeset
for help on using the changeset viewer.