Source Activity

Syndicate content
Updated: 34 min 18 sec ago

pc_serial: more NULL checks

Fri, 2014-08-29 15:09
pc_serial: more NULL checks
Categories: Development

Debugger: Implement remaining part of #11033.

Fri, 2014-08-29 15:04
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.
Categories: Development

pc_serial: fix gcc4 warnings (hopefully)

Fri, 2014-08-29 14:58
pc_serial: fix gcc4 warnings (hopefully)
Categories: Development

pc_serial: add to haiku package. It's working \o/

Fri, 2014-08-29 13:21
pc_serial: add to haiku package. It's working \o/
Categories: Development

pc_serial: mask THRE again when we're out of data

Fri, 2014-08-29 13:21
pc_serial: mask THRE again when we're out of data
Categories: Development

pc_serial: wait for writes to complete on a sem

Fri, 2014-08-29 13:21
pc_serial: wait for writes to complete on a sem

This avoids close being called too early and discarding output.
Categories: Development

pc_serial: toggle THRE in IER to make VirtualBox happy

Fri, 2014-08-29 13:21
pc_serial: toggle THRE in IER to make VirtualBox happy

Not sure it's needed on real hardware yet.
Categories: Development

pc_serial: cache IER and temporarily mask IRQs until dpc done

Fri, 2014-08-29 13:21
pc_serial: cache IER and temporarily mask IRQs until dpc done

No need to be flooded by IRQs while filling in the FIFO...
Categories: Development

pc_serial: apply lcr parameters even when unmasking latch reg

Fri, 2014-08-29 13:21
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.
Categories: Development

HaikuWebKit 1.4.3.

Fri, 2014-08-29 10:34
HaikuWebKit 1.4.3.

Fixed for real, this time...
Categories: Development

pc_serial: try to enable 64 byte FIFO

Fri, 2014-08-29 10:30
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.
Categories: Development

pc_serial: skip waiting for pending DPC in free hook

Fri, 2014-08-29 10:30
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.
Categories: Development

pc_serial: break instead of continue in irq handler

Fri, 2014-08-29 10:27
pc_serial: break instead of continue in irq handler

We don't want to busy loop, do we?
Categories: Development

pc_serial: add a termios member to store config across open cycles

Fri, 2014-08-29 10:27
pc_serial: add a termios member to store config across open cycles
Categories: Development

pc_serial: invoke scheduler when queuing DPC

Fri, 2014-08-29 10:27
pc_serial: invoke scheduler when queuing DPC

We really want this to be done ASAP...
Categories: Development

pc_serial: fix KDL on close

Fri, 2014-08-29 10:27
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...
Categories: Development

pc_serial: use the tty module directly from the deferred IRQ

Fri, 2014-08-29 10:27
pc_serial: use the tty module directly from the deferred IRQ

It still crashes on close sometimes but writing seems to work.
Categories: Development

pc_serial: try to skip the port used for kernel debugging output

Fri, 2014-08-29 10:27
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.
Categories: Development

pc_serial: manually probe the default ISA ports

Fri, 2014-08-29 10:27
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...
Categories: Development

pc_serial: convert irq handler to use DPC

Fri, 2014-08-29 10:27
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...
Categories: Development