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 Dstack.c79 (*((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 Ddebug.c463 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 Dvm_param.h82 #define KERNEL_STACK_SIZE (4 * PPC_PGBYTES) macro
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dcswitch.s83 lea KERNEL_STACK_SIZE-IKS_SIZE-IEL_SIZE(%ecx),%edx
118 lea KERNEL_STACK_SIZE-IKS_SIZE-IEL_SIZE(%ecx),%ebx
H A Dthread.h215 * stack+KERNEL_STACK_SIZE
219 ((struct x86_kernel_state32 *)((stack) + KERNEL_STACK_SIZE) - 1)
H A Dgenassym.c334 DECLARE("KERNEL_STACK_SIZE", KERNEL_STACK_SIZE);
H A Dlocore.s609 andl $(-KERNEL_STACK_SIZE),%ecx
729 andl $(-KERNEL_STACK_SIZE),%ecx
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dsdt_x86.c63 stacktop = (uintptr_t *)(dtrace_get_kernel_stack(current_thread()) + KERNEL_STACK_SIZE);
H A Ddtrace_isa.c519 stacktop = (struct frame *)(dtrace_get_kernel_stack(current_thread()) + KERNEL_STACK_SIZE);
540 stacktop = (struct frame *)(kstack_base + KERNEL_STACK_SIZE);
H A Dfbt_x86.c255 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 Dvm_param.h165 #define KERNEL_STACK_SIZE (I386_PGBYTES*4) macro
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Daligned_data.s205 .set ., .+KERNEL_STACK_SIZE
H A Dthread.h202 ((vm_offset_t)(((vm_offset_t)stack)+KERNEL_STACK_SIZE)-FM_SIZE)
H A Dcpu.c226 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 Dppc_init.c160 BootProcInfo.debstack_top_ss = (vm_offset_t)&debstack + KERNEL_STACK_SIZE - FM_SIZE;
H A Dhw_exception.s135 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 Dpcb.c471 #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 Dchud_thread_i386.c234 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 Ddtrace_isa.c511 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 Dchud_thread_ppc.c454 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 DIOLib.cpp678 stack = (((SInt32) &stack) & (KERNEL_STACK_SIZE - 1));
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Ddtrace_glue.c1552 stacktop = (struct frame *)(dtrace_get_kernel_stack(current_thread()) + KERNEL_STACK_SIZE);
1571 stacktop = (struct frame *)(kstack_base + KERNEL_STACK_SIZE);

Completed in 276 milliseconds