diff options
author | Andrew Waterman <andrew@sifive.com> | 2020-01-13 12:14:04 -0800 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2020-01-13 12:14:04 -0800 |
commit | 6fa3555cc501ab1dfb034061e991e065e2e54253 (patch) | |
tree | 05c9e0209dd5fb26383f453fdb38bccba5218852 /pk | |
parent | 77a5df569451571d608650a34183d53df99790ec (diff) | |
download | pk-6fa3555cc501ab1dfb034061e991e065e2e54253.zip pk-6fa3555cc501ab1dfb034061e991e065e2e54253.tar.gz pk-6fa3555cc501ab1dfb034061e991e065e2e54253.tar.bz2 |
Enable vector unit if present (continuation of 77a5df569451571d608650a34183d53df99790ec)
Diffstat (limited to 'pk')
-rw-r--r-- | pk/pk.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -187,7 +187,7 @@ void boot_loader(uintptr_t dtb) write_csr(stvec, &trap_entry); write_csr(sscratch, 0); write_csr(sie, 0); - set_csr(sstatus, SSTATUS_SUM | SSTATUS_FS); + set_csr(sstatus, SSTATUS_SUM | SSTATUS_FS | SSTATUS_VS); file_init(); enter_supervisor_mode(rest_of_boot_loader, pk_vm_init(), 0); |