- Timestamp:
- 2005-08-25T20:58:07Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fde6429
- Parents:
- cfd6efd2
- Location:
- include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
include/arch.h
rcfd6efd2 r361635c 47 47 #define TASK (cpu_private_data[CPU_ID_ARCH].task) 48 48 49 /* 50 * For each possible kernel stack, structure 51 * of the following type will be placed at 52 * the bottom of the stack. 53 */ 54 struct the { 55 int preemption_disabled; 56 thread_t *thread; /* current thread */ 57 task_t *task; /* current task */ 58 cpu_t *cpu; /* executing cpu */ 59 }; 60 49 61 extern void arch_pre_mm_init(void); 50 62 extern void arch_post_mm_init(void); -
include/config.h
rcfd6efd2 r361635c 32 32 #include <arch/types.h> 33 33 #include <typedefs.h> 34 #include <arch/mm/page.h> 35 36 #define STACK_SIZE PAGE_SIZE 34 37 35 38 #define CONFIG_MEMORY_SIZE 4*1024*1024 36 39 #define CONFIG_HEAP_SIZE 300*1024 37 #define CONFIG_STACK_SIZE 32*102440 #define CONFIG_STACK_SIZE STACK_SIZE 38 41 39 42 struct config { -
include/cpu.h
rcfd6efd2 r361635c 40 40 #include <typedefs.h> 41 41 #include <arch/context.h> 42 #include <config.h> 42 43 43 #define CPU_STACK_SIZE PAGE_SIZE44 #define CPU_STACK_SIZE STACK_SIZE 44 45 45 46 struct cpu { -
include/proc/thread.h
rcfd6efd2 r361635c 40 40 #include <synch/rwlock.h> 41 41 #include <mm/page.h> 42 #include <config.h> 42 43 #include <list.h> 43 44 44 #define THREAD_STACK_SIZE PAGE_SIZE45 #define THREAD_STACK_SIZE STACK_SIZE 45 46 46 47 #define THREAD_USER_STACK 1 -
include/typedefs.h
rcfd6efd2 r361635c 72 72 typedef char *char_ptr; 73 73 74 typedef struct the the_t; 75 74 76 #endif
Note:
See TracChangeset
for help on using the changeset viewer.