Ghost Kernel

PCI device scanning, introducing 'kernquery' 2016/03/11, 21:55:25

Working on PCI, needed for using the ATA controller. One of the next bigger goals is hard drive support. PCI busses are now being scanned and the kernel stores information for all existing devices for later use.

I added interface named kernquery to the kernel. There are a lot of places in the system where various information from the kernel is needed. Creating a syscall for each one felt too bloaty, so I decided to add a kind of sub-interface that can be extended more easy and isn't that strict. It will be used for loading process information, process lists, get PCI device information and more.

Also implemented a small utility program kern which uses the new kernquery interface to print information. Here's a fancy listing of the PCI devices in the system:

(The little smiley on the bottom right is a bug lol)


Write a comment...
  • Eramymn 2022/10/06, 13:46:25

    A review of SAMe in major depression found limited evidence of efficacy to support its use as a monotherapy or as augmentation with other antidepressants; the authors were optimistic, but recognized that studies were of insufficient methodological quality <a href=>torsemide vs lasix</a> Banks lent like there was no tomorrow, especially to each other

  • Vemmootte 2022/09/12, 14:44:26

    <a href=>hcg clomid and nolvadex pct</a>

  • Ayan Agrawal 2016/03/22, 07:08:46

    That table looks awesome. That little smiley :D lol

    • Max 2016/03/22, 15:30:45

      Thanks haha! :D I fixed that smiley, it was a bug in the stdio buffering :P