summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* A patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1998-08-215-75/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | Here is another patch to hopefully enhance rtems' configuration. Motivation: Try to support other c-compilers besides gcc (I tried to build rtems under Solaris using sun's WSPro c-compiler). Here is a couple of small patches concerning the host compiler configuration, which fix/work-around the worst problems when using sun's WSPro c-compiler. Changes: * Replaced make/compilers/gcc.cfg with make/compilers/gcc.cfg.in, ie. gcc.cfg is generated by configure now. * Removed a line containing a hard-coded "gcc" from gcc.cfg (BUG-fix). * Add -g to host compiler flags only if configure reported -g to work * Add -Wall to host compiler flags only if configure reported that the host compiler is gcc (WSPro's cc chokes on -Wall). * Some modifications to make/Makefile.in * Adapted make/custom/default.cfg to the new location of gcc.cfg BTW, gcc.cfg/gcc.cfg.in seems to be full of unused code (DEBUG-VARIANTS etc.) which deserves to be cleaned up, IMO. IMO, a similar patch should be applied to gcc-target-default.cfg
* Modified version number to recut snapshot.Joel Sherrill1998-08-212-2/+2
|
* Another missing piece. Thanks Eric.Joel Sherrill1998-08-214-0/+12
|
* changed version to 980821Joel Sherrill1998-08-212-2/+2
|
* Added system task attribute to allow one to create a task with "0" priorityJoel Sherrill1998-08-2111-18/+109
| | | | via the user api.
* Patch from Eric Valette <valette@crf.canon.fr>:Joel Sherrill1998-08-2111-20/+348
| | | | | | | | | | Here is a patch that enables to catch exception and get message before crashing RTEMS :) It should be generic to any Intel port although enabled only for pc386 BSP... [Joel] I fixed the bug I introduced in irq_asm.s...
* Spacing changesJoel Sherrill1998-08-213-17/+14
|
* Fix from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill1998-08-213-42/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Thomas Doerfler" <td@imd.m.isar.de> wrote: > > While implementing/testing the console/termios support for > PPC403 in RTEMS-4.0.0-beta3, I am stuck at a certain location in > termios.c: > > During "rtems_termios_initialize", the main control data structure > "*tty" is allocated using malloc(). (Note, that malloc does not > clear the allocated memory and my BSP does not clear memory during > startup). Furtheron, a lot of fields of that structure are > initialized, but the field "rawOutBufState" is not, and therefore > keeps an arbitrary contents. > > When "osend()" is called the first time(with the serial device > driver working in interrupt mode), termios gets stuck and will not > call the device drivers output function. > > My questions now are: > > - anybody already experienced this bug? > - is it a bug at all or did I do anything fundamentally wrong? > - is there already a common bugfix for that? > > I don't like poking around in other people code, as long as I am > not absolutely sure, what I do... Yes, there's a bug there. I thought that Joel had patched this already, but here's a patch to fix this. This patch also addresses a concern that many others have raised regarding enabling and disabling of transmitter interrupts. First, here's the example I've been using of a simple UART-style interrupt-driven driver: =============================================================== void device_write_routine (int minor, char *buf, int count) { UART->control_register &= ~UART_TRANSMITTER_READY; UART->output_register = *buf; UART->control_register |= UART_TRANSMIT_INTERRUPT_ENABLE; } void device_transmit_interrupt_routine (int vector) { UART->control_register &= ~UART_TRANSMIT_INTERRUPT_ENABLE; rtems_termios_dequeue_characters (device_ttyp, 1); } ============================================================== Several people have expressed their concern about the disable/enable of transmitter interrupts for every character. On some machines this disable/enable is an expensive operation. With the attached patch applied you can write the two routines as: ============================================================== void device_write_routine (int minor, char *buf, int count) { code_to_clear_transmitter_ready_status (); if (device_ttyp->rawOutBufState == rob_idle) code_to_enable_transmitter_interrupts (); code_to_send_one_character_to_transmitter (*buf); } void device_transmit_interrupt_routine (int vector) { rtems_termios_dequeue_characters (device_ttyp, 1); if (device_ttyp->rawOutBufState == rob_idle) code_to_disable_transmitter_interrupts (); } ===============================================================
* Update from Eric Norum.Joel Sherrill1998-08-211-3/+2
|
* RegeneratedJoel Sherrill1998-08-210-0/+0
|
* All warnings removed.Joel Sherrill1998-08-2128-24/+100
|
* Removed networkconfig.h since it reflects target specific initialization.Joel Sherrill1998-08-212-4/+4
|
* Patch from Eric NorumJoel Sherrill1998-08-211-10/+9
|
* Update from Eric Norum.Joel Sherrill1998-08-211-4/+23
|
* Changed version.Joel Sherrill1998-08-211-2/+2
|
* Added Networking and Obsoleted KA9Q manual.Joel Sherrill1998-08-211-1/+3
|
* Added networking to public documents.Joel Sherrill1998-08-211-1/+1
|
* Changed date/version.Joel Sherrill1998-08-211-1/+1
|
* Added initialization of missing termios structure entries.Joel Sherrill1998-08-213-6/+9
|
* Fixed warning about pointer/integer conversion which turned out to beJoel Sherrill1998-08-214-4/+4
| | | | a missed "&" on a write.
* Fixed discrepancies noted by John Oleynick <johno@sirius.com>.Joel Sherrill1998-08-211-6/+11
|
* Made the description of timeing generation more accurate.Joel Sherrill1998-08-202-8/+42
|
* Changed wording to read better for PSIM.Joel Sherrill1998-08-202-2/+2
|
* New times.Joel Sherrill1998-08-202-168/+169
|
* Changed distribution level for this document.Joel Sherrill1998-08-201-1/+1
|
* Switched from generating tables based on CPU model to BSP.Joel Sherrill1998-08-201-14/+14
|
* Changed version.Joel Sherrill1998-08-201-5/+5
|
* PowerPC Supplement now part of support documentation.Joel Sherrill1998-08-201-2/+2
|
* rtems_support.html added.Joel Sherrill1998-08-201-0/+2
|
* New fileJoel Sherrill1998-08-201-0/+72
|
* rtems_full.html sed'ed to get right version number.Joel Sherrill1998-08-201-1/+2
|
* PowerPC now part of customer support version.Joel Sherrill1998-08-201-1/+0
|
* changed version to 980820pm-BSDJoel Sherrill1998-08-202-2/+2
|
* Patches from Eric NorumJoel Sherrill1998-08-2060-363/+252
|
* Added CVS IdsJoel Sherrill1998-08-20258-0/+812
|
* Fixed many warnings.Joel Sherrill1998-08-20138-336/+644
|
* changed version to 980820-BSDJoel Sherrill1998-08-202-2/+2
|
* Regenerated.Joel Sherrill1998-08-200-0/+0
|
* Changed to avoid use of gets().Joel Sherrill1998-08-204-32/+136
|
* Updated to reflect TCP/IP stack transition.Joel Sherrill1998-08-201-1/+3
|
* Updated to reflect stack transition.Joel Sherrill1998-08-203-5/+6
|
* Temporarily leave strsep out of the build.Joel Sherrill1998-08-202-4/+8
|
* Added missing file.Joel Sherrill1998-08-202-2/+2
|
* Removed stub implementationJoel Sherrill1998-08-203-13/+4
|
* FreeBSD stack compiles for the first time (except libc/strsep.c)Joel Sherrill1998-08-2042-558/+832
|
* FreeBSD stack compiles for the first time (except libc/strsep.c).Joel Sherrill1998-08-2054-24/+1356
|
* Base filesJoel Sherrill1998-08-204-0/+190
|
* Base filesJoel Sherrill1998-08-2012-0/+584
|
* Base version.Joel Sherrill1998-08-202-0/+28
|
* Base filesJoel Sherrill1998-08-19859-0/+239233
|