URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
| Line No. |
Rev |
Author |
Line |
| 1 |
106 |
markom |
Things that still need attention:
|
| 2 |
|
|
|
| 3 |
|
|
* Make implementation changes necessary to allow multiple processes
|
| 4 |
|
|
to use the mmalloc managed region simultaneously. This requires,
|
| 5 |
|
|
at the minimum, some sort of cooperative locking that ensures that
|
| 6 |
|
|
only one process at a time is changing any of the mmalloc managed
|
| 7 |
|
|
data structures (its ok for the mmalloc managed data regions to be
|
| 8 |
|
|
changed at any time since we don't care about their contents).
|
| 9 |
|
|
|
| 10 |
|
|
* In order to support multiple processes using the mmalloc managed
|
| 11 |
|
|
region, the malloc descriptor needs to be broken into two parts,
|
| 12 |
|
|
one part which is specific to the given process and is maintained
|
| 13 |
|
|
separately on a per process basis, and another part which is common
|
| 14 |
|
|
to all processes. As an example, the file descriptor is specific
|
| 15 |
|
|
to a given process, as are the morecore and abortfunc pointers.
|
| 16 |
|
|
However magic[], the version number, the flags field, etc are
|
| 17 |
|
|
common to all processes.
|
© copyright 1999-2026
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.