Changeset f14291b in mainline for uspace/lib/packet/generic/packet_server.c
- Timestamp:
- 2010-10-19T20:55:53Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a93d79a
- Parents:
- 1882525 (diff), a7a85d16 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/packet/generic/packet_server.c
r1882525 rf14291b 39 39 #include <async.h> 40 40 #include <errno.h> 41 #include <err.h> 41 42 #include <fibril_synch.h> 42 43 #include <unistd.h> 44 #include <sys/mman.h> 43 45 44 46 #include <ipc/ipc.h> 45 #include <sys/mman.h> 46 47 #include <net_err.h> 48 #include <net_messages.h> 49 #include <packet/packet.h> 50 #include <packet/packet_client.h> 51 #include <packet/packet_header.h> 52 #include <packet/packet_messages.h> 53 #include <packet/packet_server.h> 47 #include <ipc/packet.h> 48 #include <ipc/net.h> 49 50 #include <net/packet.h> 51 #include <net/packet_header.h> 52 53 #include <packet_server.h> 54 #include <packet_local.h> 54 55 55 56 #define FREE_QUEUES_COUNT 7 … … 85 86 unsigned int count; 86 87 } ps_globals = { 87 .lock = { 88 .counter = 1, 89 .waiters = { 90 .prev = &ps_globals.lock.waiters, 91 .next = &ps_globals.lock.waiters, 92 } 93 }, 88 .lock = FIBRIL_MUTEX_INITIALIZER(ps_globals.lock), 94 89 .free = {NULL, NULL, NULL, NULL, NULL, NULL, NULL}, 95 90 .sizes = {PAGE_SIZE, PAGE_SIZE * 2, PAGE_SIZE * 4, PAGE_SIZE * 8, PAGE_SIZE * 16, PAGE_SIZE * 32, PAGE_SIZE * 64},
Note:
See TracChangeset
for help on using the changeset viewer.