mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
- Now libl4 has no references to utcb page or shmat etc. - Pager does not deal with special case utcb page allocation. It instead allocates a shared page from shm memory pool. - All tasks working to original standard. Next: - Add per-thread utcb allocation from the kernel - Add larger register file for standard ipc - Add long ipc (up to 1Kb)
29 lines
692 B
C
29 lines
692 B
C
#ifndef __BOOT_H__
|
|
#define __BOOT_H__
|
|
|
|
#include <vm_area.h>
|
|
#include <task.h>
|
|
|
|
/* Structures to use when sending new task information to vfs */
|
|
struct task_data {
|
|
unsigned long tid;
|
|
unsigned long shpage_address;
|
|
};
|
|
|
|
struct task_data_head {
|
|
unsigned long total;
|
|
struct task_data tdata[];
|
|
};
|
|
|
|
int boottask_setup_regions(struct vm_file *file, struct tcb *task,
|
|
unsigned long task_start, unsigned long task_end);
|
|
|
|
int boottask_mmap_regions(struct tcb *task, struct vm_file *file);
|
|
|
|
struct tcb *boottask_exec(struct vm_file *f, unsigned long task_region_start,
|
|
unsigned long task_region_end, struct task_ids *ids);
|
|
|
|
int vfs_send_task_data(struct tcb *vfs);
|
|
|
|
#endif /* __BOOT_H__ */
|