aboutsummaryrefslogtreecommitdiff
path: root/bbl/payload.S
blob: b6797aa037df90d35c3284d7a2b937a724e71c61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "config.h"
#include "encoding.h"

  .section ".payload","a",@progbits

#if RELAXED_ALIGNMENT
  /* align payload minimally */
  .align 3
#else
  /* align payload to megapage */
  .align RISCV_PGSHIFT + RISCV_PGLEVEL_BITS
#endif

  .globl _payload_start, _payload_end
_payload_start:
  .incbin BBL_PAYLOAD
_payload_end: