Changeset 0cf1dcf in mainline
- Timestamp:
- 2006-11-28T23:03:04Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 058b021
- Parents:
- d4b5542
- Location:
- kernel
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/tsb.c
rd4b5542 r0cf1dcf 99 99 tsb->data.value = 0; 100 100 tsb->data.size = PAGESIZE_8K; 101 tsb->data.pfn = t->frame >> PAGE_WIDTH;101 tsb->data.pfn = t->frame >> FRAME_WIDTH; 102 102 tsb->data.cp = t->c; 103 103 #ifdef CONFIG_VIRT_IDX_CACHE … … 141 141 tsb->data.value = 0; 142 142 tsb->data.size = PAGESIZE_8K; 143 tsb->data.pfn = t->frame >> PAGE_WIDTH;143 tsb->data.pfn = t->frame >> FRAME_WIDTH; 144 144 tsb->data.cp = t->c; 145 145 #ifdef CONFIG_VIRT_IDX_CACHE -
kernel/arch/sparc64/src/start.S
rd4b5542 r0cf1dcf 65 65 kernel_image_start: 66 66 mov BSP_FLAG, %l0 67 and %o0, %l0, %l7 68 andn %o0, %l0, %l6 67 and %o0, %l0, %l7 ! l7 <= bootstrap processor? 68 andn %o0, %l0, %l6 ! l6 <= start of physical memory 69 69 70 70 ! Get bits 40:13 of physmem_base. 71 71 srlx %l6, 13, %l5 72 72 sllx %l5, 13 + (63 - 40), %l5 73 srlx %l5, 63 - 40, %l5 73 srlx %l5, 63 - 40, %l5 ! l5 <= physmem_base[40:13] 74 74 75 75 /* -
kernel/doc/arch/sparc64
rd4b5542 r0cf1dcf 10 10 MACHINES 11 11 o Sun Ultra 5 12 o Sun Ultra 60 12 13 o Sun Enterprise E6500 (simulated) 13 14 -
kernel/generic/include/macros.h
rd4b5542 r0cf1dcf 43 43 #define is_upper(c) (((c) >= 'A') && ((c) <= 'Z')) 44 44 #define is_alpha(c) (is_lower(c) || is_upper(c)) 45 #define is_alphanum(c) (is_alpha(c) || is_digit(c))45 #define is_alphanum(c) (is_alpha(c) || is_digit(c)) 46 46 #define is_white(c) (((c) == ' ') || ((c) == '\t') || ((c) == '\n') || ((c) == '\r')) 47 47 -
kernel/generic/include/mm/frame.h
rd4b5542 r0cf1dcf 58 58 #define ZONE_JOIN 0x1 /**< If possible, merge with neighbouring zones */ 59 59 60 #define FRAME_KA 0x1 /* skip frames conflicting with user address space*/60 #define FRAME_KA 0x1 /* convert the frame address to kernel va */ 61 61 #define FRAME_ATOMIC 0x2 /* do not panic and do not sleep on failure */ 62 62 #define FRAME_NO_RECLAIM 0x4 /* do not start reclaiming when no free memory */
Note:
See TracChangeset
for help on using the changeset viewer.