Added manual pages - Not release quality yet.

This commit is contained in:
Bahadir Balban
2009-11-30 16:42:41 +02:00
parent e82d62f64b
commit 7d0a7f67ec
14 changed files with 697 additions and 0 deletions

26
docs/man/man7/l4_map.7 Normal file
View File

@@ -0,0 +1,26 @@
.TH L4_MAP 7 2009-11-02 "Codezero" "Codezero Programmer's Manual"
.SH NAME
.nf
.BR "l4_map" "- Sets up virtual to physical address mappings."
.SH SYNOPSIS
.nf
.B #include <l4lib/arch/syscalls.h>
.B #include <l4lib/arch/syslib.h>
.BI "int l4_map(void " "*p" ", void " "*v" ", u32 " "npages" ", u32 " "flags" ", l4id_t " "tid" ")"
.SH DESCRIPTION
.BR l4_map() " Sets up virtual to physical address mappings."
.RB "Sets up a virtual to physical mapping for the thread identified by " "tid" ", from virtual address " "v" " to physical address " "p" ", spanning " "npages" " number of pages, using the given " "flags" "."
.SH L4 Userspace Library Functions
.nf
/*
* Map given physical address to a virtual address
* in the current task spanning npages in size.
*/
.BI "static inline void *l4_map_helper(void " "*phys" ", int " "npages" ");"