From 1494153d8a4cb4ebe245edff0ff5b6f1b6d7c080 Mon Sep 17 00:00:00 2001 From: Al Stone Date: Wed, 7 Oct 2020 14:23:25 -0600 Subject: [PATCH] Separate out the profile section from original document The very first draft of the spec contained a section called "Profiles." This change moves that content to an individual file. This is a structural change only. All content remains the same. It is unclear where the content in this file will eventually end up. The outline of the spec is certain to change and how the content here gets used is still to be determined. Signed-off-by: Al Stone --- Makefile | 2 +- profiles.adoc | 13 +++++++++++++ riscv-platform-spec.adoc | 8 +++----- 3 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 profiles.adoc diff --git a/Makefile b/Makefile index d3d3ce7..de5e0b0 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ ASCIIDOCTOR = asciidoctor PLATFORM_SPEC = riscv-platform-spec PANDOC = pandoc PARTS = changelog.adoc contributors.adoc introduction.adoc licensing.adoc \ - supervisor-level.adoc user-level.adoc + profiles.adoc supervisor-level.adoc user-level.adoc # Build the platform spec in several formats all: $(PLATFORM_SPEC).md $(PLATFORM_SPEC).pdf $(PLATFORM_SPEC).html diff --git a/profiles.adoc b/profiles.adoc new file mode 100644 index 0000000..daae58a --- /dev/null +++ b/profiles.adoc @@ -0,0 +1,13 @@ +// SPDX-License-Indentifer: CC-BY-4.0 +// +// profiles.adoc: original Profiles content +// +// This is material from the very first draft of the spec. +// + +## Profiles + +### Portable UNIX Platform Profile + +* Supervisor-mode environments must implement RV64GC. + diff --git a/riscv-platform-spec.adoc b/riscv-platform-spec.adoc index da43234..e223e65 100644 --- a/riscv-platform-spec.adoc +++ b/riscv-platform-spec.adoc @@ -33,13 +33,11 @@ include::user-level.adoc[] include::supervisor-level.adoc[] // Machine-Level Platform (NB: content from very first version) +// This is the only line in that original content. ## Machine-Level Platform -## Profiles - -### Portable UNIX Platform Profile - -* Supervisor-mode environments must implement RV64GC. +// Profiles: (NB: content from very first version) +include::profiles.adoc[] // acknowledge all of the contributors include::contributors.adoc[]