Home
last modified time | relevance | path

Searched refs:as (Results 1 – 25 of 154) sorted by relevance

1234567

/xnu-10063.141.1/libkern/libkern/
H A Dversion.h.template6 * The contents of this file constitute Original Code as defined in and
26 /* Kernel versions conform to kext version strings, as described in:
66 /* OSTYPE, ostype, is a string as returned by uname -s */
69 /* OSRELEASE, osrelease, is a string as returned by uname -r */
105 /* osbuilder is a string as returned by uname -r */
108 /* version is a string of the following form, as returned by uname -v:
/xnu-10063.141.1/doc/scheduler/
H A Dsched_clutch_edge.md7as interactive threads and low priority threads as batch threads. It then uses a timesharing model…
12 … clutch timesharing per cluster and adds other multi-cluster features such as thread placement, mi…
16 …l decisions at various thread grouping levels. The hierarchical scheduler, as its implemented toda…
24 …t are represented by a single entry at this level. These entries are known as *root buckets* throu…
28 … next for execution. Each root bucket with runnable threads is represented as an entry in a priori…
55as described above. The implementation allows extremely low latency CPU access for Above UI thread…
57 …adline ordering, the root bucket selection algorithm marks the root bucket as being in starvation …
74 …ch root hierarchy. Each clutch bucket with runnable threads is represented as an entry in a runque…
77 … of voluntary blocking time and CPU usage time for the clutch bucket group as a whole. This score …
82 …re pending execution for this clutch bucket group. This value is reset as soon as one of the threa…
[all …]
/xnu-10063.141.1/bsd/miscfs/devfs/
H A DREADME10 as the only devices that register themselves are the floppy,
15 There is a tree of nodes that describe the layout of the DEVFS as seen by
17 for reasons that will become obvious in a second. Think of it as a
24 to in the code as the dev_name. The devnode can be considered the inode.
30 Think of this as a Transparency, layed over the top of the blueprint.
44 Think of this as the ability to revise a transparency...
66 it is easily recovered.. Particularly as there will eventually be
71 I see 'mount -u' as a possible solution to recovering a broken dev tree.
85 nodes keep their own records as to which front nodes are members
/xnu-10063.141.1/
H A DAPPLE_LICENSE12 work as "Original Code" and stating that it is subject to the terms of
35 anyone other than You; and/or (b) to use Covered Code, alone or as
47 released as a series of files, a Modification is: (a) any addition to
53 work as originally made available by Apple under this License,
56 expressly identified by Apple as such in the header file(s) of such
88 copyright and other proprietary notices and disclaimers of Apple as
96 hereunder, except as permitted under Section 6.
118 below, for as long as you Externally Deploy the Covered Code or twelve
127 notice, in the code itself as well as in related documentation,
147 3. Your Grants. In consideration of, and as a condition to, the
[all …]
H A DREADME.md27 The xnu make system can build kernel based on `KERNEL_CONFIGS` & `ARCH_CONFIGS` variables as argume…
40 To build a kernel for the same architecture as running OS, just type
140 So you can setup new kernel as
160 1. Create kernel cache using the kextcache command as `/kernelcache.test`
238 level for macOS as `EXTRA_DATAFILES`, but Apple internal in user level
239 for embedded OSes as `EXTRA_PRIVATE_DATAFILES` -
367 `INSTALL_MI_DIR` and `EXPORT_MI_DIR` as follows -
375 directory name using the variable `INSTALL_MODULEMAP_MI_DIR` as follows -
429 to stay in the simple case, the module name needs to be exactly the same as
436 module map files are as follows.
/xnu-10063.141.1/bsd/crypto/doc/
H A DKernelCrypto.txt9 * The implementation was written so as to conform with Netscapes SSL.
11 * This library is free for commercial and non-commercial use as long as
18 * Copyright remains Eric Young's, and as such any Copyright notices in
21 * as the author of the parts of the library used.
88 This software is provided 'as is' with no explicit or implied warranties
118 This software is provided 'as is' with no explicit or implied warranties
145 This software is provided 'as is' with no explicit or implied warranties
/xnu-10063.141.1/doc/building/
H A Dxnu_build_consolidation.md15 reduce the number of existing builds, as well as to set up a simple framework that makes it easier …
40 …ions provide r/o registers that can be checked at runtime to discover supported features as well as
64 understand or manage as new tunables are added or SoCs/revisions are deprecated.
66 The changes applied as part of this work focus mainly on:
76 `MIDR_EL1` register against a CPU revision that is passed as a parameter to the macro, where applic…
102 Changes applied as part of the XNU consolidation project include:
127 The L1 cache line size is still hardcoded, and defined as `MMU_CLINE`. Since this value is always t…
128 and very often checked at various places across XNU and elsewhere, it made sense to keep it as a co…
H A Dxnu_version.md28 as described in [TN1132]
31 In particular, the string is formatted as: `J[.N[.R[S[L]]]]`, where:
/xnu-10063.141.1/doc/primitives/
H A Datomics.md10 meant as a guide to best practices, and warns against a variety of possible
15 as this document builds on it, and explains the liberties XNU takes with said
30 by C11 as relaxed, consume, acquire, release, acq\_rel and seq\_cst.
61 does with other plain memory accesess such as coalescing, reordering, hoisting
105 as if their type was `_Atomic volatile` qualified.
109 where the name is the same as in C11 without the `memory_order_` prefix,
169 that involve more costly codegen (such as compare exchange loops).
241 for the failure case ordering, as it is what is used most of the time.
244 as `os_atomic_rmw_loop` offers a much better alternative for CAS-loops.
295 as these may cause the store-conditional to always fail.
[all …]
H A Dstring-handling.md77 string is passed without bounds as a NUL-terminated string to downstream users.
86 * `strbufcpy(a, alen, b, blen)`: like `strlcpy` but returns `a` as a NUL-
88 * `strbufcat(a, alen, b, blen)`: like `strlcat` but returns `a` as a NUL-
101 NUL-terminated and returned as a NUL-terminated string pointer.
157 of -fbounds-safety to guide you to the best choice, as a rule of thumb, you
/xnu-10063.141.1/tools/tests/perf_index/
H A DREADME14 number of seconds it took to standard out as a decimal number. Some of the test
54 ram_file_create - same as file_create but on a ram disk
55 ram_file_read - same as file_read but on a ram disk
56 ram_file_write - same as file_write but on a ram disk
58 specified as args
65 /AppleInternal/CoreOS/perf_index. It is built as part of the xnu_quick_test
/xnu-10063.141.1/doc/lifecycle/
H A Dhibernation.md28 referred to as suspend to RAM (S2R). In this mode, IOKit delivers a number of
67 allocated for each one of these ranges (as well as a single bitmap for the
77 memory as usual, but any drivers required for hibernation I/O are left in a
89 * All pages are assumed to be saved (as part of the wired image) unless
101 resume, as well as some other data that is required by the platform booter.
121 the image); these include the pages already stored directly to the image, as
122 well as the stack that hibernation resume will run on.
178 table; this page table will later be modified as necessary while pages are
182 are readable/writable as necessary, and all of the rest of memory is mapped
188 we borrow free pages (as indicated by the page bitmaps) to store the
[all …]
/xnu-10063.141.1/libkdd/
H A DREADME.md12 The format for data is setup in a generic format as follows
44 extensible data format is that kernel can decide to put more information as required without requir…
76 to many subsystems. It includes data such as io stats, vm counters, process names/flags and syscall…
106 Now you can add this custom type definition into the buffer as
/xnu-10063.141.1/doc/mach_ipc/
H A Dkmsg.md81 As far as layout is concerned, an IPC kernel message is made of two halves: some
229 This layout should no longer be used otherwise, as it mixes kernel pointers and
434 a lot but more used as a serialization format, `mach_msg_header_t` is used
438 Instead, the header (and trailer) are signed with gPAC as soon as headers
444 of the message returned as a side effect of checking the signature. This
445 descriptor count is then used as the source of truth for indexing in
/xnu-10063.141.1/doc/allocators/
H A Dread-only.md21 as PAC, means that today's attacker favors data-only attacks to achieve
43 Data under the control of the Read-Only Allocator can be read from just as
44 cheaply and easily as other data, but writing to it must be done through the
79 boundaries such as labels, sandboxing, audit tokens, etc.
103 Think of this as a special `memcpy` to write into your elements.
H A Dapi-basics.md15 allocator implemented as a collection of zones of fixed size, and overflowing to
62 often more efficient than calling bzero as the allocator tends to maintain
63 freed memory as zeroed in the first place,
103 as its ABI has not yet converged.
112 as attackers tend to use data/pointer overlaps to carry out their exploitations.
287 should probably use OSObject as a base class. C++ operators
355 The ABI of `operator new[]` is unfortunate, as it denormalizes
360 context as this denormalized information is at the begining
386 purpose as its backing store should not contain kernel pointers.
/xnu-10063.141.1/libkern/kmod/
H A DREADME5 # module and the libkmod module as well.
18 # If any static constructors are used .constructors_used will be left as
/xnu-10063.141.1/osfmk/tests/
H A DREADME.md10 * Ability to check for assertions and panic path as well.
22 …ernPOST_config=8```" and only your test will be run. The configuration also takes ranges as follows
34 …cros for testing. Remember to add file_name.c in ```osfmk/conf/files``` or ```bsd/conf/files``` as
37 * To add a test function just declare a function with prototype as
40 * And add to struct xnupost_test array in osfmk/tests/kernel_tests.c or bsd/tests/bsd_tests.c as
/xnu-10063.141.1/osfmk/mach/machine/
H A Dmachine_types.defs7 * as defined in and that are subject to the Apple Public Source License
58 * a port in user space as an integer and
59 * in kernel space as a pointer.
/xnu-10063.141.1/config/
H A DUnused.arm.exports1 # Symbols that are unused as KPI, but must be globally exported
H A DUnused.arm64.exports1 # Symbols that are unused as KPI, but must be globally exported
H A DUnused.exports1 # Symbols that are unused as KPI, but must be globally exported
/xnu-10063.141.1/san/tools/
H A Dkstksz128 -- It is possible that we redord BELOW event as first. Ignore it if we haven't seen
213 …-- When reading from a file, we can't use CoreSymbolication to symbolicate the stack frames as the…
/xnu-10063.141.1/doc/debugging/
H A Dtask_ref.md60 kext will be dynamically assigned a reference group as needed (if there's
66 Task reference groups can be explored in `lldb` as follows:
92 The reference group hierarchy for a specific group can be displayed as follows:
/xnu-10063.141.1/iokit/DriverKit/
H A DIOMemoryMap.iig7 * as defined in and that are subject to the Apple Public Source License
55 * Methods in this class are used for memory that was supplied as a parameter.

1234567