summaryrefslogtreecommitdiffstats
path: root/c (unfollow)
Commit message (Collapse)AuthorFilesLines
1998-07-18Added information on the MC68681.Joel Sherrill1-2/+12
1998-07-18Added background and setup to add section on RS-422.Joel Sherrill1-11/+21
1998-07-18Reworked to removed dependency on DY-4 CSS ROM monitor interface.Joel Sherrill1-5/+2
1998-07-18Removed css_iface.Joel Sherrill2-2/+2
1998-07-18Removed. We are no longer dependent on DY-4 CSS interface code.Joel Sherrill2-216/+0
1998-07-18New file.Joel Sherrill1-0/+26
1998-07-17Initialized tty->refcount to 0. When (for whatever reason) malloc()Joel Sherrill2-0/+6
returned a buffer which was not zero-filled, the reference count was not correct. When the application exitted, the "lastClose" handler was not being called to flush the output. This problem had manifested itself on a variety of platforms. The function rtems_termios_dequeue_characters() incorrectly incremented the buffer pointers when it was invoked and there were no characters in the ring buffer. This problem had also manifested itself on a variety of platforms. The symptom was a strange repeating of the data in the transmitter buffer when the transmitter serial device was supposed to go idle.
1998-07-17Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. Comments:Joel Sherrill8-19/+25
* Added support for bsd "install" ($(BSDINSTALL)) to host.cfg.in, i.e. the standard "install" program that most packages (including automake) use. In Makefiles outside of rtems, "install" normally is referenced by $(INSTALL), but rtems already uses $(INSTALL) for install-if-change, hence I used $(BSDINSTALL) instead to keep up backward compatibility. * Removed references to @GREP@ etc. from host.cfg.in, as configure.in doesn't check for them (Minor cleanup). * Added installation flags INST*FLAGS to host.cfg.in, which should replace -m XXXX flags for installation calls. *Changes to gcc.cfg to enable it to build host programs from multiple sources files. Should not disturb existing sources, but neccessary. * There was a not-so-minor bug in the configuration files: "make install" and "make debug_install" don't work in all subdirectories!! I tried to fix this by adding "install" to MTARGETS in main.cfg, which seems to solve most of the problems. But there still seem to be rare (?) cases where "make debug_install" still seems to have problems. * Changes to many host related tool-Makefiles to demonstrate the abilities of INST*FLAGS, BSDINSTALL and the new rules in gcc.cfg. ..of cause ... but BSDINSTALL is THE standard method to install files in most program packages besides rtems. This part of the patch fixes some minor protection setting problems, but doesn't support TARGET_VARIANTS NOTE: I hope you will like the BSDINSTALL, INST*FLAGS stuff. It is a step to get rid of "install-if-change" and to rely on a more standard installation procedure. If you don't like BSDINSTALL, removing it from the patch isn't difficult- just grep for BSDINSTALL and replace BSDINSTALL with INSTALL or MKDIR. FINALLY: I still have another patch pending (well, not a complete patch yet, it's a partial patch to demonstrate the principle), which adds automatic rebuilding of files generated by autoconf/configure. At the moment I don't dare to submit it, because integrating this patch would require to modify all Makefile.ins because we'd need to add a new "include " line to each Makefile.in.
1998-07-17Added scitab directory.Joel Sherrill2-1/+2
1998-07-17Turned stack checker on.Joel Sherrill1-0/+2
1998-07-17Patch fromalf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1-0/+61
* c/src/lib/libbsp/sh/gensh1/scitab - NEW DIRECTORY Location for building the table generated by shgen
1998-07-17New files from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. His comments:Joel Sherrill7-0/+330
* c/src/exec/score/tools/sh - NEW DIRECTORY - contains shgen Most of it should be self-explanatory. I am a little bit concerned about host-dependent features (getopt, floating point libraries). This shouldn't disturb much now, as this tool should be compileable on all gnu-based hosts and is only applicable for the sh. But in case somebody complains, we may need to add autoconf checks or even restructurize parts of rtems (IMO, rtems needs to be restructurized - remember the "turning rtems upside down" issue).
1998-07-17Patch from Dario Alcocer <alcocer@connectnet.com>. His comments:Joel Sherrill2-0/+4
Haven't had a chance to do an extensive shake-out of 980710, but it builds just fine on FreeBSD 2.2.5 (after termios is fixed using the attached patch), and the tests run fine. FYI: FreeBSD doesn't support System V IPC out of the box, but one only needs to add three options to the kernel build configuration file, recompile the kernel, and you're ready.
1998-07-16Corrected header files.Joel Sherrill2-2/+4
1998-07-16Minor corrections for typos to get it to compile.Joel Sherrill2-4/+4
1998-07-16Split default baud rate table into its own file. This shrinks theJoel Sherrill10-216/+248
size of the minimum mc68681 driver. The clock speed field can not now be configured as NULL but must instead specify the address of the default table.
1998-07-15Fixed typo in which last port did not get switched to defaultJoel Sherrill2-8/+8
register access routines.
1998-07-15Fixed typos.Joel Sherrill8-8/+14
1998-07-15Switched to usign the default z8530 and mc68681 register access routines.Joel Sherrill7-272/+17
1998-07-15Added default z85c30 register access routines.Joel Sherrill6-2/+258
1998-07-15Added default mc68681 register access routines.Joel Sherrill10-24/+284
1998-07-15Added check for proper deviceType to interrupt processing code.Joel Sherrill4-4/+8
1998-07-15Added interrupt mask and interrupt status register bit constants.Joel Sherrill2-2/+48
Added prototype for mc68681_build_imr(), mc68681_process(), and mc68681_enable_interrupts().
1998-07-15Added default mc68681 register access routines.Joel Sherrill2-0/+98
1998-07-15Switched from driver's own buffering to using termios. This eliminatedJoel Sherrill2-242/+186
the need for the ringbuffer manipulation in this driver. It should also allow the removal of mc68681_flush. This greatly simplified the interrupt processing. Reworked Interrupt Mask Register handling. Added imr field to the device context. This handling makes sure that the IMR accurately reflects the state of the port in use and its mate. This required the reworking of the mc68681_enable_interrupts() routine to allow for the specification of which interrupt sources were being enabled/disabled. Reworked initialization to reset using port address rather than chip base address. Basically we were always resetting port 0. Added deviceType field which allows for multiple chips of the same class to have the same vector number.
1998-07-15Added information on the deviceType field.Joel Sherrill4-0/+16
1998-07-15Added default mc68681 register access routines.Joel Sherrill2-2/+4
1998-07-15Added SCV64_Get_Interrupt_Enable().Joel Sherrill1-4/+8
Added proper headers to routines.
1998-07-15Added SCV64_Get_Interrupt_Enable().Joel Sherrill1-0/+1
1998-07-15Added chip type identifier field. This was necessary because a singleJoel Sherrill2-0/+8
interrupt vector can be shared by multiple chips of varying types.
1998-07-15Added comment to remove use of TxBuffer ring buffer in all libchip drivers.Joel Sherrill2-2/+28
The scheme used in the mc68681 is the one to follow.
1998-07-15Added comments.Joel Sherrill2-6/+54
1998-07-15Added comments.Joel Sherrill1-1/+8
1998-07-15Masked out interrupts not being used prior to processing the status register.Joel Sherrill1-1/+9
1998-07-15Added routine to return interrupt mask. Added comments.Joel Sherrill1-3/+28
1998-07-15Added scv64 subdirectory.Joel Sherrill1-1/+1
1998-07-15Switched to SCV64.Joel Sherrill1-23/+58
1998-07-15Added CSCV64 functions and addresses.Joel Sherrill1-10/+56
1998-07-15Switched from polling to interrupts and in the process added a conditionalJoel Sherrill2-8/+34
compilation section which used CONSOLE_USE_INTERRUPTS to switch all ports between interrupt and polled mode.
1998-07-15Added scv64 subdirectory.Joel Sherrill1-1/+1
1998-07-15New files.Joel Sherrill2-0/+202
1998-07-15Switched deviceOutputUsesInterrupts to TRUE so output would be interruptJoel Sherrill2-296/+294
driven. Redid "mate determination" code to check that the chip base address was the same but the port address was different. Moved mc68681_process and mc68681_build_imr to the bottom of the file so they would not be inlined. Removed the code which forced mc68681_build_imr to always return 0 which resulted in interrupts never being enabled from the chip. Corrected spacing in prototype of mc68681_write_support_int.
1998-07-15Switched to "deviceOutput = TRUE" which made device output use interrupts.Joel Sherrill2-2/+2
1998-07-11Yet another EXEEXT patch. This one is from Ralf CorsepiusJoel Sherrill1-2/+2
<corsepiu@faw.uni-ulm.de> and his comments are below: Joel, obviously you did apply my previous patch to gcc-target-default.cfg -- This should have been gcc.cfg (gcc-target-default.cfg should NOT contain any EXEEXT).
1998-07-10changed version to 980710Joel Sherrill2-2/+2
1998-07-10Patch from Quality Quorum <qqi@world.std.com>. Comments:Joel Sherrill3-11/+89
c/src/lib/libbsp/i386/pc386/console/console.c __assert() modified so it prints on selected console instead of PC console c/src/lib/libbsp/i386/pc386/console/inch.c inch_sleep() modified, so it does not depend upon tmacros.h c/src/lib/libbsp/i386/pc386/pc386dev/GDB.HOWTO description updated c/src/lib/libbsp/i386/pc386/startup/exit.c last output before call to exit() will be printed properly on serial console c/src/lib/libbsp/i386/pc386/startup/irq.c re-submitted bug fix for problem in irqs over 7.
1998-07-10Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. Comments:Joel Sherrill1-2/+2
> It seems that rules for %{EXEEXT} don't exist in gcc-target-default.cfg No, gcc-target-default.cfg is used to compile executables for the target only, not for the host. EXEEXT may only be used for programs to be run on the host. > What should I add please? This was a bug in my initial configuration patch to rtems-980616. A correction to this patch I had sent to Joel at 26.06.98 doesn't seem to have made it into the snapshot. Please find attached the patch I had sent to Joel, hopefully this patch fixes this problem.
1998-07-09Added set attributes routine but did not hook it in to the table.Joel Sherrill4-26/+220
Switched to shared default probe.
1998-07-09Added new files.Joel Sherrill2-2/+6
1998-07-09Renamed so we could have one file per routine.Joel Sherrill1-37/+0