Ignore:
Timestamp:
2010-10-19T20:55:53Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
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.
Message:

Merge mainline changes.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/packet/generic/packet_server.c

    r1882525 rf14291b  
    3939#include <async.h>
    4040#include <errno.h>
     41#include <err.h>
    4142#include <fibril_synch.h>
    4243#include <unistd.h>
     44#include <sys/mman.h>
    4345
    4446#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>
    5455
    5556#define FREE_QUEUES_COUNT       7
     
    8586        unsigned int count;
    8687} 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),
    9489        .free = {NULL, NULL, NULL, NULL, NULL, NULL, NULL},
    9590        .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.