Summary: 474 instances, 428 unique Text Count * TODO: should this be an assert? 1 * TODO: Make this function more table-driven instead of ad-hoc 1 * TODO: should we accept loopbacl 1 /* TODO global generation count to 1 * TODO: groups need to have a 'is for WI' flag 1 // TODO: remove this shim function and exported symbol 2 * TODO: Enforce not having more than one non-group joinable work 1 * with __arm64__ tagged ARM64_TODO . This code revision is optimized based 1 /* TODO: only call this if current_perfctl_class changed */ 1 # TODO: Possibly output task header for each group 1 /* TODO: decide what to do if no debugger config */ 1 /* XXX FBDP TODO: secluded queue */ 2 * TODO: transition users of this to kernel_thread_start_priority 1 /* XXX ARMTODO check copied from ppc/x86*/ 2 /* FIXME: three function calls!!! */ 1 /* ARM64_TODO */ 1 /* TODO: get rid of these */ 1 /* TODO: Completely remove pmap_nesting_size_max() */ 1 * FIXME: Handling source lists larger than 1 mbuf requires that 1 // FIXME: set a bit somewhere (reporter-wide?) that state_ids can no longer be 1 * TODO: This seems less than useful - shouldn't it do the wait as well? 1 * TODO: define this in a header 1 /* TODO: it may be worth requiring codecs to distinguish 1 /* XXX ARMTODO 64vs32 */ 1 * TODO: Enforce that the parent cannot have two children of the same type (for the moment, this is 1 /* FIXME these should only update the counter that is being accessed */ 1 /* TODO: there is no graceful failure path here... */ 1 /* TODO: if sadb_msg_seq is specified, send to specific pid */ 1 /* TODO: do a proper thread_start() (without the thread_setrun()) */ 1 /* Taskwatch related. TODO: find this a better home */ 1 * FIXME: Should reap. 2 .timestamp = 0, /* FIXME rdar://problem/22053009 */ 1 /* else { TODO: notify kqueue subsystem? } */ 2 /* XXX FIXME -- Update the comment to reflect the UBC changes (please) -- */ 1 /* jca: TODO: 1 /* TODO: show task total runtime (via TASK_ABSOLUTETIME_INFO)? */ 1 * TODO: 5 /* TODO: Scan for vm page assigned to top level page tables with no reference */ 1 * TODO: Need to figure out if passing options here is a good idea or not 1 * TODO: This one does need to go through all the runqueues, but it's only needed for 1 // FIXME: Implement this 1 * TODO: Should this be an OSObject? Or properly pull in its methods as member functions? 1 * TODO: We don't seem to need this, 1 * TODO: We're hardcoding the expected virtual TEXT base here; 1 /* FIXME: track CPU configuration */ 1 * TODO: Need tracepoints around this function... 1 * TODO: Currently, this does not add channels for disabled statistics. 1 /* TODO: allocate dynamically */ 1 * TODO: This even zeroes the memory it is about to overwrite. 1 // TODO: Deduplicate these utilities with other smart pointer utilities 1 * FIXME - should a user specified LDT, TSS and V86 info 1 * XXX TODO: The scope ID, if present in src, is stripped before 1 * TODO: Mitigate potential problems caused by moving thread to end of runq 1 // FIXME: Implementation of this function is hidden from the static analyzer. 4 * ARM64_TODO: whether we're coming from userland is ignored right now. 1 // TODO: Inform node name server (if registered) of termination 1 * TODO: remove this file 1 // TODO: Defunct nexus flows that are blocked by policy 1 * TODO: Determine how well distributed this is 1 /* TODO: consider allowing maxproc limits to be scaled earlier so that 1 /* TODO: If count > 1, we should clear out as many external assertions as there are left. */ 1 * TODO: Consider moving to SavePanicInfo as this is part of the panic log. 1 * TODO: Do this inside the thread policy update routine in order to avoid double 1 /* TODO will instrumenting these interfere with any kernel usage of these instructions? */ 1 * ARM64_TODO: unify with ARM? 1 * TODO: I think we can get away with architecting this such that we don't need to look at the task ever. 1 // TODO: Consolidate these utilities with the ones used in other similar places. 1 jnc Lnon_rdrand /* TODO: complain if DRBG fails at this stage */ 1 * TODO: Remove this once we use the new kext linker everywhere! 1 * other SMT-capable cores may be over-committed. TODO: some possible negatives: 1 * TODO: Return a 'non-boost' token instead. 1 * TODO: Get rid of this check if I ever get around to making the tree non-binary. 1 /* TODO: May not be safe */ 1 /* TODO: see if this can be more efficient */ 1 /* FIXME: On Darwin the time spent leaving DTrace from this point to the rti is attributed 1 * TODO: Can we state that redispatching our old thread is also 1 // TODO: move to os_refcnt once the ABI issue is resolved 1 // TODO: aggreggate this 1 // TODO: find a better way to do that 1 * TODO: you'd think there would be a better way to do this 1 mach_node_id_t node_id = 0; // TODO: Read from device tree? 1 /* ARM64_TODO: move to higher memory */ 1 /* TODO: translate the PHYS_* bits to PTE bits, while they're 1 /* TODO: This function isn't implemented yet. In debug mode, panic the system to 2 * TODO: This should also make the same decisions 1 /* TODO: Should this still allow protections for the first segment 1 /* XXX FIXME ... extra jump table detection? */ 1 //DRKTODO: this causes an alignment increase warning (legitimate?) 1 * TODO: could most of the done cases just use cleanup? 1 /* TODO: eventually we can just use struct build_version_command */ 1 * TODO: 2 * TODO: Evaluate a bias towards the performant clusters on 1 * FIXME - thread_set_child 1 numcmds = (uint32_t)(core_context->core_segment_count + core_context->core_thread_count + /* TODO: LC_NOTE */ 0 + 1 * TODO: Add an 'update urgency' flag to avoid urgency callouts on every rwlock operation 1 * TODO: Should these set AST_REBALANCE? 1 /* TODO: pass this through assert_wait instead, have 1 /* TODO - switch to ipc_table method of allocation */ 1 * TODO: remove this when the interactive daemon audit period is over. 1 /* FIXME - always leave like this? */ 1 /* TODO: Add more 'return to userspace' assertions here */ 1 * XXX TODO: wants a "umask ACL" from the process. 1 /* TODO: don't need to dequeue before enqueue */ 1 /* TODO: Doesn't this only need to be done if the throttle went up? */ 1 * TODO: Consider running a timer_update operation here to update it first. 1 // FIXME: Implementation of these functions are hidden from the static analyzer. 1 * TODO: This fails to account for the time between when the timer was 1 * TODO: Add a way for absolute to be not forced one-shot 1 /* TODO: Make this work with thumb .s files. */ 1 * XXX TODO: Needs to be done for RTI as well 1 * FIXME: Warn if state is LAZY_OFF? It won't break anything, but 1 #if defined(POSIX_SPAWN_CLOEXEC_DEFAULT) // TODO: delete this check 1 * TODO: Validate the checks without the relevant lock are OK. 1 /* TODO: assert first emptyslot's c_size is actually 0 */ 1 * TODO: Figure out an algorithm for stopping a lock holder which is already at the right 1 * TODO: UP implementation. 1 * TODO: Future features: 1 /* TODO: this should be mach_port_mod_refs */ 1 * TODO: This is super inefficient - it's an O(threads in task) list walk! 1 /* TODO: possible general optimisation...pre-allocate via zones commonly created 1 * TODO: on-link bit on prefix information 1 // TODO: Use priv_check_cred() instead of root check 2 * TODO: check the XATTR_CREATE and XATTR_REPLACE flags. 1 #if FIXME /* [ */ 2 * TODO: Dynamic linker header address on stack is copied via suword() 2 /* TODO - tune. This should probably be lower priority */ 1 /* TODO: #if this out */ 1 /* TODO: create/find a trace_two_LLs() for K32 systems */ 1 /* FIXME: Till vmspace inherit is fixed: */ 1 * TODO: If the prefix route exists, we should really find it and 1 * TODO: previously, we would place this port at the 1 #endif /* FIXME ] */ 2 /* FIXME: two function calls!! */ 2 /* TODO: factor in renice priority here? */ 1 // TODO: notify all active nodes we are bootstrapped 1 /* TODO: This will be faster if we increment ttep at each level. */ 1 * TODO: Instead of having saved mode, have 'user mode' and 'true mode'. 1 * more handler threads (TODO: optimize based on more than 1 /* TODO: get from device tree/target */ 1 * TODO: SFI break out? 1 #FIXME forces us to do this twice 1 * TODO: perhaps only do this if switching bitness 1 /* TODO: */ 1 * TODO: We need to destroy the zone here, but cannot do it 1 * TODO adi@apple.com: use dq_avg to derive hinterval. 1 // FIXME: unused and also wrong 1 * TODO: Split the context switch and return-to-user AST namespaces 1 * TODO: IOLog should use asynchronous serial logging instead of the synchronous serial console. (26555148) 1 /* XXX FBDP TODO: flush pages from secluded queue? */ 1 // TODO: switch to PPL_STACK earlier in gxf_ppl_entry_handler 1 /* TODO: Support non-native byte order and data models */ 1 /* TODO: these should be internal definitions */ 1 * TODO: This iterates every group runq in its entirety for each entry it has in the runq, which is O(N^2) 1 // TODO: identify the priority client that has not acked 1 /* TODO: add opportunistic refmod collect */ 1 /* TODO There were some problems with flushing just the cache line that had been modified. 2 * ARM64_TODO: consider this more carefully. 1 * TODO: Should we do anything special for nested panics here? i.e. if we've trapped more than twice 1 * TODO: support chained values (for effective vouchers). 1 // TODO: Find ifp from the parent p 1 * TODO: 1 * XXX FBDP TODO: also avoid refilling secluded queue 1 /* FIXME */ 1 /* TODO assert at all 'C' entry points that we're never operating on the fault stack's alias mapping */ 1 // TODO: 1 /* TODO: Live importance support in send-possible */ 1 /* XXX FBDP TODO: no longer needed? */ 1 /* TODO: remove this variable when interactive daemon audit period is over */ 1 * TODO: Can this be made more compact, like an array lookup 1 // FIXME: These are in but that file has other deps that aren't being resolved 1 * ARM64_TODO: this is quite a waste of space (and a 1 /* XXX ARMTODO */ 3 // FIXME: need to look up dynamically 1 /* TODO: p_nice isn't hooked up to the scheduler... */ 1 // TODO: PASS DOWN ROUTE RULE ID 1 /* TODO: Should we csw_check again to notice if conditions have changed? */ 1 * TODO: Is there a cleaner way to do this check? What we're actually 1 return kauth_cred_issuser(cred); /* XXX TODO: How is this different from PRIV_POLICY_ONLY? */ 1 //TODO make atomic where needed, decompression paths 1 * TODO: build timer_call_cancel_wait 1 * TODO: evaluate temporarily stretching the per-CPU event 1 /* TODO: priv check? EPERM or ESRCH? */ 1 // TODO: Do we really need to re-implement this here? 1 # TODO add separator blocks if vmaddr is large from prev_block 1 //TODO : Separate the probes for the hw_bit from the probe for the normal hw locks 1 // released_pid = task_pid(release_imp_task); /* TODO: Need ref-safe way to get pid */ 1 /* TODO: Can we instead assert TH_TERMINATE is not set? */ 1 * FIXME: if we're writing the file we need a way to 1 //DRKTODO: bizarrely, with plain O3 the compiler generates a single 1 /* TODO: Provide a RB implementation for this routine. */ 1 * TODO: if we keep a deadline ordered and soft-deadline ordered 1 * TODO: differentiate between rights being moved and 1 /* TODO: clear the saved UID/GID! */ 1 /* TODO: we may need to hook this for the pageableKC */ 1 * TODO: what to audit here when jetsam calls exit and the uthread, 1 // TODO: destroy send right to outgoing bs_port 1 #endif /* FIXME */ 2 * TODO: Should this just return a failure instead? A panic 1 * TODO: Store the absolute priority value instead 1 * ARM64_TODO: should we have a separate definition? 1 // ARM64_TODO write optimized decrementer 1 * TODO: Make this actually use a scratch register; this macro is convenient 1 /* TODO: Do we need to care about urgency (see rdar://problem/20136239)? */ 1 * TODO: What if the next timer is not rate-limited? 1 * TODO: Should this include MOCKFS_SBIN? Right now we tell lookup that when looking in 1 /* TODO: LC_NOTE */ 0 + sizeof(struct ident_command) + KERN_COREDUMP_VERSIONSTRINGMAXSIZE); 2 * TODO: Keep track of the pending preemption priority 1 * TODO: Why are AST_DTRACE and AST_KPERF not per-thread ASTs? 1 * ARM64_TODO: should we have a separate definition? 1 // TODO: Message Trace or log that this is happening 1 /* TODO: Replace child_a/child_b with something more flexible */ 1 * LD TODO: Other page targets should be calculated here too. 1 /* ARM64_TODO Is globals_asm.h needed? */ 1 * TODO: might be better to move this code to OSKext::initialize 1 // FIXME: should come from mach-o/fixup_chains.h 1 // TODO: This should not be a uint64_t ! 1 * TODO: ND_RA_FLAG_{OTHER,MANAGED} processing 1 return KERN_FAILURE; /* XXX TODO */ 1 * TODO: Come up with a more efficient way to handle same-priority promotions 1 * TODO: Is this the correct check for recommended == possible cores? 1 // FIXME: Could use pow() but not sure how to include math.h 1 /* TODO: is it appropriate for this to limit a turnstile-boosted thread's QoS? */ 1 * FIXME: The KAME use of the unspecified address (::) 1 * TODO: For now the extra metadata is an exact replica 1 //DRKTODO: scalar STP per loop iteration with the stock loop 1 # TODO: write scheduler related macros here 1 //DRKTODO either implement pattern4 or figure out optimal unroll 1 * TODO: Validate embedded scope ID in source 3 * TODO: This should check if it's worth it to rebalance, i.e. 'are there any idle primary processors' 1 /* TODO: this should be in a header file somewhere */ 1 /* TODO: Save the miscellaneous data if requested */ 1 /* ARM64_TODO */ 2 * TODO: build a wall-time denominated timer_call queue 1 * TODO: in sched_traditional_use_pset_runqueue case, 1 /* ARM64_TODO - check for FASTTRAP_T_RET */ 1 //DRKTODO: cast of char * to uint16_t* 1 // TODO: ifnet_set_hdrlen(ifp, IEEE802154_ENCAP_LEN); 1 * TODO: Move all cpu/wakes/io monitor code into a separate file 1 /* TODO: in the future compare info_v to kinfo->persona_info_version */ 1 # TODO Yield a wrap event with the barrier_min timestamp. 1 /* TODO: MAC policies?! */ 1 // TODO: review fOverrideMaxPowerState 1 // TODO: consider using physical reads to check for 1 //DRKTODO: the decompression side stats should be either made optional or 1 * TODO: The next timer in the list could have a larger leeway 1 // TODO: sysctl-ize for quick reference 1 * TODO: potential enhancements - tell the user about: 1 /* ARM64_TODO: VFP */ 1 /* ARM64 TODO: combine fpsr and fpcr into state->fpscr */ 1 /* TODO */ 2 /* TODO: assert that new_task will be PID 1 (launchd) */ 1 * TODO: Here is where we will add priority inheritance to the thread executing 1 * TODO: SFI should be a per-thread AST 1 * TODO: Add a name parameter so that clients can name the work interval 1 /* ARM64_TODO unify boot.h */ 1 * TODO: This doesn't notice QoS changes... 1 core_config.kcc_coredump_init = NULL; /* TODO: consider doing mmu flush from an init function */ 1 // TODO: consider weak (non-looping) atomic test-and-set 1 /* TODO: Should this be ordered? */ 2 * XXX 3634665 TODO: if the initial ACL is not specfied by 1 /* TODO: dynamically create sysctl for stats */ 1 * TODO: remove when B&I move to xnu with native pselect() 1 * TODO: determine specific micro-architectures 1 #define SLP_WORKTODO 0x004e /* mask of all "work to do" flags */ 1 * TODO: In future, do not allow handoff if threads have different cluster 1 * TODO: 2 /* XXX FBDP TODO: flush secluded queue */ 1 kprintf("rp = TODO FIXME\n"); 1 /* FIXME: removable should be replaced with a struct (so it could be easily 1 /* DRKTODO: assert if features haven't been discovered yet. Redundant 1 * TODO: Should this do the same check that thread_select does? i.e. 1 * LD TODO: Use a structure to hold all state variables for a single 1 /* TODO: reorder struct for temporal cache locality */ 1 TODO: on x86, if not in the debugger, then look at the scheduler 1 * XXX TODO: This should also be iterated over router list 1 /* TODO: have shared routines for hmac-* algorithms */ 1 /* FIXME: awaits lock/mutex work */ 2 #TODO should implement this sometime. Considering getThreadRegistersInfo is there 1 * TODO: Inline in dtrace_ptrace_exec_exit? 1 /* TODO: Should be set dynamically by vnode_pager_init() */ 1 // FIXME this pragma is the wrong fix for VLA usage, but since this API is central to corecrypto it's difficult to remove VLAs. The macro is then used in many other projects who don't need to be warned about VLAs at the moment. It's therefore desirable to silence the diagnostic and let corecrypto deal with removing VLAs. 1 /* @TODO This assumes 64-bit symbols (which is valid at the 1 * TODO: There should be a function for this in timer.c 1 * TODO: Move all taskwatch code into a separate file 1 //TODO: What the hell ? 1 * TODO: Are there any special considerations for our unusual 1 * a given processor. DRKTODO: use larger loads and 1 * TODO: Remove once they stop using these. 1 * TODO: 1 /* TODO: Evaluate global PTEs for the double-mapped translations */ 1 /* FIXME: we need clang to provide a __x86_64h__ macro for the sub-type. Using 1 /* TODO: Compressed markers, potential conflict with protection keys? */ 1 /* TODO: This can be done with atomics. */ 1 //DRKTODO: Can the 'C' "safety" decode be eliminated for 4/16K fixed-sized buffers? 1 * TODO: Move all VM importance code into a separate file 1 /* TODO: proportional back-off based on desired-current ticket distance 1 * TODO: Keep a separate queue of timers above the re-sort 1 // TODO: change this once we have compiler support 1 /* XXX TODO: Change baddr and naddr to *saddr */ 1 /* TODO: separate large page invalidation check */ 1 * TODO: Validate that the device at least LOOKS like a mach-o (has a sane header); this would prevent us 1 /* TODO: Fail if someone passes something besides 0 or PRIO_DARWIN_BG */ 1 /* TODO: Should we care about the state of a core as far as squashing deferred IPIs goes? */ 1 // TODO: Don't lose mbuf 2 /* FIXME: This should be locked down during early boot */ 1 * TODO: Need to clear panic log when return from debugger 1 * TODO: Support live inheritance on file locks. 1 /* FIXME some of these types aren't clean (fixed width, packed, and defined *here*) */ 2 return kauth_cred_issuser(cr); /* XXX TODO: HAS_PRIVILEGE(cr, priv); */ 1 /* TODO: Turn this back into a panic */ 1 /* TODO: these should be in header file */ 1 * TODO: this could be more efficient than a linear search of 1 // TODO: Signup for bootstrap port death notifications 1 * TODO: keep a hint on the timer to tell whether its inputs changed, so we 1 /* TODO: Should we csw_check again to notice if conditions have changed? */ 1 * TODO: should extensions/plugins be allowed to use 1 * TODO: Decide whether to keep a count of runnable threads in the pset 1 * TODO: Need to save opt->ip6po_flags for reinjection 1 /* TODO: Entitlement instead of uid check */ 1 * TODO: Replace the noinline attribute below. Currently, it serves 1 #TODO need to parse data and unescape 1 /* TODO: Lower importance downstream before disconnect */ 1 * XXX FIXME: This makes a naive assumption that 2 * XXX TODO coalesce into the trailingspace of 1 // TODO: populate the messageType argument 1 core_context->core_file_length = round_page(core_context->core_header_size) + core_context->core_segment_byte_total + /* TODO: LC_NOTE */ 0; 1 * TODO: This is ugly (wrapping a lock around an allocation). I'm only 1 // printf("FBDP TODO: flush %d pages from %p from secluded queue\n", object->resident_page_count, object); 1 } // TODO: else block until init is finished (init completion race) 1 #TODO for i386 1 * TODO: p_nice isn't hooked up to the scheduler... 1 /* TODO: Restrict this role to FCFS */ 1 // TODO: record message type if possible 1 /* TODO: allow shrinking? */ 1 * TODO: Some statistics do in fact have common units (time); should this be 1 * FIXME: This is what the 68K guys use, but beats me how they chose it... 1 * TODO: detect whether another thread is already reporting the violation. 2 //DRKTODO verify these modulos/divisions are optimally handled by clang 1 /* ARM64_TODO */ 4 // FIXME: Check if any channel is already present and return error 1 /* TODO: EINVAL if priority != 0 */ 1 /* ARM64 TODO: set fpsr and fpcr from state->fpscr */ 1 /* TODO: make this more efficient with MH_FILESET kexts */ 1 /* TODO: worth refreshing pending interrupt status? */ 1 /* TODO: clear the saved GID?! */ 1 core_context->core_total_bytes = core_context->core_header_size + core_context->core_segment_byte_total + /* TODO: LC_NOTE */ 0; 1 * TODO: if in interrupt context, grab from a special 1 /* TODO Two issues that will eventually need to be resolved: 1 /* TODO: determine more specifically which prefixes 1 #BUG TODO make this unblocking soon 1 * TODO: What if a secondary core beat an idle primary to waking up from an IPI? 1 * TODO: Consider freeing up zone->gz.gzfc as well if it didn't come from the gzalloc_reserve pool. 1 /* TODO - add a victim queue and push this into the main jetsam thread */ 1 /* TODO XXX */ 1 /* TODO: attach as IEEE 802.15.4 with no FCS */ 1 // TODO: Add a check that `T` can be used with the `RefcountPolicy` 1 // FIXME: just put the function (inline-ish) here? 2 * TODO: Run CS/Monitor checks here. 1 # FIXME remove legacy code 1 * TODO: Move all importance code over to importance subsystem 1 // FIXME (rdar://54898652) 3 maxprot = VM_PROT_EXECUTE; /* TODO: Remove this and restrict maxprot? */ 1 * TODO: make this explicit - bound threads should have a different enqueue fxn 1 * TODO: Give 'func' thread calls their own group, so this silliness doesn't 1 * TODO: Expect to need __mac_posix_spawn() at some point... 1 #define MCOUNT_EXIT /* (void) splx(s); */ /* XXX TODO */ 2 /* TODO: Make backward lookup generic and support guard pages */ 1 * TODO: the thread can cheese this with clear_wait() 1 /* TODO: should be in header file */ 1 * ARM64_TODO: For now, we assume this is for undefined instruction exceptions. 1 * TODO: What about allocations that never get deallocated, 1 dhpb.dthpb_base = dhp->dofhp_addr; /* FIXME: James, why? */ 1 /* TODO: Add LC_NOTE command for miscellaneous data if requested */ 1 /* ARMTODO -- an implementation that accounts for 1 * TODO: This should be based on sched_mode, not sched_pri 1 /* TODO: check the magic? */ 1 * TODO: Enable this privilege check? 1 //DRKTODO If hand unrolled, it switches to NEON store pairs 1 /* ARM64_TODO subtle bcr/wcr semantic differences e.g. wcr and ARM_DBGBCR_TYPE_IVA */ 1 /* TODO: This should be done after becoming exit thread */ 1 * TODO: check for cycles! 1 // TODO: can this else-block be removed? 1 * TODO: allow a general async path 1 * TODO: do these pages really need to come from RO memory? 1 * TODO: deprecate kIOPMAllowSleep and kIOPMPreventSleep 1 /* TODO: IPv6 IP6TOS_ECT bit on */ 1 * TODO: rewrite this needlessly convoluted routine. 1 * TODO: Is this a good idea? Probably not; my assumption is it opts 1 * TODO: This should return void 1 /* TODO: as an optimisation, copy up to the lesser of the 1 * TODO: More gracefully handle failures after vfork 1 * TODO: Replace with nanosecond time when available 1 /* ARM64_TODO arm loads the kstack top instead of arg4. What should we use? */ 1 // TODO : This should NOT be a uint64_t 1 * TODO: Should this buffer be allocated at boot rather than on the stack? 1 /* TODO: what about an interrupt that does a wake taken on a callout thread? */ 1 * XXX TODO: we should rewire the 2 * TODO: free bootstrap table memory back to allocator. 1 // TODO: Remove this limit and implement dynamic table growth if workloads are found that exceed this 1 * TODO: Remove tracepoints 1 uint8_t qos; // 8b TODO: Doesn't do anything yet 1 * restart the loop (LD TODO: Track this better?). 1 /* FIXME: On x86, the thread save state flavor can diverge from the 1 * FIXME: need more explanation of the config 1 * TODO: Consider splitting this up into separate phases 1 * TODO: should we also accept locally originated packets 1 * FIXME: Any page table pages that arm_vm_page_granular_* created with ROX entries in the range 1 // FIXME: dyld is in C++, and some of the fields in dyld_all_image_infos are C++ 1 /* ARM64_TODO: remove this. still TODO?*/ 1 /* TODO: value insertion from returned voucher */ 1 /* TODO: Split up boost and task policy? */ 1 /* TODO: This is invalid - it can get dequeued without thread lock, but not context switched. */ 1 /* TODO: Should an invalid value here fail the spawn? */ 2 * TODO: Improve on this. Previous efforts to more lazily allocate this 2 * TODO: Completely remove pmap_nesting_size_max() 1 * XXX TODO: Obsolete? 1 #error TODO implement MSVC calling conventions for LZ4 x86_64 assembly 1 * TODO: Does lzss use too much stack? 4096 plus bytes... 1 * TODO: Consider weird states like boot, sleep, or debugger 1 /* TODO - deprecate; see */ 1 #define MCOUNT_ENTER /* s = splhigh(); */ /* XXX TODO */ 2 # TODO: extract this out of the thread_call_flags_t enum 1 /* TODO: add variants for use with non-cacheable ranges */ 1 //DRKTODO: Evaluate unrolling further. 2xunrolling had some modest benefits 1 // TODO: This should NOT be a uint64_t 1 /* TODO: Extend this to check for the largest process in other zones as well. */ 1 * TODO: Do we need to check task->active? 1 * TODO: mappings here can be reclaimed after kasan_init() 1