/darwin-on-arm/xnu/EXTERNAL_HEADERS/architecture/i386/ |
H A D | sel.h | 46 typedef struct sel { struct
|
H A D | Makefile | 19 sel.h \
|
H A D | tss.h | 39 #include <architecture/i386/sel.h>
|
H A D | desc.h | 103 #include <architecture/i386/sel.h>
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | mp_desc.h | 109 #define gdt_desc_p(sel) \ 110 (&((struct real_descriptor *)current_gdt())[sel_idx(sel)]) 111 #define ldt_desc_p(sel) \ 112 (&((struct real_descriptor *)current_ldt())[sel_idx(sel)])
|
H A D | seg.h | 61 #include <architecture/i386/sel.h> 68 sel_to_selector(sel_t sel) argument 71 sel_t sel; member in union:__anon985 75 tconv.sel = sel; 85 sel_t sel; member in union:__anon986 90 return (tconv.sel); 260 #define sel_idx(sel) (selector_to_sel(sel).index)
|
H A D | mp_desc.c | 879 sel_t sel = selector_to_sel(selector); local 884 if (sel.ti == SEL_LDT) 886 else if (sel.index < GDTSZ) { 897 sel_t sel = selector_to_sel(selector); local 902 if (sel.ti == SEL_LDT) { 903 if (sel.rpl == USER_PRIV) 906 else if (sel.index < GDTSZ && sel.rpl == USER_PRIV) { 917 sel_t sel = selector_to_sel(selector); local 922 if (sel [all...] |
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | commpage_tests.c | 24 int get_sys_uint64(const char *sel, uint64_t *val); 25 int get_sys_int32(const char *sel, int32_t *val); 245 int get_sys_uint64(const char *sel, uint64_t *val) argument 250 ret = sysctlbyname(sel, val, &size, NULL, 0); 252 warn("sysctlbyname(%s)", sel); 256 // warnx("sysctlbyname(%s) => %llx", sel, *val); 261 int get_sys_int32(const char *sel, int32_t *val) argument 266 ret = sysctlbyname(sel, val, &size, NULL, 0); 268 warn("sysctlbyname(%s)", sel); 272 // warnx("sysctlbyname(%s) => %x", sel, *va [all...] |
/darwin-on-arm/xnu/bsd/kern/ |
H A D | sys_generic.c | 958 static int selscan(struct proc *p, struct _select * sel, 986 struct _select *sel; local 992 sel = &uth->uu_select; 1020 if (sel->nbytes < (3 * ni)) { 1024 if (sel->ibits != NULL) 1025 FREE(sel->ibits, M_TEMP); 1026 if (sel->obits != NULL) { 1027 FREE(sel->obits, M_TEMP); 1029 sel->obits = NULL; 1032 MALLOC(sel 1157 struct _select *sel; local 1312 selscan(struct proc *p, struct _select *sel, int nfd, int32_t *retval, int sel_pass, wait_queue_sub_t wqsub) argument [all...] |
H A D | kern_fork.c | 1506 struct _select *sel; local 1532 sel = &uth->uu_select; 1534 if (sel->nbytes) { 1535 FREE(sel->ibits, M_TEMP); 1536 FREE(sel->obits, M_TEMP); 1537 sel->nbytes = 0; 1547 sel->count = 0; 1550 sel->wql = 0;
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | cpu.c | 473 u_int clevel, csize, i, sel; local 500 sel = i << 1; 501 __asm __volatile("mcr p15, 2, %0, c0, c0, 0"::"r"(sel)); 503 arm_cache_type[sel] = csize; 508 sel = (i << 1) | 1; 509 __asm __volatile("mcr p15, 2, %0, c0, c0, 0"::"r"(sel)); 511 arm_cache_type[sel] = csize;
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | pms.h | 163 extern void pmsCPUSet(uint32_t sel);
|
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | fasttrap_isa.c | 834 uint16_t sel, ndx, type; 839 sel = rp->r_cs; 842 sel = rp->r_ds; 845 sel = rp->r_es; 848 sel = rp->r_fs; 851 sel = rp->r_gs; 854 sel = rp->r_ss; 862 if (!SELISUPL(sel)) 865 ndx = SELTOIDX(sel); 871 if (SELISLDT(sel)) { [all...] |