Liav A
f14c5b29b4
WindowServer: Add a debug message
2020-02-28 12:16:05 +01:00
howar6hill
a19967d5c3
Tests: Fix a typo inTestRefPtr
2020-02-27 21:16:02 +01:00
Andreas Kling
3523071bb7
LibGUI: Disable the ColumnsView subview in MultiView for now
...
This is causing FilePicker to log a bunch of debug noise due to the
missing support for tree models in SortingProxyModel and it's not
helping anyone so let's just disable it.
This needs fixing in SortingProxyModel.
2020-02-27 14:43:35 +01:00
Andreas Kling
e52d1a02c8
WindowServer: Stop trying to boost things since it's not working
...
Let's temporarily disable the boosting calls until we have a solution
for boosting in the new multi-user world. The error messages keep
confusing people into thinking they're doing something wrong.
2020-02-27 14:29:35 +01:00
Liav A
fc611be592
Kernel: Run clang-format on PCI definitions file
2020-02-27 13:05:12 +01:00
Liav A
0cda92d5da
LibBareMetal: Remove unnecessary include
2020-02-27 13:05:12 +01:00
Liav A
d376e17b5c
SharedBuffer: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
1f13f51ebd
SlavePTY: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
63a27992e8
MasterPTY: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
900865e87c
Kernel: Run clang-format on Heap/kmalloc.cpp
2020-02-27 13:05:12 +01:00
Liav A
46a7ee97ac
Heap kmalloc: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
ac9a001b92
PTYMultiplexer: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
a506b2a48e
Thread: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
d16b26f83a
MemoryManager: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
8a22e93ebb
VirtualConsole: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
309593d5bd
TTY: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
db23703570
Process: Use dbg() instead of dbgprintf()
...
Also, fix a bad derefernce in sys$create_shared_buffer() method.
2020-02-27 13:05:12 +01:00
Liav A
b0d40e9495
Ext2Filesystem: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
42665817d1
RangeAllocator: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
b41e2d25b4
CPU: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
9e520fd0d6
Syscall: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
9ee6d00b57
VMWareBackdoor: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
67994cd87e
ProcFS: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
03592a80fc
FIFO: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
31a67ca2f9
Ksyms: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
946d9b8c24
IOAPIC: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
5cd58adfa9
PS2MouseDevice: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
fcb1426a2b
Init Stage: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
3f2d5f2774
PhysicalPage: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
24d2aeda8e
Region: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
bb9fba1fdd
KeyboardDevice: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
3f95a7fc97
InodeVMObject: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
7deb1f07c3
PCI MMIOAccess: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
efec7448c9
ACPIStaticParser: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
62adbbc598
PageDirectory: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
2b9826a444
Scheduler: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
97e5ccd984
E1000NetworkAdapter: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
b7b2fb083d
LoopbackAdapter: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
d6ae2cf46a
IPv4Socket: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
4432bf41f6
DMIDecoder: Use dbg() instead of dbgprintf()
2020-02-27 13:05:12 +01:00
Liav A
16a5b6f7fb
Kernel: Run clang-format on DMIDecoder header file
2020-02-27 13:05:12 +01:00
Liav A
fd893f834c
Kernel: Don't use references or pointers to physical addresses
...
Now the DMIDecoder code is more safer, because we don't use raw pointers
or references to objects or data that are located in the physical
address space, so an accidental dereference cannon happen easily.
Instead, we use the PhysicalAddress class to represent those addresses.
Also, the initializer_parser() method is simplified.
2020-02-27 13:05:12 +01:00
Jesse Buhagiar
2af5b700b0
Toolchain: Add x86_64 cross compiler build script
2020-02-27 13:00:03 +01:00
Alexander F. Rødseth
cdb58cdfd2
Build: Use ccache if it's available ( #1315 )
2020-02-27 11:44:29 +01:00
Andreas Kling
4997dcde06
Kernel: Always disable interrupts in do_killpg()
...
Will caught an assertion when running "kill 9999999999999" :^)
2020-02-27 11:05:16 +01:00
Andreas Kling
4a293e8a21
Kernel: Ignore signals sent to threadless (zombie) processes
...
If a process doesn't have any threads left, it's in a zombie state and
we can't meaningfully send signals to it. So just ignore them.
Fixes #1313 .
2020-02-27 11:04:15 +01:00
Cristian-Bogdan SIRB
5aa5ce53bc
Kernel: Fix the gettid syscall
...
syscall_handler was not actually updating the value in regs->eax, so the
gettid() was always returning 85: the value of regs->eax was not
actually updated, and it remained the one from Userland (the value of
SC_gettid).
The syscall_handler was modified to actually get a pointer to
RegisterState, so any changes to it will actually be saved.
NOTE: This was actually more of a compiler optimization:
On the SC_gettid flow, we saved in regs.eax the return value of
sys$gettid(), but the compiler discarded it, since it followed a return.
On a normal flow, the value of regs.eax was reused in
tracer->did_syscall, so the compiler actually updated the value.
2020-02-27 10:58:43 +01:00
Andreas Kling
0c1497846e
Kernel: Don't allow profiling a dead process
...
Work towards #1313 .
2020-02-27 10:42:31 +01:00
Andreas Kling
79e79ad1d2
Kernel: Don't blindly dereference Process::executable()
...
When setting up profiling, don't assume that the profiled process has
a valid executable.
2020-02-27 10:41:32 +01:00
Andreas Kling
9632388bed
ps: Don't assert when coming across a zombie process
...
Fixes #1278 .
2020-02-27 10:37:47 +01:00