mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 06:07:52 -04:00
[sw] minor edits
This commit is contained in:
parent
94caf24807
commit
a15b45b0b2
2 changed files with 4 additions and 5 deletions
|
@ -3,7 +3,7 @@
|
|||
// # ********************************************************************************************* #
|
||||
// # BSD 3-Clause License #
|
||||
// # #
|
||||
// # Copyright (c) 2022, Stephan Nolting. All rights reserved. #
|
||||
// # Copyright (c) 2023, Stephan Nolting. All rights reserved. #
|
||||
// # #
|
||||
// # Redistribution and use in source and binary forms, with or without modification, are #
|
||||
// # permitted provided that the following conditions are met: #
|
||||
|
@ -1539,7 +1539,6 @@ int main() {
|
|||
|
||||
// clear mstatus.TW to allow execution of WFI also in user-mode
|
||||
// clear mstatus.MIE and mstatus.MPIE to check if IRQ can still trigger in User-mode
|
||||
// clear mstatus.TW to allow execution of WFI also in user-mode
|
||||
tmp_a = neorv32_cpu_csr_read(CSR_MSTATUS);
|
||||
tmp_a &= ~((1<<CSR_MSTATUS_TW) | (1<<CSR_MSTATUS_MIE) | (1<<CSR_MSTATUS_MPIE));
|
||||
neorv32_cpu_csr_write(CSR_MSTATUS, tmp_a);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// # ********************************************************************************************* #
|
||||
// # BSD 3-Clause License #
|
||||
// # #
|
||||
// # Copyright (c) 2022, Stephan Nolting. All rights reserved. #
|
||||
// # Copyright (c) 2023, Stephan Nolting. All rights reserved. #
|
||||
// # #
|
||||
// # Redistribution and use in source and binary forms, with or without modification, are #
|
||||
// # permitted provided that the following conditions are met: #
|
||||
|
@ -627,7 +627,7 @@ void neorv32_rte_print_credits(void) {
|
|||
}
|
||||
|
||||
neorv32_uart0_puts("The NEORV32 RISC-V Processor, github.com/stnolting/neorv32\n"
|
||||
"(c) 2022 by Dipl.-Ing. Stephan Nolting, BSD 3-Clause License\n\n");
|
||||
"(c) 2023 by Dipl.-Ing. Stephan Nolting, BSD 3-Clause License\n\n");
|
||||
}
|
||||
|
||||
|
||||
|
@ -687,7 +687,7 @@ void neorv32_rte_print_license(void) {
|
|||
"\n"
|
||||
"BSD 3-Clause License\n"
|
||||
"\n"
|
||||
"Copyright (c) 2022, Stephan Nolting. All rights reserved.\n"
|
||||
"Copyright (c) 2023, Stephan Nolting. All rights reserved.\n"
|
||||
"\n"
|
||||
"Redistribution and use in source and binary forms, with or without modification, are\n"
|
||||
"permitted provided that the following conditions are met:\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue