Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 25 of 55) sorted by relevance

123

/l4re-core-master/l4sys/include/
A Dtypes.h161 l4_mword_t raw; ///< raw value member
164 long label() const L4_NOTHROW { return raw >> 16; } in label()
166 void label(long v) L4_NOTHROW { raw = (raw & 0x0ffff) | ((l4_umword_t)v << 16); } in label()
168 unsigned words() const L4_NOTHROW { return raw & 0x3f; } in words()
170 unsigned items() const L4_NOTHROW { return (raw >> 6) & 0x3f; } in items()
177 unsigned flags() const L4_NOTHROW { return raw & 0xf000; } in flags()
421 { return t.raw >> 16; } in l4_msgtag_label()
425 { return t.raw & 0x3f; } in l4_msgtag_words()
429 { return (t.raw >> 6) & 0x3f; } in l4_msgtag_items()
433 { return t.raw & 0xf000; } in l4_msgtag_flags()
[all …]
A D__l4_fpage.h85 l4_umword_t raw; ///< Raw value member
569 return (f.raw & L4_FPAGE_RIGHTS_MASK) >> L4_FPAGE_RIGHTS_SHIFT; in l4_fpage_rights()
575 return (f.raw & L4_FPAGE_TYPE_MASK) >> L4_FPAGE_TYPE_SHIFT; in l4_fpage_type()
581 return (f.raw & L4_FPAGE_SIZE_MASK) >> L4_FPAGE_SIZE_SHIFT; in l4_fpage_size()
587 return (f.raw & L4_FPAGE_ADDR_MASK) >> L4_FPAGE_ADDR_SHIFT; in l4_fpage_page()
593 return (f.raw & L4_FPAGE_ADDR_MASK) >> L4_FPAGE_ADDR_SHIFT; in l4_fpage_ioport()
599 return f.raw & L4_FPAGE_ADDR_MASK; in l4_fpage_memaddr()
605 return f.raw & L4_FPAGE_ADDR_MASK; in l4_fpage_obj()
618 t.raw = ((rights << L4_FPAGE_RIGHTS_SHIFT) & L4_FPAGE_RIGHTS_MASK) in __l4_fpage_generic()
629 f.raw = ((L4_FPAGE_TYPE_MASK | L4_FPAGE_SIZE_MASK | L4_FPAGE_ADDR_MASK) & src.raw) in l4_fpage_set_rights()
A Dfactory.h333 v->mr[4] = l4_obj_fpage(thread_cap, 0, L4_CAP_FPAGE_RWS).raw; in l4_factory_create_gate_u()
423 v->mr[w + 1] = d.raw; in l4_factory_create_add_fpage_u()
425 tag->raw = (tag->raw & ~0x3fUL) | (w & 0x3f); in l4_factory_create_add_fpage_u()
440 tag->raw = (tag->raw & ~0x3fUL) | (w & 0x3f); in l4_factory_create_add_int_u()
455 tag->raw = (tag->raw & ~0x3fUL) | (w & 0x3f); in l4_factory_create_add_uint_u()
486 tag->raw = (tag->raw & ~0x3fUL) | (w & 0x3f); in l4_factory_create_add_lstr_u()
497 tag->raw = (tag->raw & ~0x3fUL) | (w & 0x3f); in l4_factory_create_add_nil_u()
A Dtask.h288 v->mr[4] = l4_obj_fpage(src_task, 0, L4_CAP_FPAGE_RWS).raw; in l4_task_map_u()
290 v->mr[2] = snd_fpage.raw; in l4_task_map_u()
301 v->mr[2] = fpage.raw; in l4_task_unmap_u()
343 v->mr[1] = ku_mem.raw; in l4_task_add_ku_mem_u()
A Dipc.h500 t.raw = 0; in l4_ipc_wait()
509 t.raw = 0; in l4_ipc_receive()
566 v->mr[i + 1] = snd_fpage.raw; in l4_sndfpage_add_u()
/l4re-core-master/l4sys/include/cxx/
A Dtypes106 * Make flags from a raw value of \a value_type.
236 { return DT(l.raw | r.raw); }
240 { return DT(l.raw & r.raw); }
244 { return l.raw == r.raw; }
248 { return l.raw != r.raw; }
253 static_cast<DT *>(this)->raw |= r.raw;
260 static_cast<DT *>(this)->raw &= r.raw;
267 return static_cast<DT const *>(this)->raw != 0;
272 { return DT(~static_cast<DT const *>(this)->raw); }
287 T raw;
[all …]
/l4re-core-master/l4sys/include/ARCH-amd64/L4API-l4f/
A Dipc.h41 register l4_umword_t to __asm__("r8") = timeout.raw; in l4_ipc()
51 "=a" (tag.raw) in l4_ipc()
55 "a" (tag.raw), in l4_ipc()
/l4re-core-master/l4sys/include/ARCH-arm64/L4API-l4f/
A Dipc.h41 register l4_umword_t _timeout __asm__("x3") = timeout.raw; in l4_ipc()
42 register l4_mword_t _tag __asm__("x0") = tag.raw; in l4_ipc()
59 tag.raw = _tag; in l4_ipc()
/l4re-core-master/l4sys/include/ARCH-arm/L4API-l4f/
A Dipc.h42 register l4_umword_t _timeout __asm__("r3") = timeout.raw; in l4_ipc()
43 register l4_mword_t _tag __asm__("r0") = tag.raw; in l4_ipc()
62 tag.raw = _tag; in l4_ipc()
/l4re-core-master/l4sys/include/ARCH-mips/L4API-l4f/
A Dipc.h53 register l4_umword_t _timeout __asm__("s2") = timeout.raw; in l4_ipc()
54 register l4_mword_t _tag __asm__("s3") = tag.raw; in l4_ipc()
74 tag.raw = _tag; in l4_ipc()
/l4re-core-master/l4sys/include/ARCH-ppc32/L4API-l4f/
A Dipc.h45 register l4_umword_t _timeout __asm__("r5") = timeout.raw; in l4_ipc()
46 register l4_mword_t _tag __asm__("r3") = tag.raw; in l4_ipc()
64 tag.raw = _tag; in l4_ipc()
/l4re-core-master/moe/server/src/
A Ddataspace.cc52 unsigned long cache_opt = cxx::max((_flags & Dataspace::F::Caching_mask).raw, in map()
53 (flags & Dataspace::F::Caching_mask).raw); in map()
76 << flags.raw << "\n"; in op_map()
89 << ", " << flags.raw << ", " << (mf.w() && flags.w()) in op_map()
A Ddataspace.h46 Address(long error) throw() : offs(-1UL) { fpage.raw = error; } in throw()
54 unsigned long bs() const throw() { return fpage.raw & L4_FPAGE_ADDR_MASK; } in bs()
69 long error() const throw() { return fpage.raw; } in error()
/l4re-core-master/l4sys/include/ARCH-x86/L4API-l4f/
A Dipc-l42-gcc3-nopic.h49 "=a" (tag.raw) in l4_ipc()
53 "a" (tag.raw), in l4_ipc()
/l4re-core-master/l4util/include/ARCH-x86/L4API-l4f/
A Dport_io.h64 l4_utcb_mr()->mr[0] = iofp.raw; in l4util_ioport_map()
67 l4_utcb_br()->br[1] = iofp.raw; in l4util_ioport_map()
/l4re-core-master/libsigma0/lib/src/
A Danypage.c29 m->mr[1] = l4_fpage(0, sz, 0).raw; in l4sigma0_map_anypage()
33 b->br[1] = l4_fpage(map_area, log2_map_size, L4_FPAGE_RWX).raw; in l4sigma0_map_anypage()
A Dmem.c46 m->mr[1] = l4_fpage(phys, l, L4_FPAGE_RWX).raw; in map_mem()
50 b->br[1] = l4_fpage(virt, l, L4_FPAGE_RWX).raw; in map_mem()
/l4re-core-master/sigma0/server/src/
A Dmemmap_internal.h39 l4_utcb_mr_u(utcb)->mr[1] = fp.raw;
52 l4_utcb_mr_u(utcb)->mr[1] = l4_fpage(addr, size, access).raw; in snd_fpage()
/l4re-core-master/ned/server/src/
A Dapp_model.cc23 L4::Cap<L4Re::Mem_alloc> _ma(prog_info()->mem_alloc.raw & L4_FPAGE_ADDR_MASK); in alloc_ds()
117 L4::Cap<L4Re::Mem_alloc> ma(prog_info()->mem_alloc.raw & L4_FPAGE_ADDR_MASK); in alloc_app_stack()
167 Dbg(Dbg::Info).printf("parent cap is %lx\n", prog_info()->parent.raw); in get_task_caps()
170 *factory = L4::Cap<L4::Factory>(prog_info()->factory.raw & L4_FPAGE_ADDR_MASK); in get_task_caps()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/unix/sysv/linux/
A Dmq_notify.c53 char raw[NOTIFY_COOKIE_LEN]; member
124 if (data.raw[NOTIFY_COOKIE_LEN - 1] == NOTIFY_WOKENUP) in helper_thread()
136 else if (data.raw[NOTIFY_COOKIE_LEN - 1] == NOTIFY_REMOVED) in helper_thread()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/
A Dmq_notify.c54 char raw[NOTIFY_COOKIE_LEN]; member
125 if (data.raw[NOTIFY_COOKIE_LEN - 1] == NOTIFY_WOKENUP) in helper_thread()
137 else if (data.raw[NOTIFY_COOKIE_LEN - 1] == NOTIFY_REMOVED) in helper_thread()
/l4re-core-master/cxx/lib/tl/include/
A Dbitfield103 * \param val The raw value of the whole bit field.
113 * \param val The raw value of the whole bit field.
189 * \return The raw bit field value.
202 * \return The raw bit field value.
212 * \return The raw bit field value.
260 /** Reference type to access the bits inside a raw bit field. */
262 /** Value type to access the bits inside a raw bit field. */
265 /** Reference type to access the bits inside a raw bit field (in place). */
267 /** Value type to access the bits inside a raw bit field (in place). */
/l4re-core-master/l4re/include/
A Ddataspace110 unsigned long raw;
112 explicit constexpr Flags(unsigned long f) : raw(f) {}
113 constexpr Flags(F::Flags f) : raw(f) {}
114 constexpr bool r() const { return raw & L4_FPAGE_RO; }
115 constexpr bool w() const { return raw & L4_FPAGE_W; }
116 constexpr bool x() const { return raw & L4_FPAGE_X; }
119 { return raw & 0xf; }
/l4re-core-master/l4re_kernel/server/src/
A Ddispatcher.cc26 dbg.printf("request: tag=0x%lx proto=%ld obj=0x%lx\n", t.raw, t.label(), obj); in dispatch()
/l4re-core-master/l4sys/include/ARCH-sparc/L4API-l4f/
A Dipc.h49 t.raw = ~0; in l4_ipc()

Completed in 75 milliseconds

123