Changeset a4bd537 in mainline for kernel/doc/doxygroups.h


Ignore:
Timestamp:
2019-04-06T13:39:58Z (6 years ago)
Author:
Petr Pavlu <setup@…>
Children:
f7842ef
Parents:
0d073b8
git-author:
Petr Pavlu <setup@…> (2019-03-31 14:09:57)
git-committer:
Petr Pavlu <setup@…> (2019-04-06 13:39:58)
Message:

arm64: Add support for the architecture

This changeset adds basic support to run HelenOS on AArch64, targeting
the QEMU virt platform.

Boot:

  • Boot relies on the EDK II firmware, GRUB2 for EFI and the HelenOS bootloader (UEFI application). EDK II loads GRUB2 from a CD, GRUB2 loads the HelenOS bootloader (via UEFI) which loads OS components.
  • UEFI applications use the PE/COFF format and must be relocatable. The first problem is solved by manually having the PE/COFF headers and tables written in assembler. The relocatable requirement is addressed by compiling the code with -fpic and having the bootloader relocate itself at its startup.

Kernel:

  • Kernel code for AArch64 consists mostly of stubbing out various architecture-specific hooks: virtual memory management, interrupt and exception handling, context switching (including FPU lazy switching), support for virtual timer, atomic sequences and barriers, cache and TLB maintenance, thread and process initialization.
  • The patch adds a kernel driver for GICv2 (interrupt controller).
  • The PL011 kernel driver is extended to allow userspace to take ownership of the console.
  • The current code is not able to dynamically obtain information about available devices on the underlying machine. The port instead implements a machine-func interface similar to the one implemented by arm32. It defines a machine for the QEMU AArch64 virt platform. The configuration (device addresses and IRQ numbers) is then baked into the machine definition.

User space:

  • Uspace code for AArch64 similarly mostly implements architecture-specific hooks: context saving/restoring, syscall support, TLS support.

The patchset allows to boot the system but user interaction with the OS
is not yet possible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/doc/doxygroups.h

    r0d073b8 ra4bd537  
    4747
    4848/**
     49 *     @cond arm64
     50 *     @defgroup kernel_arm64_proc arm64
     51 *     @ingroup proc
     52 *     @endcond
     53 */
     54
     55/**
    4956 *     @cond ia32
    5057 *     @defgroup kernel_ia32_proc ia32
     
    123130 *     @cond arm32
    124131 *     @defgroup kernel_arm32_mm arm32
     132 *     @ingroup mm
     133 *     @endcond
     134 */
     135
     136/**
     137 *     @cond arm64
     138 *     @defgroup kernel_arm64_mm arm64
    125139 *     @ingroup mm
    126140 *     @endcond
     
    209223
    210224/**
     225 *     @cond arm64
     226 *     @defgroup kernel_arm64_ddi arm64
     227 *     @ingroup ddi
     228 *     @endcond
     229 */
     230
     231/**
    211232 *     @cond ia32
    212233 *     @defgroup kernel_ia32_ddi ia32
     
    281302
    282303/**
     304 *     @cond arm64
     305 *     @defgroup kernel_arm64_debug arm64
     306 *     @ingroup debug
     307 *     @endcond
     308 */
     309
     310/**
    283311 *     @cond ia32
    284312 *     @defgroup kernel_amd64_debug ia32/amd64
     
    352380
    353381/**
     382 *     @cond arm64
     383 *     @defgroup kernel_arm64_interrupt arm64
     384 *     @ingroup interrupt
     385 *     @endcond
     386 */
     387
     388/**
    354389 *     @cond ia32
    355390 *     @defgroup kernel_ia32_interrupt ia32
     
    429464
    430465/**
     466 *     @cond arm64
     467 *     @defgroup kernel_arm64 arm64
     468 *     @ingroup others
     469 *     @endcond
     470 */
     471
     472/**
    431473 *     @cond ia32
    432474 *     @defgroup kernel_ia32 ia32
Note: See TracChangeset for help on using the changeset viewer.