Changeset 101516d in mainline for uspace/lib/c/generic/async.c


Ignore:
Timestamp:
2016-08-30T18:06:41Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a481d81
Parents:
2f6ad06
Message:

Add async framework wrapper around as_area_create()

This is necessary because only the async framework can see the underlying
phone in struct async_sess.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/async.c

    r2f6ad06 r101516d  
    116116#include <stdlib.h>
    117117#include <macros.h>
     118#include <as.h>
    118119#include "private/libc.h"
    119120
     
    33793380}
    33803381
     3382void *async_as_area_create(void *base, size_t size, unsigned int flags,
     3383    async_sess_t *pager)
     3384{
     3385        return as_area_create(base, size, flags, pager->phone);
     3386}
     3387
    33813388/** @}
    33823389 */
Note: See TracChangeset for help on using the changeset viewer.