• 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

    Aufgabe 3: Pro-/Epilog

    Public Member Functions | List of all members
    IOPort Class Reference

    Abstracts access to the I/O address space. More...

    #include <machine/ioport.h>

    Public Member Functions

     IOPort (uint16_t addr)
     Constructor. More...
     
    void outb (uint8_t val) const
     Write one byte to the I/O port. More...
     
    void outw (uint16_t val) const
     Write one word (2 bytes) to the I/O port. More...
     
    uint8_t inb () const
     Read one byte from the I/O port. More...
     
    uint16_t inw () const
     Read one word (2 bytes) from the I/O port. More...
     

    Detailed Description

    Abstracts access to the I/O address space.

    x86 PCs have a separated I/O address space that is accessible only via the machine instructions in and out. An IOPort object encapsulates the corresponding address in the I/O address space and can be used for byte or word-wise reading or writing.

    Constructor & Destructor Documentation

    IOPort::IOPort ( uint16_t  addr)
    inlineexplicit

    Constructor.

    Parameters
    addrAddress from the I/O address space

    Member Function Documentation

    void IOPort::outb ( uint8_t  val) const
    inline

    Write one byte to the I/O port.

    Parameters
    valThe value to be written
    void IOPort::outw ( uint16_t  val) const
    inline

    Write one word (2 bytes) to the I/O port.

    Parameters
    valThe value to be written
    uint8_t IOPort::inb ( ) const
    inline

    Read one byte from the I/O port.

    Returns
    Read byte
    uint16_t IOPort::inw ( ) const
    inline

    Read one word (2 bytes) from the I/O port.

    Returns
    Read word (2 bytes)

    The documentation for this class was generated from the following file:
    • machine/ioport.h
    Friedrich-Alexander-Universität
    Erlangen-Nürnberg

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