summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
48 hourscmd: hush: Ignore input if buffer is emptyIan Moffett
Do not try to test the input against anything if there is no input to test against. Signed-off-by: Ian Moffett <ian@osmora.org>
2 dayskern: ahci: Add cmdslot allocation + identifyIan Moffett
Implements command slot allocation, command submission and the ATA identify command Signed-off-by: Ian Moffett <ian@osmora.org>
2 dayskern: ahci: Allocate raw physical memoryIan Moffett
No need to overcomplicate things for now, just use a simple vm_alloc_frame() for DMA allocations Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: proc: Add NULL check for envblkIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: os: Remove extra newlineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern/amd64: Init LAPIC before PCI bus driverIan Moffett
A lot of PCI(e) devices rely in MSI-X which pokes the Local APIC via MMIO, we'll want the LAPIC up before PCI(e) Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayscmd: Add initial 'fetch' commandIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayscmd: hush: Wait for commands to finishIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayslibc: Add SYS_wait syscall interfaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: proc: Add initial waitpid() syscallIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: proc: Implement process sleeping and wakingIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: proc: Use seperate queue link for lookupsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern/amd64: Try to continue if no proc on switchIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern/amd64: Set RBP when kicking processesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: pci: Parse PCI capability list per deviceIan Moffett
This allows us to see what kind of capabilities the device has (e.g., MSI/MSI-X) Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: init: Turn off console logs before userlandIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskern/amd64: reboot: Add Intel PCH RST_CNT methodIan Moffett
Introduces support for platform reset via the RST_CNT control register on Intel chipsets that support it. Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskern/amd64: reboot: Add I8042_REBOOT optionIan Moffett
Adds I8042_REBOOT config option for the AMD64 port as a workaround against certain hardware that doesn't support the i8042 reset Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskern/amd64: cpu: Get processor family IDIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskern/amd64: Identify processor vendor in mdcoreIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayscmd: hush: Add initial program spawningIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayscmd: Add reboot commandIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskern: reboot: Add reboot system callIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskern/amd64: Add reboot functionIan Moffett
Add a function that reboots the system by attempting the softest method and incrementally becoming forceful if previous methods fail Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayslibc: stdio: Add snprintf() declIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskern: xhci: Allocate and init command ring / CRCRIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskern: xhci: Add NULL check to xhci_init_dcbaap()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskern: ahci: Enable PCI MMIO and bus masteringIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: xhci: Add module creditIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: xhci: Initialize the DCBAAP register on initIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: vm: Add BYTES_TO_PAGES helper macroIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: pci: Initialize PCI bus mastering + MMIOIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: xhci: Fixup xHCI opregs field sizesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: usb: Extract HCSPARAMS1 register fieldsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: usb: Poll USBSTS.CNR after resetIan Moffett
The host needs to wait for the controller to be ready by polling the CNR bit as per section 4.2 of the spec Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: xhci: Comment USBCMD bitsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: xhci: Implement controller hard resetIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: io: Add initial xHCI skeletonIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern/amd64: pci: Handle 64-bit BAR addressesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern/amd64: bus: Use higher half VA for MMIOIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: pci: Support lookups via programming ifaceIan Moffett
Introduce programming interface based lookups for devices with different kinds of interfaces Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: pci: Get programming interface from deviceIan Moffett
Some devices are identified by very specific programming interfaces, therefore this is important to have. Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: pci: Use LU types instead of classrev fieldIan Moffett
Instead of using bitfields to say which kind identification we are doing, it is a better idea to just use the lookup type directly as it is more scalable Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: proc: Remove redundant flag setIan Moffett
The PROC_EXITING flag is already set within the MI layer of the process management core Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: proc: Add process lookups by PIDIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: mac: Document the MAC border tableIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: Bump version up to v0.0.4Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayslibc: stdio: Add vsnprintf() and printf() implIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayslibc: string: Add itoa() implementationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern/amd64: proc: Mark process as exiting on killIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>