1. 10 May, 2021 4 commits
  2. 09 May, 2021 6 commits
    • doot's avatar
      Changes: · 1c5dd6e4
      doot authored
      1. kvm.c
        add virtio-blk map
      1c5dd6e4
    • doot's avatar
      Changes: · 63ca1130
      doot authored
      1. Makefile
        add qemu options, to disable virtio-blk legacy
      
      2. virtio
        basic defs
      
      3. kustd
        fix memcpy and memmove
      63ca1130
    • ZonePG's avatar
      Changes: · 0db759fb
      ZonePG authored
      1. spinlock.c spinlock.h
        add spinlock
      2. earlylog.c earlylog.h
        add spinlock for printf
      3. main.c
        change muticore call printf for spinlock
      0db759fb
    • doot's avatar
      Changes: · 68162399
      doot authored
      1. CMakeLists.txt
        add QEMU and K210 macro which are passed to gcc
      
      2. Makefile
        add QEMU and K210 args passed to CMakeLists
      68162399
    • ZonePG's avatar
      Changes: · d8ead214
      ZonePG authored
      1. main.c sbi.h
        add muticore start
      
      2. gdbinit.py
        change display src and asm window
      d8ead214
    • doot's avatar
      Changes: · b236a066
      doot authored
      1. entry.s
        bug fix about stack address
      
      2. swtch.s
        add swtch funtion
      b236a066
  3. 08 May, 2021 3 commits
    • doot's avatar
      Changes: · 03a6e179
      doot authored
      1. riscv
        functions to read write set and clear specifed csr
      2. kvec
        kernel interrupt handler works now.
      3. timer interrupt
        it works now.
      03a6e179
    • doot's avatar
      Changes: · b5ecdfc4
      doot authored
      1. add ranged map and ranged unmap function.
      b5ecdfc4
    • doot's avatar
      Changes: · c70efa92
      doot authored
      1. change linker script for page mapping.
      2. add more bootinfo
      3. optimize style of extdef.h
      c70efa92
  4. 07 May, 2021 4 commits
    • doot's avatar
      Changes: · 9e824807
      doot authored
      1. vmem.h vmem.c
        works now, simple tested. (1GiB is not tested)
      
      2. pg.h
        add riscv sv39 paging related macro and defines.
      9e824807
    • doot's avatar
      Changes: · 7f9241d2
      doot authored
      1. add basic defs for riscv sv39 paging
      2. add more utils in utils.h
      7f9241d2
    • doot's avatar
      add a changelog · 59b5f92d
      doot authored
      59b5f92d
    • doot's avatar
      Changes: · a438b38c
      doot authored
      1. add interface: kmalloc() kfree(), to be consistent with linux
      2. remove some meaningless output in kmem_test()
      3. kmem_cache_destory() should work(not tested)
      a438b38c
  5. 06 May, 2021 5 commits
    • doot's avatar
      Changes: · 3cb3d303
      doot authored
      1. expose interface of kmem_cache
      2. add dev guide section on README.md
      3. kmem_shrink() and kmem_cache_shrink() works
      4. kmem_add() and kmem_del() works
      3cb3d303
    • doot's avatar
      Changes: · b7c05c89
      doot authored
      1. list
        bug fix in list_del
        rename list_empty() to list_is_empty() to be consistent with linux's
        list impl
      
      2. slab
        bug fix in slab_contain()
        slab_create() add new args 'adat' which is passed to buddy
      
      3. gdbinit.py, layout src
      
      4. kmem_free() and kmem_alloc() works.
        add manual test to kmem
      b7c05c89
    • doot's avatar
      Changes: · 42e42d5a
      doot authored
      1. Buddy allocator: add "used" field in buddy_block to indicate whether
         it is used, add check when do the free.
      2. Buddy allocator: add "adat"(additional data) field in buddy_block for
         future use.
      3. add a manual test for Buddy allocator.
      42e42d5a
    • doot's avatar
      add addtional data fileds in buddy allocator · 1125dae3
      doot authored
      1125dae3
    • doot's avatar
      Changes: · 62438f1e
      doot authored
      1. fix bug in buddy_debug_print()
      2. add kmem as a wrapper of slab
      3. slab almost works now
      4. add powerful list
      62438f1e
  6. 05 May, 2021 2 commits
    • doot's avatar
      Changes: · 390f0224
      doot authored
      1. make slab more flexible
      2. make pmem interface more clear
      390f0224
    • doot's avatar
      Changes: · a229462a
      doot authored
      1. Add simplifed slab allocator and simple test case(need human
         check...)
      2. typo fix.
      3. optimize constant position.
      a229462a
  7. 04 May, 2021 1 commit
  8. 03 May, 2021 1 commit
  9. 02 May, 2021 1 commit
    • doot's avatar
      Chages: · f3858581
      doot authored
      1. use file command to add source file instead of hard-coded in CMakeLists
      2. add a brand new buddy system, simple tested, it needs more test.
      3. fix bug in v_sprintf by adding a break.
      4. add a unified kernel panic macro "KERNEL_PANIC()"
      5. add a physical memory allocator abstruction layer, currently backed
         by buddy system.
      6. add some simple utils.
      f3858581
  10. 01 May, 2021 2 commits
  11. 29 Apr, 2021 1 commit
  12. 28 Apr, 2021 6 commits
  13. 27 Apr, 2021 4 commits