Skip to content
Snippets Groups Projects
  1. Sep 06, 2018
    • Lioncash's avatar
      core/core: Remove unnecessary sm/controller include · 56ab6080
      Lioncash authored
      The only reason this include was necessary, was because the constructor
      wasn't defaulted in the cpp file and the compiler would inline it
      wherever it was used. However, given Controller is forward declared, all
      those inlined constructors would see an incomplete type, causing a
      compilation failure. So, we just place the constructor in the cpp file,
      where it can see the complete type definition, allowing us to remove
      this include.
      56ab6080
  2. Aug 29, 2018
    • Lioncash's avatar
      kernel: Eliminate kernel global state · 0cbcd6ec
      Lioncash authored
      As means to pave the way for getting rid of global state within core,
      This eliminates kernel global state by removing all globals. Instead
      this introduces a KernelCore class which acts as a kernel instance. This
      instance lives in the System class, which keeps its lifetime contained
      to the lifetime of the System class.
      
      This also forces the kernel types to actually interact with the main
      kernel instance itself instead of having transient kernel state placed
      all over several translation units, keeping everything together. It also
      has a nice consequence of making dependencies much more explicit.
      
      This also makes our initialization a tad bit more correct. Previously we
      were creating a kernel process before the actual kernel was initialized,
      which doesn't really make much sense.
      
      The KernelCore class itself follows the PImpl idiom, which allows
      keeping all the implementation details sealed away from everything else,
      which forces the use of the exposed API and allows us to avoid any
      unnecessary inclusions within the main kernel header.
      0cbcd6ec
  3. Jul 03, 2018
  4. May 02, 2018
  5. Apr 24, 2018
  6. Apr 20, 2018
  7. Feb 05, 2018
  8. Jan 25, 2018
  9. Jan 20, 2018
  10. Jan 13, 2018
  11. Jan 07, 2018
  12. Dec 28, 2017
  13. Oct 15, 2017
  14. Sep 24, 2017
  15. Jun 09, 2017
  16. Jun 06, 2017
Loading