mirror of
https://github.com/drasko/codezero.git
synced 2026-01-24 16:53:14 +01:00
Initial commit
This commit is contained in:
31
tasks/mm0/include/kdata.h
Normal file
31
tasks/mm0/include/kdata.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* 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 vm_file *memfile;
|
||||
struct page_bitmap page_map;
|
||||
};
|
||||
|
||||
extern struct initdata initdata;
|
||||
|
||||
int request_initdata(struct initdata *i);
|
||||
|
||||
#endif /* __MM_KDATA_H__ */
|
||||
Reference in New Issue
Block a user