Skip to content
  • Philippe Gerum's avatar
    cobalt/kernel: pipeline: abstract context switching support · b506a5e2
    Philippe Gerum authored and Jan Kiszka's avatar Jan Kiszka committed
    
    
    Implement an abstract API for the low-level context switching code,
    moving the legacy open coded support to the I-pipe specific section
    (e.g. fpu management, register file switching, root context tracking).
    Dovetail provides built-in support for all these nitty-gritty details,
    which we may tap into for the same purpose instead.
    
    The changes have been introduced in a way which properly maps to the
    Dovetail interface, while remaining compatible with the interface to
    the legacy code.
    
    No functional change is introduced.
    
    Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
    [Jan: make giveup_fpu static]
    Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
    b506a5e2