Lines Matching defs:kernel
26 * with frameRegisters/gpRegisters in the kernel. This causes the syscalls
279 /* Prior to kernel changeset a4656bf3066e the load-exclusive monitor was not
315 printf("XOR hash for first MB of kernel region 0x%x\n", kernel_hash);
329 /* prove we have root by doing something only the kernel can do */
332 /* let's hash a meg of kernel code */
334 uint32_t *kernel = (uint32_t *)0xe0000000;
336 kernel_hash ^= kernel[i];
339 * an iret. we need to lose root so that we can call the kernel again. We
340 * also need to stop using the kernel stack */
357 /* Sit here calling the kernel to maximize the chance that when the
359 * we are inside the kernel, this will result in the exception being
389 * whilst it was performing a kernel invocation. This means the interrupt
393 * are CPL0 (kernel privilege). Kernel privilige is needed because once this
395 * need kernel privilege), then the sysexit will happen forcively removing
396 * kernel privilege.