mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 19:03:15 +01:00
Changed l4id_t type to integer to recognise negative id values like L4_ANYTHREAD. Added an extremely simple script that cleans and builds everything in right order. Increased boot pmds by one: This is due to the fact that if the 1MB initial allocation area of the kernel is not 1MB-aligned, it is ought to be mapped from the middle of one MB to next, which requires 2 pmds. modified: .gdbinit modified: README new file: buildall.sh modified: include/l4/arch/arm/types.h modified: include/l4/generic/scheduler.h modified: loader/kernel.S modified: loader/main.c modified: loader/mylink.lds modified: loader/start.axf.S modified: src/glue/arm/init.c modified: src/glue/arm/memory.c modified: tasks/fs0/src/bdev.c modified: tasks/mm0/include/kdata.h modified: tasks/mm0/include/vm_area.h modified: tasks/mm0/src/init.c modified: tasks/mm0/src/task.c modified: tools/ksym_to_lds.py modified: tools/l4-qemu
32 lines
622 B
C
32 lines
622 B
C
/*
|
|
* Data that comes from the kernel.
|
|
*
|
|
* Copyright (C) 2007 Bahadir Balban
|
|
*/
|
|
#ifndef __MM_KDATA_H__
|
|
#define __MM_KDATA_H__
|
|
|
|
#include <l4/macros.h>
|
|
#include <l4/config.h>
|
|
#include <l4/types.h>
|
|
#include <l4/generic/physmem.h>
|
|
#include INC_PLAT(offsets.h)
|
|
#include INC_GLUE(memory.h)
|
|
#include INC_GLUE(memlayout.h)
|
|
#include INC_ARCH(bootdesc.h)
|
|
#include <vm_area.h>
|
|
|
|
#define BOOTDESC_IMAGE_START 1
|
|
|
|
struct initdata {
|
|
struct bootdesc *bootdesc;
|
|
struct list_head boot_file_list;
|
|
struct page_bitmap page_map;
|
|
};
|
|
|
|
extern struct initdata initdata;
|
|
|
|
int request_initdata(struct initdata *i);
|
|
|
|
#endif /* __MM_KDATA_H__ */
|