/darwin-on-arm/xnu/osfmk/conf/ |
H A D | Makefile.i386 | 5 CWARNFLAGS = $(CWARNFLAGS_STD) -Wshorten-64-to-32
|
H A D | Makefile.x86_64 | 5 CWARNFLAGS = $(CWARNFLAGS_STD) -Wshorten-64-to-32
|
/darwin-on-arm/xnu/tools/tests/zero-to-n/ |
H A D | Makefile | 4 zn: zero-to-n.c 5 $(CC) -Wall -arch i386 -arch x86_64 zero-to-n.c -o zn -DDEBUG=$(DEBUG) -ggdb
|
/darwin-on-arm/xnu/libsyscall/wrappers/legacy/ |
H A D | sendto.c | 7 * as defined in and that are subject to the Apple Public Source License 46 sendto(int s, const void *msg, size_t len, int flags, const struct sockaddr *to, socklen_t tolen) argument 48 int ret = __sendto_nocancel(s, msg, len, flags, to, tolen);
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | page_decrypt.c | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 50 dsmos_page_transform(const void* from, void *to, unsigned long long src_offset, void *ops) argument 61 return (*dsmos_hook) (from, to, src_offset, ops);
|
H A D | norma_protos.h | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 36 * Permission to use, copy, modify and distribute this software and its 46 * Carnegie Mellon requests users of this software to return to 54 * the rights to redistribute these changes. 65 ipc_port_t to);
|
H A D | timer_queue.h | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 71 /* Move timer requests from one queue to another */ 74 mpqueue_head_t *to);
|
H A D | stack.c | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 112 STACK_ZINFO_HANDOFF(thread_t from, thread_t to) argument 115 ledger_credit(to->t_ledger, task_ledgers.tkm_private, kernel_stack_size); 125 if ((task = to->task) != NULL && (zinfo = task->tkm_zinfo) != NULL) 212 * kernel_memory_allocate() for two extra pages to account 226 * guard page. Skip past it to get the actual stack base address. 245 stack_handoff(thread_t from, thread_t to) argument [all...] |
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | hpet.c | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 105 * This routine is called to obtain an HPET and have it assigned 106 * to a CPU. It returns 0 if successful and non-zero if one could 172 * add the HPET to the package too. 215 xmod = (uint32_t *)(rcbaArea + 0x3404); /* Point to the HPTC */ 220 "enabling and assigning to 0xFED00000 (hope that's ok)\n"); 234 * and convert to frequenc 410 hpetReg_t *to = &saved_hpet; local 426 hpetReg_t *to = (hpetReg_t *) hpetArea; local [all...] |
H A D | asm.h | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 36 * Permission to use, copy, modify and distribute this software and its 46 * Carnegie Mellon requests users of this software to return to 54 * the rights to redistribute these changes. 210 * Gotoff allows you to reference local labels. 211 * Gotoff2 allows you to referenc [all...] |
H A D | loose_ends.c | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 36 * Permission to use, copy, modify and distribute this software and its 46 * Carnegie Mellon requests users of this software to return to 54 * the rights to redistribute these changes. 93 extern void bcopy_no_overwrite(const char *from, char *to,vm_size_t bytes); 99 char *to, 205 ovbcopy( const char *from, char *to, vm_size_t bytes) argument [all...] |
/darwin-on-arm/xnu/pexpert/gen/ |
H A D | bootargs.c | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 33 static int argstrcpy(char *from, char *to); 35 static int argstrcpy2(char *from,char *to, unsigned maxlen); 36 static int argnumcpy(int val, void *to, unsigned maxlen); 59 /* Limit arg size to 4 byte when no size is given */ 171 char *to) 177 *to 169 argstrcpy( char *from, char *to) argument 185 argstrcpy2( char *from, char *to, unsigned maxlen) argument 200 argnumcpy(int val, void *to, unsigned maxlen) argument [all...] |
/darwin-on-arm/xnu/libkern/libkern/ |
H A D | kext_request_keys.h | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 57 * The value of this key indicates the operation to perform or the 70 #pragma mark Request Predicates - User-Space to Kernel 106 * Retrieves the bundle identifiers of all kexts that were requested to be 116 * These requests all do something with kexts in the kernel or to 118 * must have access to a privileged host port or these requests result 129 * to th [all...] |
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | stubs.c | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 64 copyoutstr(const void *from, user_addr_t to, size_t maxlen, size_t *lencopied) argument 75 if (copyout(from, to, len)) 84 * copy a null terminated string from one point to another in 99 char *to = (char *) vto; local 102 if ((*to++ = *from++) == '\0') {
|
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | README | 4 # The contents of this file are subject to the terms 28 # Use is subject to license terms. 43 A set of generic scripts to invoke each micro benchmark 46 OS-specific directories; this allows one to build for 50 script and redirect its output to a file. 63 The compare.html file will allow quick comparisons to be drawn, 64 allowing a variety of experiments to be quickly analyzed. 73 [-E (echo name to stderr)]
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | make_posix_availability.sh | 8 # as defined in and that are subject to the Apple Public Source License 45 * as defined in and that are subject to the Apple Public Source License 47 * compliance with the License. The rights granted to you under the License 48 * may not be used to create, or enable the creation or redistribution of, 49 * unlawful or unlicensed copies of an Apple operating system, or to
|
H A D | kpi_socketfilter.h | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 33 For the most part, socket filters want to do three things: Filter 40 placed in the receive socket buffer. This is done to avoid waking 42 appended to the send socket buffer. This should cover inbound and 46 filter may use to intercept common operations. These functions are: 49 out could be used together to build a fairly comprehensive firewall 50 without having to d [all...] |
H A D | make_symbol_aliasing.sh | 8 # as defined in and that are subject to the Apple Public Source License 38 echo "Unable to locate ${SDKROOT}/usr/local/libexec/availability.pl (or not executable)" >&2 49 * as defined in and that are subject to the Apple Public Source License 51 * compliance with the License. The rights granted to you under the License 52 * may not be used to create, or enable the creation or redistribution of, 53 * unlawful or unlicensed copies of an Apple operating system, or to
|
/darwin-on-arm/xnu/osfmk/arm/armv/ |
H A D | cpufunc-v7.s | 152 add r1, r1, r3 @ add to length 194 add r1, r1, r3 @ add to length 198 mcr p15, 0, r0, c7, c10, 1 @ wb the D-Cache to PoC 214 add r1, r1, r3 @ add to length 234 add r1, r1, r3 @ add to length 255 add r1, r1, r3 @ add to length 283 * These work very hard to not push registers onto the stack and to limit themselves 284 * to use r0-r3 and ip. 289 mcr p15, 2, r0, c0, c0, 0 @ set cache level to L [all...] |
/darwin-on-arm/xnu/osfmk/x86_64/ |
H A D | loose_ends.c | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 36 * Permission to use, copy, modify and distribute this software and its 46 * Carnegie Mellon requests users of this software to return to 54 * the rights to redistribute these changes. 93 extern void bcopy_no_overwrite(const char *from, char *to,vm_size_t bytes); 99 char *to, 221 ovbcopy( const char *from, char *to, vm_size_t bytes) argument [all...] |
/darwin-on-arm/xnu/osfmk/device/ |
H A D | subrs.c | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 33 *derived from material licensed to the University of California by 44 * Permission to use, copy, modify and distribute this software and its 54 * Carnegie Mellon requests users of this software to return to 62 * the rights to redistribute these changes. 83 * may be used to endors 273 strcpy( char *to, const char *from) argument [all...] |
/darwin-on-arm/xnu/bsd/net/ |
H A D | kext_net.h | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 67 extern int sflt_data_out(struct socket *so, const struct sockaddr *to, 84 * 'handle' is the NKE to be inserted, 'where' is an insertion point, 85 * and flags dictate the position of the to-be-inserted NKE relative to
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_input.c | 7 * as defined in and that are subject to the Apple Public Source License 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 45 * may be used to endorse or promote products derived from this software 64 * NOTICE: This file was modified by SPARTA, Inc. in 2005 to introduce 167 "Delay ACK to try and piggyback it onto a data packet"); 246 &sw_lro, 0, "Used to coalesce TCP packets"); 250 &lrodebug, 0, "Used to debug SW LRO"); 270 * to accommodat 866 tcp_sbrcv_grow(struct tcpcb *tp, struct sockbuf *sbrcv, struct tcpopt *to, u_int32_t pktlen) argument 1104 struct tcpopt to; /* options in this segment */ local [all...] |
/darwin-on-arm/xnu/bsd/conf/ |
H A D | Makefile.template | 7 # are subject to the Apple Public Source License Version 1.1 (the 50 dp_backing_file.o_CFLAGS_ADD += -Wshorten-64-to-32 51 ubc_subr.o_CFLAGS_ADD += -Wshorten-64-to-32 52 vnode_pager.o_CFLAGS_ADD += -Wshorten-64-to-32 53 vm_unix.o_CFLAGS_ADD += -Wshorten-64-to-32 313 # profiling. It implements mcount() and profiling it leads to recursion.
|
/darwin-on-arm/xnu/bsd/crypto/blowfish/ |
H A D | bf_enc.c | 10 * The implementation was written so as to conform with Netscapes SSL. 13 * the following conditions are aheared to. The following conditions 14 * apply to all code found in this distribution, be it the RC4, RSA, 20 * the code are not to be removed. 72 If you set BF_ROUNDS to some value other than 16 or 20, you will have 73 to modify the code.
|