diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-27 17:07:18 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-27 22:09:58 +0200 |
commit | 2656f79608c8db735514bafe8026211c92d06aa1 (patch) | |
tree | ea09b97da30ccd4524c9e166c1eb8ab555a16e64 /console | |
parent | 50a7577b022851594fd15f8c934cd3c4a37c01b6 (diff) |
trans/crash: convert to trivfs dynamic classes and buckets
libtrivfs contains two ways of managing more than one port class and
bucket. There is the old way of using a statically allocated array
with explicit length, and the new way with dynamically allocated
vectors.
Converting all users to the new way of handling multiple classes
and/or buckets, we can simplify the code in libtrivfs. In many cases,
the code will be simpler and more expressive for the user.
This also fixes a mild bug. The classes and buckets given to
`trivfs_startup' end up in the dynamic vectors too, making the object
lookup code use the more complicated code path.
* trans/crash.c: Convert to dynamic classes and buckets.
Diffstat (limited to 'console')
0 files changed, 0 insertions, 0 deletions