Changeset 941d1e9 in mainline
- Timestamp:
- 2005-09-29T22:47:42Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 922c7ce
- Parents:
- 40a468a
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.config
r40a468a r941d1e9 5 5 #ARCH=amd64 6 6 7 # If this is yes, then cross compiler will be used instead of hostcompiler8 CROSS_COMPILER=no7 # If this is yes, then the native compiler will be used instead of cross compiler 8 NATIVE_COMPILER=no 9 9 10 10 # Support for symetric multiprocessors -
arch/ia32/Makefile.inc
r40a468a r941d1e9 1 ifeq (${CROSS_COMPILER},yes) 1 ifeq (${NATIVE_COMPILER},yes) 2 CC=gcc 3 AS=as 4 LD=ld 5 OBJCOPY=objcopy 6 OBJDUMP=objdump 7 else 2 8 IA-32_TARGET=i686-pc-linux-gnu 3 9 … … 10 16 OBJCOPY=$(IA-32_BINUTILS_DIR)/$(IA-32_TARGET)-objcopy 11 17 OBJDUMP=$(IA-32_BINUTILS_DIR)/$(IA-32_TARGET)-objdump 12 else13 CC=gcc14 AS=as15 LD=ld16 OBJCOPY=objcopy17 OBJDUMP=objdump18 18 endif 19 19 -
arch/ia32/_link.ld.in
r40a468a r941d1e9 22 22 *(K_TEXT_START_2); 23 23 unmapped_ktext_end = .; 24 24 25 25 unmapped_kdata_start = .; 26 26 *(K_DATA_START); 27 LONG(0xdeadbeaf); /* TODO: remove 0xdeadbeaf */28 27 unmapped_kdata_end = .; 28 29 LONG(0xdeadbeaf); /* TODO: remove 0xdeadbeaf */ 29 30 } 30 31 … … 50 51 LONG(unmapped_kdata_end - unmapped_kdata_start); 51 52 *(.bss); /* uninitialized static variables */ 52 *(.note.GNU-stack);53 *(.comment);54 55 53 symbol_table = .; 56 54 *(symtab.*); /* Symbol table, must be LAST symbol! */ … … 58 56 kdata_end = .; 59 57 } 58 59 /DISCARD/ : { 60 *(.note.GNU-stack); 61 *(.comment); 62 } 63 60 64 61 65 _hardcoded_kernel_size = (ktext_end - ktext_start) + (unmapped_ktext_end - unmapped_ktext_start) + (kdata_end - kdata_start) + (unmapped_kdata_end - unmapped_kdata_start); -
arch/ia32/src/asm.S
r40a468a r941d1e9 207 207 # Compare a given number of bytes (3rd argument) 208 208 # at memory locations defined by 1st and 2nd argument 209 # for equality. If the bytes are equal, EAX contains 210 # 0. 209 # for equality. If the bytes are equal, EAX contains 0. 211 210 # 212 211 SRC=12 -
build.ia32
r40a468a r941d1e9 3 3 COMPILER="" 4 4 5 if [ $1 == " cross" ];5 if [ $1 == "native" ]; 6 6 then 7 COMPILER=" CROSS_COMPILER=yes";7 COMPILER="NATIVE_COMPILER=yes"; 8 8 fi; 9 9 -
include/fpu_context.h
r40a468a r941d1e9 27 27 */ 28 28 29 #ifndef fpu_context_h30 #define fpu_context_h29 #ifndef __FPU_CONTEXT_H__ 30 #define __FPU_CONTEXT_H__ 31 31 32 32 … … 41 41 42 42 43 #endif /* fpu_context_h*/43 #endif /* __FPU_CONTEXT_H__ */ 44 44 -
include/mm/buddy.h
r40a468a r941d1e9 35 35 #define BUDDY_SYSTEM_INNER_BLOCK 0xff 36 36 37 struct buddy_ operations {37 struct buddy_system_operations { 38 38 link_t *(* find_buddy)(link_t *); 39 39 link_t *(* bisect)(link_t *); … … 46 46 __u8 max_order; 47 47 link_t *order; 48 buddy_ operations_t *op;48 buddy_system_operations_t *op; 49 49 }; 50 50 51 extern buddy_system_t *buddy_system_create(__u8 max_order, buddy_ operations_t *op);51 extern buddy_system_t *buddy_system_create(__u8 max_order, buddy_system_operations_t *op); 52 52 extern link_t *buddy_system_alloc(buddy_system_t *b, __u8 i); 53 53 extern void buddy_system_free(buddy_system_t *b, link_t *block); -
include/mm/heap.h
r40a468a r941d1e9 38 38 struct chunk { 39 39 int used; 40 struct chunk*next;41 struct chunk*prev;40 chunk_t *next; 41 chunk_t *prev; 42 42 __u32 size; 43 43 __native data[0]; -
include/typedefs.h
r40a468a r941d1e9 65 65 66 66 typedef struct buddy_system buddy_system_t; 67 typedef struct buddy_ operations buddy_operations_t;67 typedef struct buddy_system_operations buddy_system_operations_t; 68 68 69 69 typedef struct zone zone_t; -
src/mm/buddy.c
r40a468a r941d1e9 44 44 * @return New buddy system. 45 45 */ 46 buddy_system_t *buddy_system_create(__u8 max_order, buddy_ operations_t *op)46 buddy_system_t *buddy_system_create(__u8 max_order, buddy_system_operations_t *op) 47 47 { 48 48 buddy_system_t *b;
Note:
See TracChangeset
for help on using the changeset viewer.