Home
last modified time | relevance | path

Searched refs:image (Results 1 – 21 of 21) sorted by relevance

/xnu-11215/EXTERNAL_HEADERS/img4/
H A Dimage.h31 img4_image_get_bytes(img4_image_t _Nullable image);
58 img4_image_get_property_bool(img4_image_t image,
88 img4_image_get_property_uint32(img4_image_t image,
118 img4_image_get_property_uint64(img4_image_t image,
148 img4_image_get_property_data(img4_image_t image,
178 img4_image_get_entitlement_bool(img4_image_t image,
209 img4_image_get_entitlement_uint32(img4_image_t image,
240 img4_image_get_entitlement_uint64(img4_image_t image,
270 img4_image_get_entitlement_data(img4_image_t image,
H A Dfirmware.h266 img4_image_t _Nullable image,
274 img4_image_t _Nullable image,
/xnu-11215/doc/lifecycle/
H A Dhibernation.md119 * The page bitmaps are written to the image.
121 the image); these include the pages already stored directly to the image, as
135 * The image header is finalized.
139 the image header.
142 calculated on cold boot. They are stored in the image header.
162 correct proceeds. The `boot-image` variable is cleared.
172 the image back to their original physical addresses in memory.
176 still compressed in the image.
196 wired image.
273 hibernation image
[all …]
/xnu-11215/libkern/libkern/img4/
H A Dinterface.h145 img4_image_t image
149 img4_image_t image,
155 img4_image_t image,
161 img4_image_t image,
167 img4_image_t image,
/xnu-11215/iokit/Kernel/
H A DIONVRAMV3Handler.cpp117 store_var = (const struct v3_var_header *)(image + offset); in find_active_var_in_image()
163 if (image[offset] == 0xFF) { in find_current_offset_in_image()
168 while ((inner_offset < len) && (image[inner_offset] == 0xFF)) { in find_current_offset_in_image()
216 IOReturn unserializeImage(const uint8_t *image, IOByteCount length);
239 static bool isValidImage(const uint8_t *image, IOByteCount length);
268 IONVRAMV3Handler::isValidImage(const uint8_t *image, IOByteCount length) in isValidImage() argument
296 if ((image != nullptr) && (length != 0)) { in init()
297 if (handler->unserializeImage(image, length) != kIOReturnSuccess) { in init()
601 require(isValidImage(image, length), exit); in unserializeImage()
603 storeHeader = (const struct v3_store_header *)image; in unserializeImage()
[all …]
H A DIONVRAMCHRPHandler.cpp87 IOReturn unserializeImage(const uint8_t *image, IOByteCount length);
108 static bool isValidImage(const uint8_t *image, IOByteCount length);
110 static IONVRAMCHRPHandler *init(IODTNVRAM *provider, const uint8_t *image, IOByteCount length,
288 IONVRAMCHRPHandler::isValidImage(const uint8_t *image, IOByteCount length) in isValidImage() argument
290 return validateNVRAMVersion(image, length, nullptr) != kNVRAMVersionUnknown; in isValidImage()
294 IONVRAMCHRPHandler::init(IODTNVRAM *provider, const uint8_t *image, IOByteCount length, in init() argument
308 if ((image != nullptr) && (length != 0)) { in init()
309 if (handler->unserializeImage(image, length) != kIOReturnSuccess) { in init()
407 IONVRAMCHRPHandler::unserializeImage(const uint8_t *image, IOByteCount length) in unserializeImage() argument
417 _version = validateNVRAMVersion(image, _bankSize, &_generation); in unserializeImage()
[all …]
H A DIONVRAM.cpp1419 const uint8_t *image = nullptr; in initImageFormat() local
1441 image = (const uint8_t *)data->getBytesNoCopy(); in initImageFormat()
1444 if (IONVRAMV3Handler::isValidImage(image, size)) { in initImageFormat()
1445 _format = IONVRAMV3Handler::init(this, image, size, _varDict); in initImageFormat()
1448 _format = IONVRAMCHRPHandler::init(this, image, size, _varDict); in initImageFormat()
/xnu-11215/tools/kt-dump/
H A Dkt-dump.cpp173 class image { class
342 image(std::span<uint8_t> contents, size_t mh_offs = 0) in image() function in image
390 ~image() = default;
485 image img{contents}; in do_simple_macho()
504 image img{contents.subspan(OSSwapInt32(arch.offset), OSSwapInt32(arch.size))}; in do_fat_macho()
549 image img{contents, fec->fileoff}; in do_fileset()
/xnu-11215/libkern/c++/
H A DOSRuntime.cpp144 g_sptm_kmod_info.address = (vm_offset_t)SPTMArgs->debug_header->image[DEBUG_HEADER_ENTRY_SPTM]; in OSlibkernInit()
145 g_txm_kmod_info.address = (vm_offset_t)SPTMArgs->debug_header->image[DEBUG_HEADER_ENTRY_TXM]; in OSlibkernInit()
H A DOSKext.cpp837 load_address = (vm_offset_t)SPTMArgs->debug_header->image[DEBUG_HEADER_ENTRY_SPTM]; in allocAndInitFakeKext()
846 load_address = (vm_offset_t)SPTMArgs->debug_header->image[DEBUG_HEADER_ENTRY_TXM]; in allocAndInitFakeKext()
/xnu-11215/osfmk/kern/
H A Dexclaves_panic.c189 (const unsigned char *)exclaves_panic_buffer.backtrace.images[words[i].image].uuid, in exclaves_append_panic_backtrace()
H A Ddebug.c1995 component_address = dh->image[DEBUG_HEADER_ENTRY_TXM];
2001 component_address = dh->image[DEBUG_HEADER_ENTRY_XNU];
2007 component_address = dh->image[DEBUG_HEADER_ENTRY_SPTM];
/xnu-11215/config/
H A DMASTER107 options CONFIG_IMAGEBOOT # local image boot # <config_imageboot>
109 options CONFIG_IMAGEBOOT_IMG4 # authenticate image with AppleImage4 # <config_imageboot_img4>
110 options CONFIG_IMAGEBOOT_CHUNKLIST # authenticate image with a chunk list # <config_imageboot_chun…
/xnu-11215/
H A DREADME.md55 This will also create a bootable image, kernel.[config], and a kernel binary
127 …(where debug information is embedded in the kernel.development.unstripped image), set the BUILD_ST…
138 kernel together into a single bootable image.
/xnu-11215/osfmk/tests/
H A DREADME.md17 * boot the image "```bootx```"
/xnu-11215/tools/lldbmacros/
H A Dkcdata.py2107 for image in dsc_layout:
2108 … dsc_libs.append([format_uuid(image['imageUUID']), image['imageLoadAddress'] + slide, "C"])
/xnu-11215/doc/debugging/
H A Ddebugging.md182 $ xcrun -sdk <sdk> lldb -c core <dsym_path>/<kernel image>
/xnu-11215/osfmk/arm64/sptm/
H A Darm_init_sptm.c1538 offsets->slid_base = (vm_offset_t)SPTMArgs->debug_header->image[debug_header_entry]; in init_image_offsets()
/xnu-11215/tests/
H A Dstackshot_tests.m1666 /* Find the location of the dyld image info metadata */
1673 /* Find our binary in the dyld image info array */
1681 T_ASSERT_TRUE(found_image_in_image_infos, "found binary image in dyld image info list");
1683 …/* Overwrite the dyld image info data so the kernel has to fallback to the UUID stored in the proc…
/xnu-11215/osfmk/kdp/
H A Dkdp_core.c1881 .address = (uint64_t)debug_header->image[i], in kern_dump_save_note_data()
/xnu-11215/makedefs/
H A DMakeInc.def828 # Offset image base by page to have iBoot load kernel TEXT correctly.