wiki:WikiStart

Version 20 (modified by alain, 10 years ago) (diff)

--

GIET-VM usage information

A) Mapping_Info data structure

B) Peripherals Drivers

B1) BDV (Block Device controller)

B2) CMA (Chained Buffer DMA controller)

B3) DMA (Multi-Channels DMA controller)

B4) FBF (Frame Buffer controller)

B5) HBA (AHCI Disk controller)

B6) IOB (I/O Bridge controller)

B7) IOC (Generic I/O controller)

B8) MMC (Memory Cache controller)

B9) NIC (Gigabit Ethernet Network controller)

B10) PIC (External Peripherals Interrupt controller)

B11) SIM (Monitor controller)

B12) SPI (SPI Disk controller)

B13) TIM (Multi Timers controller)

B14) TTY (Multi Terminals TTY controller)

B15) XCU (Extended Interrupt controller)

C) Shared kernel functions

The boot code and the kernel code are two separated compilation units, but some common functions can be used by both the boot code and the kernel code:

C1) Utility functions?

C2) Physical memory allocators

C3) Virtual to physical address translation

Y) Boot-loader functions

W) Kernel functions

The GIET acronym stands for Gestionnaire Interruptions, Exceptions & Trappes.

This section describe the kernel functions, supporting Interrupts, Exceptions and Traps (i.e. syscalls).

W1) Interrupt Handler

W2) Exception Handler

W3) Syscall Handler

W4) Context Switch Handler

Z) User level libraries

This section describes the user libraries :

Z1) stdio library

This library contains all system calls allowing an application to access a protected ressource (peripheral register, or protected processor register). Each function in this library contains at least one SYSCALL instruction to enter the kernel mode.

Z2) stdlib library

This library contains various utility functions that do not use system calls.

Z3) MWMR library

This library defines a communication middleware supporting channelised communications in a multi-tasks parallel application. This middleware does not use system calls.

Z4) barrier library

This library contains functions used to synchronize severals tasks in a multi-task parallel application. Most of these functions do not use system calls.

Z5) spin_lock library

This library contains functions used to provide exclusive access to a shared ressource in a multi-task parallel application. These functions do not use system calls.

Z6) malloc library

This library contains functions allowing an user application to dynamically allocate virtual memory from the application heap. When the target architecture is clusterized (several physical banks), the heap is physically distributed on the clusters, and there is actually on allocator per cluster.