Lines Matching refs:kernel
3 XNU kernel is part of the Darwin operating system for use in macOS and iOS operating systems. XNU i…
4 XNU is a hybrid kernel combining the Mach kernel developed at Carnegie Mellon University with compo…
10 * `SETUP` - Basic set of tools used for configuring the kernel, versioning and kextsymbol managemen…
13 * `libsa` - kernel bootstrap code for startup
15 * `libkdd` - source for user library for parsing kernel data like kernel chunked data.
16 * `makedefs` - top level rules and defines for kernel build.
17 * `osfmk` - Mach kernel based subsystems
21 * `tools` - A set of utilities for testing, debugging and profiling kernel.
27 The xnu make system can build kernel based on `KERNEL_CONFIGS` & `ARCH_CONFIGS` variables as argume…
37 …lopment`, `release`, `profile` and configures compilation flags and asserts throughout kernel code.
40 To build a kernel for the same architecture as running OS, just type
46 Additionally, there is support for configuring architectures through `ARCH_CONFIGS` and kernel conf…
53 …architecture is set to the build machine's architecture, and the default kernel config is set to b…
55 This will also create a bootable image, kernel.[config], and a kernel binary
56 with symbols, kernel.[config].unstripped.
58 To install the kernel into a DSTROOT, use the `install_kernels` target:
64 For a more satisfying kernel debugging experience, with access to all
66 DEBUG kernel, add something like the following to your make command:
85 * To build with RELEASE kernel configuration
126 …repository is created during the install phase; this is a "bundle" named kernel.development.\<vari…
127 …ABS debug information format (where debug information is embedded in the kernel.development.unstri…
137 To test the xnu kernel, you need to build a kernelcache that links the kexts and
138 kernel together into a single bootable image.
143 So you can setup new kernel as
146 cp BUILD/obj/DEVELOPMENT/X86_64/kernel.development /System/Library/Kernels/
154 …kextcache -q -z -a x86_64 -l -n -c /var/tmp/kernelcache.test -K /var/tmp/kernel.test /System/Libra…
160 The development kernel and iBoot supports configuring boot arguments so that we can safely boot int…
163 1. Create kernel cache using the kextcache command as `/kernelcache.test`
190 So if the kernel panic's you can easily power reboot and recover back to original kernel.
214 `Kernel.framework` is used by kernel extensions.\
246 e. `KERNELFILES` : To make header file available in kernel level -
251 for kernel extensions -
261 i. `LIBCXX_DATAFILES` : To make header file available to in-kernel libcxx clients:
330 to everyone for kernel extensions.
337 available for Apple internal for kernel extensions.
348 j. `INSTALL_KF_LIBCXX_MI_LIST` : Installs header file for in-kernel libc++ support.
387 want to export a function only to kernel level but not user level.
390 to control the text generated before a header file is installed. The kernel
398 exposed in user/kernel headers installed within the AppleInternal
401 kernel and Apple internal kernel extensions and omitted from user
409 6. `KERNEL` : If defined, enclosed code is available within xnu and kernel
474 new functionality that is exclusively relevant to the trusted kernel and
475 updates the definition/understanding of what being a trusted kernel means).
484 By default, the kernel reboots in the event of a panic.
486 To boot a kernel so it can be debugged by an attached machine, override the `kdp_match_name` boot-a…
489 Use LLDB to debug the kernel:
492 xcrun -sdk macosx lldb <path-to-unstripped-kernel>
496 The debug info for the kernel (dSYM) comes with a set of macros to support kernel debugging.
497 To load these macros automatically when attaching to the kernel, add the following to `~/.lldbinit`: