mirror of
https://github.com/drasko/codezero.git
synced 2026-02-11 01:13:16 +01:00
Added the omitted utcb.h to mm0
This commit is contained in:
14
tasks/mm0/include/utcb.h
Normal file
14
tasks/mm0/include/utcb.h
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
#ifndef __MM0_UTCB_H__
|
||||||
|
#define __MM0_UTCB_H__
|
||||||
|
|
||||||
|
int utcb_pool_init();
|
||||||
|
|
||||||
|
void *utcb_new_address(int npages);
|
||||||
|
int utcb_delete_address(void *shm_addr, int npages);
|
||||||
|
unsigned long utcb_slot(struct utcb_desc *desc);
|
||||||
|
unsigned long task_new_utcb_desc(struct tcb *task);
|
||||||
|
int task_setup_utcb(struct tcb *task);
|
||||||
|
int task_destroy_utcb(struct tcb *task);
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* __MM0_UTCB_H__ */
|
||||||
Reference in New Issue
Block a user