Searched refs:KERNEL_STACK_SIZE (Results 1 - 22 of 22) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | stack.c | 79 (*((vm_offset_t *)((stack) + KERNEL_STACK_SIZE) - 1)) 86 if (KERNEL_STACK_SIZE < round_page(KERNEL_STACK_SIZE)) 87 panic("stack_init: stack size %d not a multiple of page size %d\n", KERNEL_STACK_SIZE, PAGE_SIZE); 89 stack_addr_mask = KERNEL_STACK_SIZE - 1; 134 KERNEL_STACK_SIZE + (2*PAGE_SIZE), 279 stack + KERNEL_STACK_SIZE+(2*PAGE_SIZE), 348 *cur_size = KERNEL_STACK_SIZE * total; 349 *max_size = KERNEL_STACK_SIZE * hiwat; 350 *elem_size = KERNEL_STACK_SIZE; [all...] |
H A D | debug.c | 463 kdb_printf("Kernel Stacks:%lu\n",(uintptr_t)(KERNEL_STACK_SIZE * stack_total));
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/ppc/ |
H A D | vm_param.h | 82 #define KERNEL_STACK_SIZE (4 * PPC_PGBYTES) macro
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | cswitch.s | 83 lea KERNEL_STACK_SIZE-IKS_SIZE-IEL_SIZE(%ecx),%edx 118 lea KERNEL_STACK_SIZE-IKS_SIZE-IEL_SIZE(%ecx),%ebx
|
H A D | thread.h | 215 * stack+KERNEL_STACK_SIZE 219 ((struct x86_kernel_state32 *)((stack) + KERNEL_STACK_SIZE) - 1)
|
H A D | genassym.c | 334 DECLARE("KERNEL_STACK_SIZE", KERNEL_STACK_SIZE);
|
H A D | locore.s | 609 andl $(-KERNEL_STACK_SIZE),%ecx 729 andl $(-KERNEL_STACK_SIZE),%ecx
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | sdt_x86.c | 63 stacktop = (uintptr_t *)(dtrace_get_kernel_stack(current_thread()) + KERNEL_STACK_SIZE);
|
H A D | dtrace_isa.c | 519 stacktop = (struct frame *)(dtrace_get_kernel_stack(current_thread()) + KERNEL_STACK_SIZE); 540 stacktop = (struct frame *)(kstack_base + KERNEL_STACK_SIZE);
|
H A D | fbt_x86.c | 255 stacktop = (uintptr_t *)(dtrace_get_kernel_stack(current_thread()) + KERNEL_STACK_SIZE);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/i386/ |
H A D | vm_param.h | 165 #define KERNEL_STACK_SIZE (I386_PGBYTES*4) macro
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | aligned_data.s | 205 .set ., .+KERNEL_STACK_SIZE
|
H A D | thread.h | 202 ((vm_offset_t)(((vm_offset_t)stack)+KERNEL_STACK_SIZE)-FM_SIZE)
|
H A D | cpu.c | 226 if ((debugger_stack = kalloc(KERNEL_STACK_SIZE)) == 0) { 242 proc_info->debstackptr = (vm_offset_t)debugger_stack + KERNEL_STACK_SIZE - FM_SIZE; 265 kfree((void *)(proc_info->debstack_top_ss - KERNEL_STACK_SIZE + FM_SIZE), KERNEL_STACK_SIZE);
|
H A D | ppc_init.c | 160 BootProcInfo.debstack_top_ss = (vm_offset_t)&debstack + KERNEL_STACK_SIZE - FM_SIZE;
|
H A D | hw_exception.s | 135 cmplwi cr2,r9,KERNEL_STACK_SIZE ; Do we still have room on the stack? 256 addi r5,r5,KERNEL_STACK_SIZE-FM_SIZE ; Reset to empty 272 subi r3,r3,KERNEL_STACK_SIZE-FM_SIZE ; Adjust to start of stack 274 cmplwi cr2,r3,KERNEL_STACK_SIZE-FM_SIZE ; Check if we are on debug stack 761 addi r5,r5,KERNEL_STACK_SIZE-FM_SIZE ; Reset to empty 936 subi r5,r5,KERNEL_STACK_SIZE-FM_SIZE ; Adjust to start of stack 938 cmplwi cr2,r5,KERNEL_STACK_SIZE-FM_SIZE ; Check if we are on debug stack 1659 addi r5,r5,KERNEL_STACK_SIZE-FM_SIZE ; Reset to empty 1713 cmplwi r11,KERNEL_STACK_SIZE-FM_SIZE-TRAP_SPACE_NEEDED ; Check if stack pointer is ok
|
H A D | pcb.c | 471 #if KERNEL_STACK_SIZE > PPC_PGBYTES 472 panic("KERNEL_STACK_SIZE can't be greater than PPC_PGBYTES\n");
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/i386/ |
H A D | chud_thread_i386.c | 234 uint64_t kernStackMax = kernStackMin + KERNEL_STACK_SIZE; 312 uint64_t kernStackMax = (uint64_t)kernStackMin + KERNEL_STACK_SIZE; 561 uint32_t kernStackMax = kernStackMin + KERNEL_STACK_SIZE;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | dtrace_isa.c | 511 stacktop = (struct frame *)(dtrace_get_kernel_stack(current_thread()) + KERNEL_STACK_SIZE); 532 stacktop = (struct frame *)(kstack_base + KERNEL_STACK_SIZE);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/ppc/ |
H A D | chud_thread_ppc.c | 454 uint64_t kernStackMax = kernStackMin + KERNEL_STACK_SIZE; 599 uint64_t kernStackMax = kernStackMin + KERNEL_STACK_SIZE;
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOLib.cpp | 678 stack = (((SInt32) &stack) & (KERNEL_STACK_SIZE - 1));
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 1552 stacktop = (struct frame *)(dtrace_get_kernel_stack(current_thread()) + KERNEL_STACK_SIZE); 1571 stacktop = (struct frame *)(kstack_base + KERNEL_STACK_SIZE);
|
Completed in 122 milliseconds