• Navigation überspringen
  • Zur Navigation
  • Zum Seitenende
Organisationsmenü öffnen Organisationsmenü schließen
Friedrich-Alexander-Universität Lehrstuhl für Informatik 4 (Systemsoftware)
  • FAUZur zentralen FAU Website
  1. Friedrich-Alexander-Universität
  2. Technische Fakultät
  3. Department Informatik
Suche öffnen
  • English
  • Campo
  • StudOn
  • FAUdir
  • Stellenangebote
  • Lageplan
  • Hilfe im Notfall
  1. Friedrich-Alexander-Universität
  2. Technische Fakultät
  3. Department Informatik
Friedrich-Alexander-Universität Lehrstuhl für Informatik 4 (Systemsoftware)
Menu Menu schließen
  • Lehrstuhl
    • Team
    • Aktuelles
    • Kontakt und Anfahrt
    • Leitbild
    • 50-jähriges Jubiläum
    Portal Lehrstuhl
  • Forschung
    • Forschungsbereiche
      • Betriebssysteme
      • Confidential Computing
      • Embedded Systems Software
      • Verteilte Systeme
    • Projekte
      • AIMBOS
      • BALu
      • BFT2Chain
      • DOSS
      • Mirador
      • NEON
      • PAVE
      • ResPECT
      • Watwa
    • Projektkampagnen
      • maRE
    • Seminar
      • Systemsoftware
    Portal Forschung
  • Publikationen
  • Lehre
    • Sommersemester 2025
      • Applied Software Architecture
      • Ausgewählte Kapitel der Systemsoftware
      • Betriebssystemtechnik
      • Projekt angewandte Systemsoftwaretechnik
      • System-Level Programming
      • Systemnahe Programmierung in C
      • Systemprogrammierung 1
      • Verteilte Systeme
    • Wintersemester 2025/26
      • Systemprogrammierung 2
      • Betriebssysteme
      • Middleware – Cloud Computing
      • Echtzeitsysteme
      • Virtuelle Maschinen
      • Web-basierte Systeme
      • Projekt angewandte Systemsoftwaretechnik
      • Aktuelle Entwicklung in Verteilten und Objektorientierten Betriebssystemen (für Bachelor-/Masterarbeit)
    Portal Lehre
  • Examensarbeiten
  1. Startseite
  2. Extern

Extern

Bereichsnavigation: Lehre
  • Betriebssysteme
    • Vorlesung
      • Folien
    • Übung
      • Seminar
      • Aufgaben
      • Aufgabe 0: C++ Streams
        • Aufgabe 1: Ein-/Ausgabe
          • Aufgabe 2: Unterbrechungen
            • Aufgabe 3: Pro-/Epilog
              • Aufgabe 4: Kontextwechsel
                • Aufgabe 5: Zeitscheiben
                  • Assembler Crashkurs
                    • C++ Crashkurs
                      • Entwicklungsumgebung
                        • FAQ
                          • Ruhmeshalle

                        Aufgabe 4: Kontextwechsel

                        • boot
                        Functions
                        startup.h File Reference

                        Startup of the first core, also known as bootstrap processor (BSP) More...

                        #include "compiler/fix.h"
                        + Include dependency graph for startup.h:

                        Functions

                        void startup_bsp () ERROR_ON_CALL("The kernel entry point shall never be called from your code!")
                         Entry point of your kernel. More...
                         
                        void kernel_init () ERROR_ON_CALL("The kernel init function shall never be called from your code!")
                         Initializes the C++ environment and detects system components. More...
                         
                        int main ()
                         Kernels main function. More...
                         
                        int main_ap ()
                         Entry point for application processors. More...
                         

                        Detailed Description

                        Startup of the first core, also known as bootstrap processor (BSP)

                        Function Documentation

                        void startup_bsp ( )

                        Entry point of your kernel.

                        Executed by boot loader. Stores Pointer to Multiboot information structure, initializes stack pointer, switches to long mode and finally calls the C++ kernel_init function

                        void kernel_init ( )

                        Initializes the C++ environment and detects system components.

                        The startup code(both for bootstrap and application processor) jumps to this high level function. After initialization it will call main() or main_ap() respectively

                        int main ( )

                        Kernels main function.

                        Called after initialization of the system by kernel_init()

                        Note
                        This code will only be executed on the booting CPU (i.e., the one with ID 0).
                        int main_ap ( )

                        Entry point for application processors.

                        Called after initialization of the system by kernel_init()

                        Note
                        Code in this function will be executed on all APs (i.e., all CPUs except ID 0)
                        Friedrich-Alexander-Universität
                        Erlangen-Nürnberg

                        Schlossplatz 4
                        91054 Erlangen
                        • Impressum
                        • Datenschutz
                        • Barrierefreiheit
                        • Facebook
                        • RSS Feed
                        • Xing
                        Nach oben