Skip to content

Commit

Permalink
added description for RVMODEL_MTVEC_ALIGN
Browse files Browse the repository at this point in the history
Signed-off-by: Vaibhav Jain <[email protected]>
  • Loading branch information
Vaibhav Jain authored and Vaibhav Jain committed May 23, 2023
1 parent 062a390 commit f6e6b81
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/TestFormatSpec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ This document has been created by the following people (in alphabetical order of
|================================================================================
| _Revision_ | _Date_ | _Author_ | _Modification_

| 1.2.9 Draft | 23 May 2023 | Vaibhav Jain |
* Added description for RVMODEL_MTVEC_ALIGN macro under - Optional, Model-defined Macros Section

| 1.2.8 Draft | 16 December 2022 | S Pawan Kumar |
* Size constraint of signature region updated to multiple of 4.
* Added section to describe CondStr of RVTEST_CASE macro.
Expand Down Expand Up @@ -509,6 +512,13 @@ the test.
- Currently the test forces an empty macro if a target does not declare this. Future tests may
change this.

`RVMODEL_MTVEC_ALIGN`::
- This macro is to specify an integer number for a ".align" assembler directive related to trap handler's
start address. This is based on alignment restriction, if any, as dictated by an implementation specific MTVEC.
- Currently the resulting default value for corresponding .align directive, if a target does not declare
this macro is 6. Thus resulting in ".align 6" as directive for trap handler start address, or a 64-byte
aligned location. Future tests may change this.

=== Required labels

The test must define a `rvtest_entry_point` label to indicate the location to be used by the linker
Expand Down

0 comments on commit f6e6b81

Please sign in to comment.