Liav A
a93dc8c8c9
Kernel: Don't wait for AHCI port to reset the signature
...
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 09:52:31 +01:00
Liav A
2929dc6bd7
Kernel: Change the timings when initiating AHCI port reset
...
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 09:52:31 +01:00
Jean-Baptiste Boric
800dca3834
Kernel: Implement triply indirect block support in Ext2FSInode
2021-03-13 09:27:18 +01:00
Jean-Baptiste Boric
facd18113b
Kernel: Modify block lists in place for Ext2FSInode::resize()
...
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-13 09:27:18 +01:00
Jean-Baptiste Boric
56ecb55d9f
Userland: Create stress-truncate test program
2021-03-13 09:27:18 +01:00
Linus Groh
89602c6fc0
Meta: Support 'serenity.sh gdb lagom'
2021-03-12 21:27:09 +01:00
Linus Groh
eb5b2b4b4f
Lagom: Add 'test' command to serenity.sh
2021-03-12 21:27:09 +01:00
Linus Groh
04fc4a8134
Meta: Make 'serenity.sh run lagom' run Lagom executables
...
Running the tests will be moved to a separate test command which can
then leverage the availability of different targets and run either unit
tests on the host or the image in QEMU in self-test mode. :^)
2021-03-12 21:27:09 +01:00
Linus Groh
1c85ce0324
Meta: Don't depend on toolchain for lagom target in serenity.sh
...
- Only call ensure_toolchain for non-lagom targets
- Use host addr2line, we can't expect the i686 toolchain's addr2line to
support the host's binary executable format
- Don't export SERENITY_ARCH and TOOLCHAIN_DIR, don't need them anymore
2021-03-12 21:27:09 +01:00
Linus Groh
cab2982feb
Meta: Add lagom_unsupported helper function to serenity.sh
2021-03-12 21:27:09 +01:00
Linus Groh
2d8362cceb
LibJS: Implement 'Relative Indexing Method' proposal (.at())
...
Still stage 3, but already implemented in major engines and unlikely to
change - there isn't much to change here anyway. :^)
See:
- https://github.com/tc39/proposal-relative-indexing-method
- https://tc39.es/proposal-relative-indexing-method/
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at
2021-03-12 19:01:08 +01:00
Andreas Kling
9769542bc2
FuzzilliJs: Add missing <errno.h> include
2021-03-12 17:43:48 +01:00
Andreas Kling
f086d6db65
Kernel: Run clang-format on PIC.cpp
2021-03-12 17:38:49 +01:00
Andreas Kling
d3f112f9a2
AK+LibCore: Remove empty files
2021-03-12 17:38:17 +01:00
Andreas Kling
ef1e5db1d0
Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)
...
Good-bye LogStream. Long live AK::Format!
2021-03-12 17:29:37 +01:00
Andreas Kling
423ed53396
Kernel: Fix rounding of PT_LOAD mappings in sys$execve()
...
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 17:26:24 +01:00
Andreas Kling
4c7f486f39
Kernel: Convert klog() => AK::Format in UHCIController
2021-03-12 15:22:35 +01:00
Andreas Kling
f432f104fc
Kernel: Convert klog() => AK::Format in SB16
2021-03-12 15:22:35 +01:00
Andreas Kling
18e1d246b7
Kernel: Convert klog() => AK::Format in TestModule
2021-03-12 15:22:35 +01:00
Andreas Kling
73e06a1983
Kernel: Convert klog() => AK::Format in a handful of places
2021-03-12 15:22:35 +01:00
Andreas Kling
ad2f95e35a
Kernel: Convert klog() => AK::Format in InterruptManagement
2021-03-12 15:22:35 +01:00
Andreas Kling
8a7fe86ee0
Kernel: Convert klog() => AK::Format in Storage
2021-03-12 15:22:35 +01:00
Andreas Kling
feda905c3f
Kernel: Convert klog() => AK::Format in PCI
2021-03-12 15:22:35 +01:00
Andreas Kling
df65c8f2eb
Kernel: Convert klog() => AK::Format in IOAPIC
2021-03-12 15:22:34 +01:00
Andreas Kling
a1f37ebcb8
Kernel: Convert klog() => AK::Format in DMI
2021-03-12 15:22:34 +01:00
Andreas Kling
77b8865538
Kernel: Convert klog() => AK::Format in TimeManagement
2021-03-12 15:22:34 +01:00
Andreas Kling
c7160400d7
Kernel: Convert klog() => AK::Format in SharedIRQHandler
2021-03-12 15:22:34 +01:00
Andreas Kling
8fc3f710b3
Kernel: Convert klog() => AK::Format in MultiProcessorParser
2021-03-12 15:22:34 +01:00
Brendan Coles
8c0723960b
QuickShow: Replace posix_spawn with LibDesktop::Launcher
...
When multiple images are dragged and dropped onto the image widget,
QuickShow will use LibDesktop::Launcher to launch a new instance
of QuickShow for each item, rather than spawn a child QuickShow
process for each item with posix_spawn.
This allows `proc` and `exec` pledges to be removed :^)
2021-03-12 15:22:12 +01:00
Andreas Kling
612a5225fa
Kernel: Convert klog() => AK::Format in StdLib
2021-03-12 12:28:27 +01:00
Andreas Kling
a8fcdb8314
Kernel: Convert klog() => AK::Format in APIC
2021-03-12 12:24:08 +01:00
Andreas Kling
6bfba0f576
Kernel: Convert klog() => AK::Format in IDEChannel
2021-03-12 12:16:06 +01:00
Andreas Kling
8b0ebe3e30
Kernel: Convert klog() => AK::Format in DiskPartition
2021-03-12 12:12:00 +01:00
Andreas Kling
f9aace29ec
Kernel: Convert klog() => AK::Format in NetworkTask
2021-03-12 11:59:41 +01:00
Andreas Kling
201d35e70f
Kernel: Convert klog() => dbgln() in BXVGADevice
2021-03-12 11:40:41 +01:00
Andreas Kling
3985468e83
Kernel: Convert klog() => AK::Format in PurgeablePageRanges
2021-03-12 11:38:43 +01:00
Andreas Kling
72cccfddbf
Kernel: Convert klog() => AK::Format in APICTimer
2021-03-12 11:30:33 +01:00
Andreas Kling
bc925f57bb
Kernel: Convert klog() => AK::Format in ACPI::Parser
2021-03-12 11:27:59 +01:00
Andreas Kling
0c35c664e6
UserspaceEmulator: Convert a weird klog(!) to dbgln()
2021-03-12 11:23:26 +01:00
Andreas Kling
b8ad3d7ccf
Kernel: Convert klog() => AK::Format in RTL8139NetworkAdapter
2021-03-12 11:21:34 +01:00
Andreas Kling
6a3224d040
Kernel: Remove debug spam in DevFS
2021-03-12 11:12:50 +01:00
Brendan Coles
ec1fdef818
UserspaceEmulator: SoftCPU: Add support for several x86 FPU instructions
...
F2XM1
FYL2X
FYL2XP1
FDECSTP
FINCSTP
FSCALE
2021-03-12 09:59:45 +01:00
thankyouverycool
35897651af
WidgetGallery: Convert layout to GML and add new Icons gallery
2021-03-12 09:59:03 +01:00
thankyouverycool
0fc81d23f4
LibGUI: Add variable padding and center bitmaps in TableViews
...
This lets us make nicer looking bitmap tables and fixes a content
rect issue in TreeView. Also makes key column highlighting optional
2021-03-12 09:59:03 +01:00
thankyouverycool
142ca4b818
WindowServer+LibGfx: Enumerate Disallow cursor
2021-03-12 09:59:03 +01:00
thankyouverycool
bc26d1093f
LibGUI: Clear inactive selections in DisplayOnly TextEditors
2021-03-12 09:59:03 +01:00
thankyouverycool
bf432f8a3a
LibGUI: Add opacity to ImageWidget
2021-03-12 09:59:03 +01:00
thankyouverycool
0e63141a19
LibGUI: Set override cursor to none when widget is disabled
2021-03-12 09:59:03 +01:00
thankyouverycool
cf866cc75a
LibGUI: Register more GML properties and widgets
...
Register "placeholder" for TextEditor and ComboBox; "models_only"
for ComboBox; Vertical/HorizontalSeparator for SeparatorWidget
2021-03-12 09:59:03 +01:00
thankyouverycool
5806630cf4
LibGfx+LibGUI: Add support for vertical ProgressBars
2021-03-12 09:59:03 +01:00