1 |
/* IPC port right table defintions. |
/* IPC port right table defintions. |
2 |
Copyright 1999, 2000, 2001 Johan Rydberg, jrydberg@opencores.org. |
Copyright 1999, 2000, 2001, 2002 Johan Rydberg, jrydberg@opencores.org. |
3 |
|
|
4 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
5 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
23 |
|
|
24 |
/* Number of rights that each table contains. */ |
/* Number of rights that each table contains. */ |
25 |
|
|
26 |
#define MTABLERIGHTS 64 |
#define MTABLERIGHTS 1024 |
27 |
|
|
28 |
/* Table for fast right mapping of small names. */ |
/* Table for fast right mapping of small names. */ |
29 |
struct ipc_table |
struct ipc_table |
30 |
{ |
{ |
31 |
struct ipc_entry *it_tbl [MTABLERIGHTS]; |
struct ipc_entry **it_tbl; |
32 |
}; |
}; |
33 |
|
|
34 |
/* Intialize IPC table object TBL. Marks all slots as unused. */ |
/* Intialize IPC table object TBL. Marks all slots as unused. */ |