mirror of
https://github.com/drasko/codezero.git
synced 2026-03-02 02:33:12 +01:00
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:
@@ -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 */
|
||||
|
||||
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user