Skip to content
Snippets Groups Projects
  1. May 28, 2024
  2. May 22, 2024
  3. May 21, 2024
    • gback's avatar
      added ACPI support · e47c53bd
      gback authored
      This patch removes the xv6 code that reads that outdated
      Multiprocessor specification (MPP) tables which Qemu has been
      deprecating, and adds basic support for ACPI instead.
      We read the RSDT and MADT in particular to find out
      - local APIC base address
      - number of processors and the APIC id
      - I/O APIC base address and id
      
      The LAPIC and IOAPIC support files have been changes to use
      the information obtained.
      
      Tested with Qemu, Qemu/KVM, Bochs, and Bochs/SMP.
      Based on ACPI 6.3 from 2019.
      e47c53bd
  4. May 20, 2024
    • gback's avatar
      Support for more than 64MB of physical memory · 862c4541
      gback authored
      The changes to the boot loader were contributed by
      Jamie Whiting.  This patch also contains the following:
      
      - 2-level physical allocator
      - self tests for the allocator
      - reworking of virtual address space layout
      - no longer made boot page table user-accessible
      - various small fixes
        + fixed -ul= flag which previously didn't work
        + fixed -rs= flag
      862c4541
    • gback's avatar
      added strncmp · 268fc249
      gback authored
      268fc249
  5. May 17, 2024
  6. Mar 28, 2024
    • gback's avatar
      fixed self tests · 67800cbf
      gback authored
      These self tests were somehow lost when I merged Lance's
      original work.  This fix restores them so that 'make grade'
      in the self test directory works
      67800cbf
  7. Mar 04, 2024
  8. Jan 28, 2024
  9. Jan 20, 2024
    • gback's avatar
      better support for Bochs · d00936ea
      gback authored
      - See README.md for details.
      - made pintos able to run multiple bochs at the same time
      - tweaks to AP startup code
      d00936ea
  10. Jan 18, 2024
  11. Jan 17, 2024
  12. Jan 16, 2024
  13. Mar 25, 2022
  14. Mar 24, 2022
  15. Mar 09, 2022
  16. Jan 19, 2022
  17. Jan 18, 2022
  18. Apr 16, 2017
    • gback's avatar
      12d34ddd
    • gback's avatar
      removed deadlock in input_getc/serial_notify · 4b5de360
      gback authored
      we no longer hold the input and the serial txq spinlocks
      at the same time, avoiding deadlock.
      
      This is done by having the operation that operates on the input intq
      check its fullness status before relinquishing the lock, then passing
      it to serial_notify.
      
      Future improvement: check if IER_REG needs to be set atomically, or
      if it's possible to set individual bits. If so, then write_ier could be
      split, avoiding the awkwards checks whether the transmit is still possible
      if the receive state changed and vice versa.
      4b5de360
  19. Mar 30, 2017
  20. Mar 29, 2017
  21. Mar 09, 2017
  22. Mar 01, 2017
    • gback's avatar
      Implement TLB shootdown · 0907dd8d
      gback authored
      - also refactored ipi.c to not export functions related to other
        functional components.
      - TLB shootdown is done automatically in pagedir.c as needed.
      0907dd8d
  23. Feb 14, 2017
  24. Feb 09, 2017
Loading