summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch from Emmanuel Raguet <raguet@crf.canon.fr>:Joel Sherrill1998-08-3112-366/+483
| | | | | I have reworked the ethernet driver for the BSP pc386 and here is the patch to apply.
* Patch from Eric Valette <valette@crf.canon.fr>:Joel Sherrill1998-08-316-90/+73
| | | | | | | | | | | | | | | | | | | Eric> NB : there is still a bug on PC386 serial line : exit does not Eric> flush the remaining output queue. As this is not a bug in the Eric> driver itself but somewhere in PC386 initialization/termios Eric> relationship it will be part of another patch. Eric> NB2 : As Emmanuel excerced the exception hanlder code, while Eric> porting the SMC driver to the new BSD stack, we found a bug Eric> in the exception handler : it shall not delete the current Eric> thread in case we are running at interrupt level. This will Eric> be part of another patch... So here is the patch. This patch fixes the two problems mentionned above + it use vpath mechanism intead of copying the irq related files in the right directory. This avoid to compile them each time and is more homogenous with other Makefiles.
* Patch from Eric Valette <valette@crf.canon.fr>:Joel Sherrill1998-08-312-25/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here is a brief description of the attached patch : 1) There was a bug in the code for the COM2 serial line driver. Aleksey gave me a fix that fixes the driver code itself. I would like to thank him again publicly, 2) I introduced constants in the serial driver code because I had a hard time reading the meanning of hexadecimal values in the NS data book :) 3)You can now mix printk and printf on serial line (tested on COM2). There is a #ifdef PRINTK_ON_SERIAL in console.c that enables to have printk on console while printf on serial line, 4) Removed call to displayCpuInfo because anyway if was at the wrong place for serial line console (too early). It can anyway be called at application level, 5) The original printk was unable to display negative integer values and was also recursive. It now works corectly, All the modifications have been tested here on the COM2 port from a PC running RTEMS to a PC running linux, NB : there is still a bug on PC386 serial line : exit does not flush the remaining output queue. As this is not a bug in the driver itself but somewhere in PC386 initialization/termios relationship it will be part of another patch. NB2 : As Emmanuel excerced the exception hanlder code, while porting the SMC driver to the new BSD stack, we found a bug in the exception handler : it shall not delete the current thread in case we are running at interrupt level. This will be part of another patch...
* Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill1998-08-315-20/+10
| | | | | | | | | | | | | | I think I figured out why rtems_panic was locking up instead of shutting down the executive and returning to the code that called boot_card(). Later on there is code to print some messages on the standard error stream, a recursive call back to rtems_verror (through rtems_error) and finally a call to _exit(). I think that the _Thread_Disable_dispatch() is preventing the final context switch back to the boot_card() code. Does this sound right to you?
* Updated the descriptions section for the log_create and log_sys_createWade A Smith1998-08-311-5/+62
| | | | functions.d
* Reviewed log_read().Joel Sherrill1998-08-281-21/+41
|
* Reviewed and corrected log_write(), log_write_any(), and log_write_entry().Joel Sherrill1998-08-281-84/+202
|
* Added log_write_any and part of log_copy.Joel Sherrill1998-08-281-3/+92
| | | | Reviewed log_close.
* Added author credit.Joel Sherrill1998-08-281-0/+5
|
* Added CVS Ids.Joel Sherrill1998-08-289-0/+72
|
* Added top level file and cleaned up chapter namesJoel Sherrill1998-08-287-6/+127
|
* Undid renaming.Joel Sherrill1998-08-281-0/+0
|
* Renamed intro to preface.Joel Sherrill1998-08-281-0/+0
|
* Base filesJoel Sherrill1998-08-2810-25/+1151
|
* New fileJoel Sherrill1998-08-281-0/+94
|
* Updated log_seek() per review.Joel Sherrill1998-08-271-14/+10
|
* Modified log_open() to reflect review.Joel Sherrill1998-08-271-26/+29
|
* Corrected descriptions of log facility set manipulation routines asJoel Sherrill1998-08-271-130/+59
| | | | part of the review.
* Corrected log_severity_before as part of reviewing the code.Joel Sherrill1998-08-271-7/+16
|
* Incorporated the "#include <dump.h>" statement in file.Wade A Smith1998-08-261-0/+2
|
* Incorporated the "#include cfg.h" statement in documentWade A Smith1998-08-261-0/+24
|
* Incorporated the "#include <admin.h>" statement in fileWade A Smith1998-08-261-0/+2
|
* Corrected mispelled words.Wade A Smith1998-08-261-2/+30
|
* Added some background and operations subsections.Joel Sherrill1998-08-253-0/+20
|
* Fixed spelling mistakes.Joel Sherrill1998-08-252-41/+41
|
* Fixed spelling mistake.Joel Sherrill1998-08-251-1/+1
|
* Cleaned up formatting.Joel Sherrill1998-08-254-789/+906
| | | | | | Added notes on background and operations sections. Added NOTE to indicate the feature flag defined.
* Commit for reviewJoel Sherrill1998-08-254-77/+77
|
* Documented the log_create and log_sys_create routinesWade A Smith1998-08-251-0/+76
|
* Posix users manual now makes multiple info files.Joel Sherrill1998-08-241-2/+2
|
* changed version to 980824Joel Sherrill1998-08-242-2/+2
|
* Patch from Eric Valette <valette@crf.canon.fr> to add an extra newline.Joel Sherrill1998-08-241-0/+1
|
* Patch from Eric Valette <valette@crf.canon.fr>:Joel Sherrill1998-08-241-63/+16
| | | | | | | | | | | | | | | | Celso Labinaz <labinaz@tin.it> pointed to me thatthe console on serial line was not working. After spending quite a time to find the right cable and software, I confirm this. I'm going to debug this in the next days because I want to use the serial line for debugging. In the meantime, in order to be sure that this was a driver initialization/bug, I made printk work on the serial line in order to be sure the receiver part and configuration was OK. Here is the for printk on serial line. BTW, does anyone else use the serial line facilities for PC? printf seems to output nothing (hello.exe output everything that has a printk but application printf seems to be broken).
* RegeneratedJoel Sherrill1998-08-240-0/+0
|
* Added __RTEMS_INSIDE__ macro to insure that ".inl" files are ALWAYS includedJoel Sherrill1998-08-247-7/+7
| | | | when building the executive source.
* Cleanup patch from Eric Norum.Joel Sherrill1998-08-241-3/+0
|
* Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1998-08-241-9/+15
| | | | | | | | | The patch (rtems-rc-980821.diff) I had sent recently to fix the "make install" problem in rtems-980821/make/ still contained a bug (Thanks to Eric N. for reporting it). The patch enclosed to this mail is a corrected version of this patch, which finally should fix this problem.
* changed version to 980821Joel Sherrill1998-08-212-2/+2
|
* Added i386 specific version of in_cksum.c and restructured the mainJoel Sherrill1998-08-2114-604/+2569
| | | | file to switch out to CPU specific implementations.
* 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
|