summaryrefslogtreecommitdiff
path: root/platforms/riscv.yaml
blob: ec9ecd774e0b397b82019cfae062d3f6406e6de4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
- match:
    cpu: rv32imac
  
  cflags:
    - -march=rv32imac
    - -mabi=ilp32
    - -msmall-data-limit=0
  
  interrupt:
    exception:
      0: InstructionMisaligned
      1: InstructionFault
      2: IllegalInstruction
      3: Breakpoint
      4: LoadMisaligned
      5: LoadFault
      6: StoreMisaligned
      7: StoreFault
      8: ECall_U
      9: ECall_S
      11: ECall_M
      12: InstructionPageFault
      13: LoadPageFault
      15: StorePageFault

    internal:
      0: USI
      1: SSI
      3: MSI
      4: UTI
      5: STI
      7: MTI
      8: UEI
      9: SEI
      11: MEI
  
  toolchains:
    - riscv64-unknown-elf