1. May 24, 2023
  2. May 18, 2023
  3. Feb 19, 2022
    • Ian Chen's avatar
      Merge pull request #16 from x653/patch-1 · 0d486499
      Ian Chen authored
      Update os.c
      0d486499
    • x653's avatar
      Update os.c · 62810c1a
      x653 authored
      Hey there,
      I implemented risc-v in fpga and try to port your mini-os to my fpga.
      02_ContextSwitch did not work correctly, because the stackpointer is not word alligned after context switch.
      Changing uint8_t to word size (32 bit) solved the problem, because &task0_stack[STACK_SIZE-1] should be the last word of the stack, instead of the last byte of the stack.
      Some hardware may ignore the two least significant bits of address when accessing a 32 bit word.
      So uint8_t might work also.
      62810c1a
  4. Nov 09, 2021
  5. Nov 01, 2021
  6. Sep 12, 2021
  7. Sep 08, 2021
  8. Aug 11, 2021
  9. Aug 09, 2021
  10. Aug 08, 2021
  11. Aug 07, 2021
  12. Aug 06, 2021
  13. Jul 01, 2021
  14. Jun 28, 2021
  15. Jun 24, 2021
  16. Jun 21, 2021
  17. Jun 20, 2021