Changeset 673104e in mainline
- Timestamp:
- 2005-06-03T15:10:05Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d1a184f
- Parents:
- 70527f1
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
include/userspace.h
r70527f1 r673104e 30 30 #define __USERSPACE_H__ 31 31 32 extern void userspace(void) __attribute__ ((noreturn)); 32 extern void userspace(void) __attribute__ ((noreturn)); /**< Switch to user-space (CPU user priviledge level) */ 33 33 34 34 #endif -
src/Makefile.config
r70527f1 r673104e 10 10 # Improved support for hyperthreading 11 11 HT=__HT__ 12 13 # General debuging and assert checking disable 14 #NDEBUG=__NDEBUG__ 12 15 13 16 # Deadlock detection support for spinlocks. -
src/cpu/cpu.c
r70527f1 r673104e 44 44 cpu_t *cpus; 45 45 46 47 /** Initialize CPUs 48 * 49 * Initialize kernel CPUs support. 50 * 51 */ 46 52 void cpu_init(void) { 47 53 int i, j; -
src/main/main.c
r70527f1 r673104e 85 85 static void main_ap_separated_stack(void); 86 86 87 /* 88 * Executed by the bootstrap processor. cpu_priority_high()'d 87 88 /** Bootstrap CPU main kernel routine 89 * 90 * Initializes the kernel by bootstrap CPU. 91 * 92 * Assuming cpu_priority_high(). 93 * 89 94 */ 90 95 void main_bsp(void) … … 103 108 } 104 109 110 111 /** Bootstrap CPU main kernel routine stack wrapper 112 * 113 * Second part of main_bsp(). 114 * 115 */ 105 116 void main_bsp_separated_stack(void) { 106 117 vm_t *m; … … 162 173 } 163 174 175 164 176 #ifdef __SMP__ 165 /* 166 * Executed by application processors. cpu_priority_high()'d 167 * Temporary stack is at ctx.sp which was set during BP boot. 177 /** Application CPUs main kernel routine 178 * 179 * Executed by application processors, temporary stack 180 * is at ctx.sp which was set during BP boot. 181 * 182 * Assuming cpu_priority_high(). 183 * 168 184 */ 169 185 void main_ap(void) … … 199 215 } 200 216 217 218 /** Application CPUs main kernel routine stack wrapper 219 * 220 * Second part of main_ap(). 221 * 222 */ 201 223 void main_ap_separated_stack(void) 202 224 {
Note:
See TracChangeset
for help on using the changeset viewer.