Few more fixes.

Boot files and tasks are now initialised together. Theads can ask for particular
space and thread ids, if they're unused. This enables us to get predefined ids for
known tasks such as the VFS task.

Fixes to README
Other minor fixes.
This commit is contained in:
Bahadir Balban
2008-02-09 14:24:49 +00:00
parent 4aa26af61d
commit ba0e3ada21
14 changed files with 134 additions and 64 deletions

View File

@@ -4,6 +4,7 @@
unsigned int __clz(unsigned int bitvector);
int find_and_set_first_free_bit(u32 *word, unsigned int lastbit);
int check_and_clear_bit(u32 *word, int bit);
int check_and_set_bit(u32 *word, int bit);
/* Set */

View File

@@ -11,5 +11,6 @@ struct id_pool {
struct id_pool *id_pool_new_init(int mapsize);
int id_new(struct id_pool *pool);
int id_del(struct id_pool *pool, int id);
int id_get(struct id_pool *pool, int id);
#endif /* __IDPOOL_H__ */