Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-03-17 | Kernel: Refactor storage stack with u64 as block index | Jean-Baptiste Boric | |
2021-03-17 | Kernel: Refactor storage stack with u64 as number of blocks | Jean-Baptiste Boric | |
2021-03-17 | Kernel: Rationalize logs inside Ext2Fs | Jean-Baptiste Boric | |
2021-03-16 | Kernel: sysconf(_SC_CLK_TCK): Use TimeManagement::ticks_per_second() | thatdutchguy | |
2021-03-16 | Kernel: Add _SC_CLK_TCK to sysconf. | thatdutchguy | |
Unbreaks the hatari port. | |||
2021-03-15 | Kernel: Fix sys$select() not marking fd's after blocking was avoided | Andreas Kling | |
In case multiple file descriptors in the `fd_set` were already readable and/or writable when calling Thread::block<SelectBlocker>(), we would only mark the first fd in the output sets instead of all relevant fd's. The short-circuit code path when blocking isn't necessary must ensure that unblock flags are collected for all file descriptors, not just the first one encountered. Fixes #5795. | |||
2021-03-15 | Kernel/Storage: Add SATA error disambiguation | Luke | |
2021-03-15 | Kernel: Don't return -EFOO when return type is KResultOr<...> | Andreas Kling | |
2021-03-15 | Kernel: Return 0 to indicate EOF when reading from end-of-file of device | Liav A | |
If we happen to read with offset that is after the end of file of a device, return 0 to indicate EOF. If we return a negative value, userspace will think that something bad happened when it's really not the case. | |||
2021-03-15 | Kernel: Fix race conditions processing async device requests | Tom | |
2021-03-15 | Kernel: Fix race condition completing IDEChannel async request | Tom | |
2021-03-15 | Kernel: When writing to device node, use can_write for checking | Liav A | |
Instead of can_read which is wrong, use can_write. | |||
2021-03-13 | Kernel: Make munmap more posix compliant | Hendiadyoin1 | |
In case someone tries to unmap a not mapped region (fallback) we should not return an error, but silently do nothing | |||
2021-03-13 | Kernel: munmap multiple regions at a time | Hendiadyoin1 | |
This implements a fallback to munmap that unmaps multiple regions at a time, with splitting some when needed. The way it is implemented is possibly not optimal, due to it searching without looking into the cache | |||
2021-03-13 | Kernel: Implement helper to find multiple Regions in a Range | Hendiadyoin1 | |
2021-03-13 | Kernel: Add a Range::intersect(other) helper | Hendiadyoin1 | |
2021-03-13 | Kernel: Don't reset AHCI ports during boot unless requested | Liav A | |
Instead of blindly resetting every AHCI port, let's just reset only the controller by default. The user can still request to reset everything with a new kernel boot argument called ahci_reset_mode which is set by default to "controller", so the code will only invoke an HBA reset. This kernel boot argument can be set to 3 different values: 1. "controller" - reset the HBA and skip resetting AHCI ports 2. "none" - don't reset anything, so we rely on the firmware to initialize the AHCI HBA and ports for us. 3. "complete" - reset the AHCI HBA and ports. | |||
2021-03-13 | Kernel: Don't wait for AHCI port to reset the signature | Liav A | |
Instead of waiting for the AHCI HBA to reset the signature after SATA reset sequence, let's just check if the Port x Serial ATA Status register was set to value 3, indicating that device was detected and phy communication was established. | |||
2021-03-13 | Kernel: Change the timings when initiating AHCI port reset | Liav A | |
The intention is to make the boot to be faster, therefore we should decrease the time deltas in timeout loops to allow earlier break from these. Also, there's no need to wait 10 milliseconds before setting the interface state to "no action request" during the reset sequence. | |||
2021-03-13 | Kernel: Implement triply indirect block support in Ext2FSInode | Jean-Baptiste Boric | |
2021-03-13 | Kernel: Modify block lists in place for Ext2FSInode::resize() | Jean-Baptiste Boric | |
This significantly reduces the number of allocations/deallocations inside the kernel when growing files as well as reducing spam in the kernel logs. | |||
2021-03-12 | Kernel: Run clang-format on PIC.cpp | Andreas Kling | |
2021-03-12 | Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) | Andreas Kling | |
Good-bye LogStream. Long live AK::Format! | |||
2021-03-12 | Kernel: Fix rounding of PT_LOAD mappings in sys$execve() | Andreas Kling | |
We were not rounding the mappings down/up correctly, which could lead to executables missing the last 4 KB of text and/or data. | |||
2021-03-12 | Kernel: Convert klog() => AK::Format in UHCIController | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in SB16 | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in TestModule | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in a handful of places | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in InterruptManagement | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in Storage | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in PCI | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in IOAPIC | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in DMI | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in TimeManagement | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in SharedIRQHandler | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in MultiProcessorParser | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in StdLib | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in APIC | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in IDEChannel | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in DiskPartition | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in NetworkTask | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => dbgln() in BXVGADevice | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in PurgeablePageRanges | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in APICTimer | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in ACPI::Parser | Andreas Kling | |
2021-03-12 | Kernel: Convert klog() => AK::Format in RTL8139NetworkAdapter | Andreas Kling | |
2021-03-12 | Kernel: Remove debug spam in DevFS | Andreas Kling | |
2021-03-11 | Everywhere: Rename "logo" key to "super" key | Andreas Kling | |
This seems to be the most common way to refer to this key, so let's call it what people actually call it. | |||
2021-03-11 | Kernel: Suppress logging during kmalloc heap expansion | Andreas Kling | |
The system is extremely sensitive to heap allocations during heap expansion. This was causing frequent OOM panics under various loads. Work around the issue for now by putting the logging behind KMALLOC_DEBUG. Ideally dmesgln() & friends would not reqiure any heap allocations, but we're not there right now. Fixes #5724. | |||
2021-03-11 | Kernel: Always protect process data immediately after construction | Andreas Kling | |