Updated: 34 min 18 sec ago
Debugger: Implement remaining part of #11033. TeamDebugInfo: - Add function to invalidate a source entry's file mapping. UserInterfaceListener: - Add listener hook to be able to invoke the aforementioned invalidate. Add corresponding implementation in TeamDebugger. FileManager: - When asked to locate a source entry, invalidate any existing mapping first. TeamWindow: - Always allow choosing an alternate source file. - If we already have an existing source mapping, invalidate it first before attempting to establish a new one.
pc_serial: fix gcc4 warnings (hopefully)
pc_serial: add to haiku package. It's working \o/
pc_serial: mask THRE again when we're out of data
pc_serial: wait for writes to complete on a sem This avoids close being called too early and discarding output.
pc_serial: toggle THRE in IER to make VirtualBox happy Not sure it's needed on real hardware yet.
pc_serial: cache IER and temporarily mask IRQs until dpc done No need to be flooded by IRQs while filling in the FIFO...
pc_serial: apply lcr parameters even when unmasking latch reg No need to change line params even more if it was already the same before.
pc_serial: try to enable 64 byte FIFO We should probably detect the UART type properly first, but the IRQ handler also checks for the available FIFO length anyway.
pc_serial: skip waiting for pending DPC in free hook Since it's possible to fail queuing them, the count doesn't go down to 0, and the process just hangs forever on exit. It might not be necessary anyway.
pc_serial: break instead of continue in irq handler We don't want to busy loop, do we?
pc_serial: add a termios member to store config across open cycles
pc_serial: invoke scheduler when queuing DPC We really want this to be done ASAP...
pc_serial: fix KDL on close It's working \o/ Just need to figure out why it waits for \n to transmit. We now only destroy the cookies in the free hook. Mention pending DPC as soon as when inside the irq handler. Also limit the number of loops in the IRQ handler to avoid busy looping. It only happened when testing with normal priority but you never know...
pc_serial: use the tty module directly from the deferred IRQ It still crashes on close sometimes but writing seems to work.
pc_serial: try to skip the port used for kernel debugging output Not that easy to handle all cases correctly, but should work for the default case.
pc_serial: manually probe the default ISA ports Since config_manager is basically a stub, and even VirtualBox doesn't publish the serial ports as PCI devices, we must probe for them. Ideally config_manager would find them in the device manager tree which would have been populated from the PnP BIOS or even ACPI tables...
pc_serial: convert irq handler to use DPC Let's hope we won't loose data because it. We have to cache the value of IIR read from IsInterruptPending(), because some conditions are acknowledged only by reading it...