Changeset a82500ce in mainline
- Timestamp:
- 2006-03-12T17:32:01Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- de6b301
- Parents:
- 12f952e5
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/include/mm/frame.h
r12f952e5 ra82500ce 30 30 #define __ia64_FRAME_H__ 31 31 32 /* 33 * Frame is defined to be 64K long. 34 * Such a relatively big frame size is used because of kernel stack requirements 35 * and organization. Portion of the stack reserved for RSE must be at least 16K 36 * long. If the memory stack is to have some space allocated, the next available 37 * frame size (i.e. 64K) needs to be used. 38 */ 39 #define FRAME_WIDTH 16 /* 64K */ 32 #define FRAME_WIDTH 14 /* 64K */ 40 33 #define FRAME_SIZE (1<<FRAME_WIDTH) 41 34 42 35 extern void frame_arch_init(void); 43 36 37 38 #define ARCH_STACK_FRAMES TWO_FRAMES 39 44 40 #endif -
arch/ia64/src/mm/tlb.c
r12f952e5 ra82500ce 89 89 { 90 90 /* TODO */ 91 } 91 tlb_invalidate_all(); 92 } 93 94 95 void tlb_invalidate_pages(asid_t asid, __address page, count_t cnt) 96 { 97 98 99 } 100 92 101 93 102 /** Insert data into data translation cache. -
arch/ia64/src/proc/scheduler.c
r12f952e5 ra82500ce 63 63 "bsw.1\n" 64 64 : 65 : "r" (((__address) THREAD->kstack) + ALIGN_UP(sizeof(the_t), REGISTER_STACK_ALIGNMENT)), 66 "r" (&THREAD->kstack[THREAD_STACK_SIZE - SP_DELTA])); 65 : /*"r" (((__address) THREAD->kstack) + ALIGN_UP(sizeof(the_t), REGISTER_STACK_ALIGNMENT)),*/ 66 "r" (&THREAD->kstack[THREAD_STACK_SIZE]), 67 "r" (&THREAD->kstack[THREAD_STACK_SIZE - SP_DELTA]) 68 ); 67 69 } 68 70 -
generic/include/mm/frame.h
r12f952e5 ra82500ce 37 37 #include <mm/buddy.h> 38 38 #include <arch/mm/page.h> 39 #include <arch/mm/frame.h> 39 40 40 41 #define ONE_FRAME 0 42 #define TWO_FRAMES 1 43 44 #ifdef ARCH_STACK_FRAMES 45 #define STACK_FRAMES ARCH_STACK_FRAMES 46 #else 47 #define STACK_FRAMES ONE_FRAME 48 #endif 49 41 50 42 51 #define ZONES_MAX 16 /**< Maximum number of zones in system */ -
generic/src/proc/thread.c
r12f952e5 ra82500ce 117 117 #endif 118 118 119 pfn = frame_alloc_rc( ONE_FRAME, FRAME_KA | kmflags,&status);119 pfn = frame_alloc_rc(STACK_FRAMES, FRAME_KA | kmflags,&status); 120 120 if (status) { 121 121 #ifdef ARCH_HAS_FPU
Note:
See TracChangeset
for help on using the changeset viewer.