Introduction   File List   Index  

proto.h File Reference

Go to the source code of this file.

Defines

#define RMGR_INTERNAL_LTHREAD_PAGER   (0)
#define RMGR_INTERNAL_LTHREAD_SUPER   (1)
#define RMGR_RMGR   (0)
#define RMGR_RMGR_PING   (0xf3)
#define RMGR_MEM   (1)
#define RMGR_MEM_FREE   (1)
#define RMGR_MEM_FREE_FP   (2)
#define RMGR_MEM_MSG(action)   L4_PROTO_MSG(RMGR_MEM, (action), 0)
#define RMGR_TASK   (2)
#define RMGR_TASK_ALLOC   (1)
#define RMGR_TASK_GET   (2)
#define RMGR_TASK_FREE   (3)
#define RMGR_TASK_CREATE   (4)
#define RMGR_TASK_DELETE   (5)
#define RMGR_TASK_SET_SMALL   (6)
#define RMGR_TASK_SET_PRIO   (7)
#define RMGR_TASK_GET_ID   (8)
#define RMGR_TASK_CREATE_WITH_PRIO   (9)
#define RMGR_TASK_SET_ID   (10)
#define RMGR_TASK_FREE_ALL   (11)
#define RMGR_TASK_MSG(action, taskno)   L4_PROTO_MSG(RMGR_TASK, (action), (taskno))
#define RMGR_IRQ   (3)
#define RMGR_IRQ_GET   (2)
#define RMGR_IRQ_FREE   (3)
#define RMGR_IRQ_FREE_ALL   (4)
#define RMGR_IRQ_MAX   18
#define RMGR_IRQ_LTHREAD   16
#define RMGR_MEM_RES_FLAGS_MASK   0x0FC0
#define RMGR_MEM_RES_DMA_ABLE   0x0040
#define RMGR_MEM_RES_UPWARDS   0x0080
#define RMGR_MEM_RES_DOWNWARDS   0x0000


Detailed Description

Date:
15/10/2002
Author:
Frank Mehnert <fm3@os.inf.tu-dresden.de>

Definition in file proto.h.


Define Documentation

#define RMGR_INTERNAL_LTHREAD_PAGER   (0)

The thread ID of the pager thread

Definition at line 13 of file proto.h.

#define RMGR_INTERNAL_LTHREAD_SUPER   (1)

The thread ID of the super thread

Definition at line 14 of file proto.h.

#define RMGR_RMGR   (0)

PROTOCOL: rmgr meta protocol

Definition at line 16 of file proto.h.

#define RMGR_RMGR_PING   (0xf3)

ping -- returns ~arg in d2

Definition at line 17 of file proto.h.

#define RMGR_MEM   (1)

PROTOCOL: memory operations

Definition at line 19 of file proto.h.

#define RMGR_MEM_FREE   (1)

free physical page

Definition at line 20 of file proto.h.

#define RMGR_MEM_FREE_FP   (2)

free an fpage

Definition at line 21 of file proto.h.

#define RMGR_MEM_MSG ( action   )     L4_PROTO_MSG(RMGR_MEM, (action), 0)

shortcut for messages belonging to MEM protocol class

Definition at line 24 of file proto.h.

#define RMGR_TASK   (2)

PROTOCOL: task operations

Definition at line 26 of file proto.h.

#define RMGR_TASK_ALLOC   (1)

allocate task number

Definition at line 27 of file proto.h.

#define RMGR_TASK_GET   (2)

allocate specific task number

Definition at line 28 of file proto.h.

#define RMGR_TASK_FREE   (3)

free task number

Definition at line 29 of file proto.h.

#define RMGR_TASK_CREATE   (4)

create a task XXX

Definition at line 30 of file proto.h.

#define RMGR_TASK_DELETE   (5)

delete a task

Definition at line 31 of file proto.h.

#define RMGR_TASK_SET_SMALL   (6)

set a task's small address space number

Definition at line 32 of file proto.h.

#define RMGR_TASK_SET_PRIO   (7)

set a task's priority

Definition at line 33 of file proto.h.

#define RMGR_TASK_GET_ID   (8)

get task id by module name

Definition at line 34 of file proto.h.

#define RMGR_TASK_CREATE_WITH_PRIO   (9)

create a task and set prio XXX

Definition at line 35 of file proto.h.

#define RMGR_TASK_SET_ID   (10)

get task id by module name

Definition at line 36 of file proto.h.

#define RMGR_TASK_FREE_ALL   (11)

free all tasks belonging to a client

Definition at line 37 of file proto.h.

#define RMGR_TASK_MSG ( action,
taskno   )     L4_PROTO_MSG(RMGR_TASK, (action), (taskno))

shortcut for messages belonging to TASK protocol class

Definition at line 40 of file proto.h.

#define RMGR_IRQ   (3)

PROTOCOL: irq operations

Definition at line 43 of file proto.h.

#define RMGR_IRQ_GET   (2)

allocate an interrupt number

Definition at line 44 of file proto.h.

#define RMGR_IRQ_FREE   (3)

free an interrupt number

Definition at line 45 of file proto.h.

#define RMGR_IRQ_FREE_ALL   (4)

free all irqs belonging to a client

Definition at line 46 of file proto.h.

#define RMGR_IRQ_MAX   18

max number of IRQs rmgr can handle

Definition at line 48 of file proto.h.

#define RMGR_IRQ_LTHREAD   16

base thread for IRQ threads

Definition at line 49 of file proto.h.

#define RMGR_MEM_RES_FLAGS_MASK   0x0FC0

bit-mask for memory reservation

Definition at line 51 of file proto.h.

#define RMGR_MEM_RES_DMA_ABLE   0x0040

memory has to lay below 16 MB

Definition at line 52 of file proto.h.

#define RMGR_MEM_RES_UPWARDS   0x0080

search upwards

Definition at line 53 of file proto.h.

#define RMGR_MEM_RES_DOWNWARDS   0x0000

search downwards (default)

Definition at line 54 of file proto.h.


Roottask Reference Manual, written by Frank Mehnert  © 2006