Changes between Version 70 and Version 71 of boot_procedure


Ignore:
Timestamp:
Dec 7, 2019, 6:22:31 PM (3 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • boot_procedure

    v70 v71  
    136136== D) __Generic kernel initialization procedure__ ==
    137137
    138 The kernel_init() function is the kernel entry point when the boot_loader transfers control to the kernel. The argument is a pointer on the fixed size boot_info_t structure, stored in the local  ''kdata'' segment.
     138The kernel_init() function is the kernel entry point when the boot_loader transfers control to the kernel. The argument is a pointer on the fixed size boot_info structure, stored in the local  ''kdata'' segment.
    139139
    140140The source code for this function is defined in the [https://www-soc.lip6.fr/trac/almos-mkh/browser/trunk/kernel/kern/kernel_init.c  almos-mkh/kernel/kern/kernel_init.c] file.
     
    196196=== D5) Internal & external devices initialization ===
    197197
    198 In each cluster, the core[0] makes the devices initialization. For multi-channels devices, there is one channel device (called chdev_t) per channel.
     198In each cluster[cxy], the core[cxy][0] makes the devices initialization (device == peripheral).
     199
     200For multi-channels devices, there is one channel device (called chdev) per channel. For each chdev, almost-mkh creates a dedicate kernel DEV thread, that is in charge of executing all requests targeting this ''chdev'', registered in a dedicated associated waiting queue. The chdev API is defined in the [https://www-soc.lip6.fr/trac/almos-mkh/browser/trunk/kernel/kern/chdev.h  almos-mkh/kernel/kern/chdev.h] and [https://www-soc.lip6.fr/trac/almos-mkh/browser/trunk/kernel/kern/chdev.c  almos-mkh/kernel/kern/chdev.c] files.
     201
    199202For internal (replicated) devices, the chdev descriptors are allocated in the local cluster. For external (shared) devices, the chdev descriptors are regularly distributed on all clusters. These external chdev are indexed by a global index, and the host cluster is computed from this index by a modulo.
    200203