Skip to content

Commit 0632dbb

Browse files
In process of adding processor_kind to portfolios. Needed so I can include RVB23 in comparisons with RVA releases.
1 parent 0568bfd commit 0632dbb

File tree

19 files changed

+53
-15
lines changed

19 files changed

+53
-15
lines changed

arch/certificate_class/MC.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
$schema: cert_class_schema.json#
44
kind: Processor CRD
5+
processor_kind: Microcontroller
56
name: MC
67
long_name: Microcontroller Class CRD
78

arch/certificate_class/MockCertificateClass.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
$schema: cert_class_schema.json#
44
kind: Processor CRD
5+
processor_kind: Apps Processor
56
name: MockCertificateClass
67
long_name: Mock Certificate Class Long Name
78

arch/profile_class/MockProfileClass.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
$schema: profile_class_schema.json#
22
kind: profile class
3+
processor_kind: Microcontroller
34
name: MockProfileClass
45
marketing_name: Mock Profile Class
56
introduction: Here's the Mock Profile Class introduction.

arch/profile_class/RVA.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
$schema: profile_class_schema.json#
44
kind: profile class
5+
processor_kind: Apps Processor
56
name: RVA
67
marketing_name: RVA
78
introduction: |

arch/profile_class/RVB.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
$schema: profile_class_schema.json#
22
kind: profile class
3+
processor_kind: Apps Processor
34
name: RVB
45
marketing_name: RVB
56
introduction: |

arch/profile_class/RVI.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
$schema: profile_class_schema.json#
22
kind: profile class
3+
processor_kind: Generic Unprivileged
34
name: RVI
45
marketing_name: RVI
56
introduction: The RVI profile class documents the initial set of unprivileged instructions.

backends/profile_doc/templates/profile.adoc.erb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,20 @@ associated implementation-defined parameters.
403403
[appendix]
404404
== Profile Comparisons
405405
406+
=== Processor Kind Comparison
407+
408+
The <%= profile_class.processor_kind %> processor kind has <%= profile_class.profile_releases.filter_processor_kind.size %> processor
409+
profile releases that reference a total of <%= profile_class.filter_processor_kind.referenced_extensions.size %> extensions.
410+
411+
.Extension Presence
412+
|===
413+
| Extension | <%= profile_class.profile_releases.filter_processor_kind.map(&:marketing_name).join(" | ") %>
414+
415+
<% profile_class.filter_processor_kind.referenced_extensions.sort_by(&:name).each do |ext| -%>
416+
| <%= ext.name %> | <%= profile_class.profile_releases.filter_processor_kind.map { |profile_release| profile_release.extension_presence(ext.name) }.join(" | ") %>
417+
<% end -%>
418+
|===
419+
406420
=== Release Comparison
407421
408422
The <%= profile_class.marketing_name %> Profile Class has <%= profile_class.profile_releases.size %> releases that

lib/arch_obj_models/csr.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require_relative "obj"
44

55
# CSR definition
6-
class Csr < DatabaseObjectect
6+
class Csr < DatabaseObject
77
def ==(other)
88
if other.is_a?(Csr)
99
name == other.name

lib/arch_obj_models/csr_field.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
require_relative "../idl/passes/gen_option_adoc"
66

77
# A CSR field object
8-
class CsrField < DatabaseObjectect
8+
class CsrField < DatabaseObject
99
# @return [Csr] The Csr that defines this field
1010
attr_reader :parent
1111

lib/arch_obj_models/extension.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def initialize(param, value)
125125
end
126126

127127
# Extension definition
128-
class Extension < DatabaseObjectect
128+
class Extension < DatabaseObject
129129
# @return [ConfiguredArchitecture] The architecture defintion
130130
attr_reader :cfg_arch
131131

0 commit comments

Comments
 (0)