Rev |
Log message |
Author |
Age |
Path |
1116 |
There was a bug in the simulator's UART implementation that caused the
UART's LSR register to become corrupted. This was due to an
assumption that 'char' is an unsigned type, but that is not true on
all platforms.
When the char type is signed and a character is read in the range
0x80-0xff, the high bit is sign-extended into the upper bits of an
entry in the receive FIFO. When the character reaches the head of the
FIFO, the upper bits of the FIFO entry are OR'ed into the LSR, causing
the LSR to be set to 0xFF.
A simple cast fixes the problem. |
sfurman |
7807d 12h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
1073 |
channels support |
rprescott |
7932d 16h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
997 |
PRINTF should be used instead of printf; command redirection repaired |
markom |
7996d 02h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
970 |
Testbench is now running on ORP architecture platform. |
simons |
8003d 12h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
884 |
code cleaning - a lot of global variables moved to runtime struct |
markom |
8040d 00h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
821 |
ugly bug with duplicate redefined i removed |
markom |
8125d 20h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
806 |
uart now partially uses scheduler |
markom |
8131d 03h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
805 |
kbd, fb, vga devices now uses scheduler |
markom |
8131d 03h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
713 |
lot of small minor improvements: code documented, cleaned; runs at about same speed when not actually logging, but exe_log is enabled; raw_stats now run only with simple execution - enable RAW_USAGE_STATS macro |
markom |
8168d 01h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
549 |
enabled parameters removed from devices, which also have number of devices; command line --output-cfg parameter added |
markom |
8221d 21h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
530 |
THRI interrupt fixed. |
simons |
8224d 14h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
529 |
Bug in receiver fixed. |
simons |
8224d 16h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
492 |
uart THRE interrupt immedialty after write to IER |
markom |
8241d 00h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
490 |
clkcycle parsing problem fixed |
markom |
8241d 20h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
424 |
memory configuration file joined into .cfg file; *mem.cfg are obsolete; read-only and write-only memory is supported; memory logging is not yet supported; update of testbench - only cache test fails, since it writes to RO memory |
markom |
8251d 00h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
423 |
changed break behaviour and interrupt pending; interrupt line chabnged to 15; sync bug in mode switch |
markom |
8251d 19h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
411 |
acv uart testsuite now works (without modem test) |
markom |
8255d 00h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
409 |
some minor changes to or1ksim; Testbench except.s modified. Interrupt test almost finished for uart ACV. |
markom |
8256d 00h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
385 |
check testbench now modified to work with new report output |
markom |
8264d 21h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
361 |
set config command added; config struct has been divided into two structs - config and runtime; -f option allows multiple config scripts |
markom |
8271d 02h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
355 |
uart VAPI model improved; changes to MC and eth. |
markom |
8271d 23h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
344 |
added acv test for uart; sim debug now has verbose levels; lot of bugs fixed in uart model |
markom |
8277d 23h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
341 |
added VAPI for uart; uart 16550 support, some bugs fixed |
markom |
8278d 23h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
336 |
VAPI works |
markom |
8279d 19h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
332 |
removed fixed irq numbering from pic.h; tick timer section added |
markom |
8280d 02h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
261 |
modified memory accesses; added cfg script; added pic test basic entry of vga; some extensions to mc |
markom |
8290d 00h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
252 |
Fixed typo |
erez |
8291d 21h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
238 |
Changed function prototypes to quiet compiler warning |
erez |
8298d 13h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
235 |
memory areas now have a "granularity"
also switched dma to GNU coding |
erez |
8298d 14h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |
221 |
major changes to testbench; debug unit is moved to /debug; memory organization can be customized; UART from simons; overall cleanup |
markom |
8298d 23h |
/or1k/tags/nog_patch_34/or1ksim/peripheral/16450.c |