Page MenuHomePhabricator

Arch: CPU architecture specific implementation
Open, Needs TriagePublic

Description

[Draft proposal, subject to discussions]

Source hierarchy:
arch/ -- [Note: at this stage no hierarchical distinction required between various cortex-m architectures, arch version specifics to be be managed by #defines.
plat/include/ -- contains API prototypes that platform must implement. more details in another ticket.

Abstract assembly instructions to -
arch/interrupt.S (architecture specific assembly code for interrupt handling)
arch/include/*.h -- exports architecture specific implementations through uniform interface definition.
arch/svc.S (arch specific svc handling)
arch/mpu.c (weak functions that implement Arm MPUs, can be overridden by platform)
arch/tz.c/s - weak binding to veneer functions (only for v8m) that can be overridden by platform implementation.

Event Timeline

ashutoshksingh renamed this task from Arch: Assembly code abstraction to Arch: CPU architecture specific implementation.Jan 31 2019, 2:28 PM
ashutoshksingh updated the task description. (Show Details)
davidhuziji moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Feb 25 2019, 1:58 AM
davidhuziji moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 19 2019, 3:02 AM
davidhuziji moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
davidhuziji moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.May 28 2019, 10:07 AM
davidhuziji moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jul 6 2019, 8:16 AM