summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
35 hourskernel/aarch64: frame: Remove extra whitespaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
36 hourskernel/aarch64: Remove stray alignment directiveIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
37 hourskernel/aarch64: Implement initial vector stubsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
37 hourskernel/aarch64: Add intr_register() stubIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
42 hourskernel/aarch64: Make stubs up to dateIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
42 hourskernel/aarch64: cdefs: Make halt macro properIan Moffett
- md_halt() -> md_hlt() - Pass dummy operand Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: time: Introduce SYS_sleepIan Moffett
Add SYS_sleep to put a thread to sleep for some time through a timespec Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: Introduce timespec structIan Moffett
- Introduce timespec structure for nanosecond/second precision Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: Remove deprecated func declarationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: netinet: Implement ARP reply logicIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: netinet: Simply memcpy ether_saddrIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: rtl: Fix up includes and remove "TODO"Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: net: Implement IEEE 802.3 + ARP requestsIan Moffett
Introduce IEEE 802.3 related headers such as ones containing the structure of an ethernet frame as well as its types. This commit additionally introduces ARP request logic. Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: Add sys/endian.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: rtl: Expose NIC properly through if_var.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: rtl: Remove TODO comment (completed)Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskernel: rtl: Implement packet TXIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: ahci: Wait until ready before any I/OIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: ahci: Don't zero allocated PAs anymoreIan Moffett
This is no longer needed as the Hyra PMM now does this automatically by default. Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: Prevent physmem clobbers + zero memoryIan Moffett
To prevent a situation where there is a data race between one thread freeing physical memory and one allocating physical memory. Do not immediately reuse freed physical memory. Instead, keep allocating upwards and once there is no more room, wrap the last_idx back to the bitmap free index. We now also zero allocated physical memory for security reasons. Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: physmem: Make globals staticIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: cons: Clear entire screen on demandIan Moffett
- Flush the entire output buffer - Wipe the whole screen with "bg" - The entire console will now be cleared when a "\033[H" sequence is encountered Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: spawn: Add argv + stub envp argumentsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: initramfs: Ensure n->size <= sio->lenIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: Only free thread data on exitIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: exit: Don't use thread data on exitIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel/amd64: Return stack top after stack initIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: elf: Ensure loadmap is zeroredIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: pci: Add support for PCI ExpressIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: lib: Reset pad_width to 0 in vsnprintf()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: pci: Add 'cam_hook' structure for PCI I/OIan Moffett
This change improves flexibility and allows for easy future integration of the PCI Express Enhanced Configuration Access Mechanism (ECAM) Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: Deprecate kern_instl for /usr/sbin/installIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: ahci: Return length in sata_dev_rw()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: syscall: Add SYS_lseekIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: filedesc: Add fd_seek() as kernel lseek()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: filedesc: Add _KERNEL guardIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: ahci: Fix issue of undetectable devicesIan Moffett
- Only check PxSCTL.SET within the port reset logic - Do not create device file for ATAPI devices (yet) Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: ahci: Improve port reset logicIan Moffett
- Set PxCMD.SUD if the HBA supports staggered spin-up to ensure the device will be detectable. - Wait for the device link to be established - Detect and log SATA link speed Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskernel/amd64: bus: Make MMIO_OFFSET same as HDDMIan Moffett
Drivers may be invoked even while other processes are start up and therefore their MMIO mappings must be shared. Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskernel: cons: Make ANSI_BLUE a darker shadeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskernel/amd64: Flush TLB per cache attr updateIan Moffett
- Use pmap_update_tbl() to ensure that the TLB is flushed when caching attributes are updated. Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskernel: vfs: Add SYS_access syscallIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskernel: vfs: Release vnode in vfs_dostat()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskernel: vfs: Use pathbuf in vfs_dostat()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskernel: vfs: Remove unused includeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskernel: spawn: Wait on both PROC_SLEEP + PROC_ZOMBIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskernel: spawn: Set PROC_WAITED before td enqueueIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskernel: exit: Ensure PROC_WAITED is unset on exitIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 daysusr: libc: Add stat() in sys/stat.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskernel: physmem: Only set bits if memory is foundIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>