Removed all references th shared page from libposix

Added UTCB functions for full ipc that copy buffer or string payloads
in secondary message registers.

Some posix syscalls now use these utcb functions to copy pathnames.
This commit is contained in:
Bahadir Balban
2009-10-07 22:59:34 +03:00
parent 96cd0949b6
commit cb561ab262
11 changed files with 70 additions and 34 deletions

View File

@@ -84,6 +84,9 @@
#define L4_IPC_EXTENDED_MAX_SIZE (SZ_1K*2)
/* Primaries aren't used for memcopy. Those ops use this as a parameter */
#define L4_UTCB_FULL_BUFFER_SIZE (MR_REST * sizeof(int))
#include INC_GLUE(memlayout.h)
#if defined (__KERNEL__)

View File

@@ -1,8 +1,8 @@
#ifndef __LIB_MATH_H__
#define __LIB_MATH_H__
#define min(x, y) (((x) < (y)) ? x : y)
#define max(x, y) (((x) > (y)) ? x : y)
#define min(x, y) (((x) < (y)) ? (x) : (y))
#define max(x, y) (((x) > (y)) ? (x) : (y))
/* Tests if ranges a-b intersect with range c-d */
static inline int set_intersection(unsigned long a, unsigned long b,