History log of /fuchsia/zircon/kernel/include/pow2.h
Revision Date Author Comments
# f3e2126c 12-Sep-2017 Roland McGrath <mcgrathr@google.com>

[zx] Magenta -> Zircon

The Great Renaming is here!

Change-Id: I3229bdeb2a3d0e40fb4db6fec8ca7d971fbffb94


# 23e73b66 15-Mar-2017 George Kulakowski <kulakowski@google.com>

[magenta][pow2][constexpr] Mark pow2 static inlines as constexpr

Change-Id: I25c65f8b867323ed49b816b4e4bcb147a5ed6398


# b4edd70c 07-Oct-2016 Todd Eisenberger <teisenbe@google.com>

[kernel][pow2] log2_ulong_* should return uint

Change-Id: Idab5c1b023b936ff98c018734e72f513623c9f8d


# e6098220 07-Oct-2016 Todd Eisenberger <teisenbe@google.com>

[kernel][pow2] Rename log2 functions to contain floor/ceil

Additionally merge implementations to dedupe logic

Change-Id: Ie4fa6cc4fb6ae9f107e14d8ff764337e42d24b8f


# c703d68e 06-Oct-2016 Todd Eisenberger <teisenbe@google.com>

[kernel][pow2] Improve the pow2 library

- adds support for log2 operations on ulongs
- improves documentation
- adds unittests

Change-Id: I81fc50c2d1f68b1908472071b9bae311a2f1e395


# 9b7c44af 25-Aug-2016 John Grossman <johngro@google.com>

[system] Merge kernel compiler.h with global compiler.h

Change-Id: Ia9f35fdb5321c82a3f844510ca93aada81d2f8c9


# d8b0539e 10-Aug-2016 Carlos Pizano <cpu@google.com>

[kernel][magenta] Sockets (part 1)

Sockets are connected, bidirectional, waitable transports that
can move only data, and have a maximum capacity. They are
useful for stream transports, pipes, etc.

This CL only introduces the basic constructs and
the following syscalls:

sys_socket_create() : returns two handles, one for each end
of the socket. Both sides behave in the same manner.

sys_socket_read() and sys_socket_write(), to read and write
data, in byte stream form.

Unlike the message pipe and the data pipe, the socket
does not have a central object of which both sides are
just interfaces, instead both dispatchers hold the write
circular buffer and rely on the new on_zero_handles()
callback to manage the lifetime.

Change-Id: I8fbfedde399cf9a7f129370bbc26b99b33ce53fe


# 53b9e1c8 15-Jun-2016 The Fuchsia Authors <authors@fuchsia.local>

[magenta] Initial commit