summaryrefslogtreecommitdiffstats
path: root/c/src/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
1998-07-01Initial submission of gen68340 BSP (should run on a 68349) fromJoel Sherrill29-0/+5724
Geoffroy Montel <g_montel@yahoo.com>.
1998-07-01Added _stat_r and changed spacing.Joel Sherrill1-33/+47
1998-06-29Changed prototype for console_write_support to eliminate a warning.Joel Sherrill1-1/+5
1998-06-27Bare BSP patch from Chris Johns <cjohns@plessey.com.au>. He alsoJoel Sherrill3-45/+325
sent an example bare bsp but we have not decided how to integrate it yet.
1998-06-27PC386 BSP enhancements from Aleksey Romanov (Quality QuorumJoel Sherrill15-313/+950
<qqi@world.std.com>). Unfortunately after merging these, the pc386 will not boot using grub for for. It still does not work using netboot for me. Here is his summary of changes: rtems/c/src/lib/libbsp/i386/pc386/Makefile.in Added support for new sub-directory rtems/c/src/lib/libbsp/i386/pc386/bsp_specs Made possible to build COFF image rtems/c/src/lib/libbsp/i386/pc386/console/console.c Added support for serial consoles, selectable by patching binary image, added __assert(), use _IBMPC_inch_sleep() instaed of _IMBPC_inch() rtems/c/src/lib/libbsp/i386/pc386/console/inch.c Added _IMBPC_inch_sleep() rtems/c/src/lib/libbsp/i386/pc386/console/outch.c Oops - just formatting rtems/c/src/lib/libbsp/i386/pc386/include/Makefile.in Added support for new files rtems/c/src/lib/libbsp/i386/pc386/include/bsp.h Added support for new features rtems/c/src/lib/libbsp/i386/pc386/include/pc386uart.h New file: definitions for serial ports rtems/c/src/lib/libbsp/i386/pc386/include/pcibios.h New file: definitions for PCI BIOS rtems/c/src/lib/libbsp/i386/pc386/pc386dev/Makefile.in New file: makefile in new directory rtems/c/src/lib/libbsp/i386/pc386/pc386dev/i386-stub-glue.c New file: i386-stub interface rtems/c/src/lib/libbsp/i386/pc386/pc386dev/i386-stub.c New file: i386-stub itself rtems/c/src/lib/libbsp/i386/pc386/pc386dev/pc386uart.c New file: serial ports rtems/c/src/lib/libbsp/i386/pc386/pc386dev/pcibios.c New file: PCI BIOS support rtems/c/src/lib/libbsp/i386/pc386/start/start.s Commented out DEBUG_EARLY stuff, everything is working fine rtems/c/src/lib/libbsp/i386/pc386/start/start16.s Cleaned up rtems/c/src/lib/libbsp/i386/pc386/startup/bspstart.c Added call to console_resereve_resources rtems/c/src/lib/libbsp/i386/pc386/startup/exit.c Added support for serial console rtems/c/src/lib/libbsp/i386/pc386/startup/ldsegs.s Fixed typo in comments rtems/c/src/lib/libbsp/i386/pc386/tools/Makefile.in Changed to reflect cnages in code rtems/c/src/lib/libbsp/i386/pc386/tools/bin2boot.c Trivialized, problem - I do not know how to make patch remove obsolete files - there are a lot of them there rtems/c/src/lib/libbsp/i386/pc386/tools/binpatch.c New file: utility to do binary patches rtems/c/src/lib/libbsp/i386/pc386/wrapup/Makefile.in Added support for new directory rtems/make/custom/pc386.cfg Add COFF image building
1998-06-27Monstrous patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. I haveJoel Sherrill4-22/+54
made no attempt to divide the comments up and place them with just the appropriate files. Here is an excerpt from Ralf's email: Changes including comments on changes I made after cycling through all the targets: * Added ranlib support. Now all targets use "ranlib" instead of "ar -s" to build an index for a library. If ranlib isn't detected during configuration, check if ar -s is working and try "ar -s" instead of * Removed $(XXX_FOR_TARGET) from make/target.cfg.in, use $(XXX) instead now. * gcc-target-default.cfg: LINK_XXXX-defines reworked to solve the -l problem under posix (cf gcc-target-default.cfg) * rtems-glom replaced by Makefile-rules inside of the wrapup/Makefile.in that has been using rtems-glom until now. * Removed CCC and friends in gcc-target-default.cfg, as they have been breaking CXX support. * Removed CONFIG.$(TARGET_ARCH).CC lines from several custom/*.cfg files, because this is now set in custom/default.cfg. * Added aclocal/ar-s.m4, check whether "ar -s" is working * Added aclocal/cygwin.m4 and aclocal/exeext.m4. * Reworked aclocal/canonicalize-tools.m4: Added ar -s check; fixes for problems when XXX_FOR_TARGET is given via environment variables (didn't work for gcc until now), adding cygwin check, improved autoconf-cache handling. * Removed -l from make rule dependencies. LINK_LIBS is now allowed to contain -L and -l. LINK_OBJS and LINK_FILES must not contain -L or -l. gcc28 make-exe rules now link using $(LINK_OBJS) $(LINK_LIBS) => Almost all custom/*.cfg are modified. This is very likely to break something because of typos or having missed to edit a file. Open problems, known bugs, things I didn't do: * custom/p4000.cfg seems to be out of date and requires to be reviewed. (JRS NOTE: It is subordinate p4650 and p4600 -- both of which build ok after minor changes.) * custom/psim.cfg needs to be reviewed, I added some changes to it, I am insecure about. (JRS NOTE: psim had a minor problem endif/endef swapped but runs fine.) * rtems-glom.in can now be removed. * gcc*.cfg files "make depend" rules don't honor language specific flags (e.g CXXFLAGS is ignored for *.cc) - Nothing to worry about now, but may cause problems for hosts/targets not using gcc or rtems-add-ons that use external packages. * AFAIS, the no_bsp BSP can't be build anymore, i.e. configure refused to configure for it whatever I tried. * The toplevel and toplevel+1 README files are quite out-dated * cygwin.m4 isn't of much use for rtems. In most cases (cf. aclocal/*.m4) it is worked around by directly using $host_os. I think I'll remove it soon after the next snapshot * Before release the cygwin patch needs to be tested under cygwin. I may have broken/missed something (esp. the sed-pattern to convert \\ into / may be broken). * You should try to build/run the posix-BSP under solaris - I don't expect problems, but I am not 100% sure, esp. with regard to ranlib/ar -s. * You should consider to convert all make/compilers/*.cfg files into make/compilers/*.cfg.in files and let autoconf generate the *.cfg. This may help getting rid of some if/then/else statements and help hard-coding some defines into those files in future and shouldn't disturb now. * Not having installed libc.a/libm.a on a host may still break building rtems, esp. when using -disable-gcc28 as the gcc27-configuration scheme directly accesses libc.a and libm.a. The problem should not appear when using gcc28 because it references libc/libm only through -lc and -lm which may be static or dynamic (I didn't test this). * shgen is not yet included (I didn't yet have enough time to integrate it). * I know about a few more configure-probs (esp. cross-checking --enable-* flags). + warn/refuse to configure when --enable-libcdir and --enable-gcc28 are given. + force --enable-libcdir when --disable-gcc28 is given * Replaced KSHELL with @KSH@ in some shell scripts generated by configure.in. * Added a dependency to aclocal/*.m4 in the toplevel Makefile => configure and aclocal.m4 will now be rebuild when any aclocal/*.m4 file is changed * Some changes to aclocal/gcc-pipe.m4 and aclocal/gcc-specs.m4 * Replaced i[[3456]]86-unknown-freebsd2.[[12]] with i[[3456]]86-*freebsd2.* in configure.in, as I suppose there might exist a variety of valid vendors (2nd field of the name-tripple) * Disabled override MAKEFLAGS in toplevel Makefile.in - Potential side-effects are not really clear to me. * In mvme162.cfg, $(LINK_LIBS) is missing in the CC line in gcc28's make-exe rule (yet another one I missed to edit). Just append $(LINK_LIBS) to the "CC" line, like I hopefully did to ALL other custom/*.cfg files. * the problem with mvme162lx.cfg is a follow-up problem of the mvme162.cfg-bug. * mvme162/console and idp/console had variables named Buffer which conflicted with similarly named variables in some tests.
1998-06-25Clean up from Aleksey Romanov (Quality Quorum <qqi@world.std.com>).Joel Sherrill1-26/+3
Here are his comments: I removed all unnecessary stuff from start16.s - setting idt and setting 16-bit stack using .code32 istructions.
1998-06-23Removed RTS and DTR handling code since the MC68681 seems to only haveJoel Sherrill3-249/+91
automatic handling of RTS/CTS. This only protects the on-chip buffers and FIFOs -- not the termios queues as the RTS/CTS code in here did. It may be necessary in the future to enable this automatic support. Interrupt processing code added. In some places, channel and duart base addresses were swapped.
1998-06-23New file describing mc68681 libchip driver.Joel Sherrill1-0/+39
1998-06-23Added numerous comments.Joel Sherrill1-15/+72
1998-06-23Added concept of "mate" -- the other port on the same DUART. This isJoel Sherrill3-46/+80
needed to properly handle the interrupt mask register since it is shared.
1998-06-23Added close.Joel Sherrill1-4/+28
1998-06-23Added set attributes and written initialize and first open.Joel Sherrill1-78/+236
1998-06-23Added more registers.Joel Sherrill1-0/+11
1998-06-23Added set attributes prototype.Joel Sherrill1-0/+5
1998-06-23Added NULL entry for setAttributes.Joel Sherrill3-2/+7
1998-06-22Added initial part of iniitialization.Joel Sherrill2-8/+36
1998-06-22Added mc68681 stuff to the makefile.Joel Sherrill4-90/+344
Added numerous constants to mc68681_p.h. Changed spacing. At this point the polled support is in but nothing else is right except the structure.
1998-06-22Moved get and set register/data typedefs to this file.Joel Sherrill1-4/+14
1998-06-22Moved set and get Register and Data type defininitions to serial.h.Joel Sherrill4-20/+5
Cleaned up spacing.
1998-06-22Corrected spacingJoel Sherrill1-26/+25
1998-06-22spacing changesJoel Sherrill3-31/+36
1998-06-22Removed blank lines and bad debug stuffJoel Sherrill1-20/+0
1998-06-22Added comments and corrected spacing.Joel Sherrill3-197/+213
1998-06-22Added a comment and cleaned up spacingJoel Sherrill2-50/+63
1998-06-22Initial version of these files.Joel Sherrill3-0/+735
1998-06-18Added freebsd support from Dario Alcocer <alcocer@connectnet.com>.Joel Sherrill1-0/+14
1998-06-18Corrected so it returns the correct date. Previously was getting the numberJoel Sherrill1-11/+28
of seconds since 1988 from RTEMS and not adding in the 1970-1988 correction factor. Plus removed checks for data/time set since POSIX does not permit this call to fail. GNAT 3.12 depends on this.
1998-06-18Spacing changes.Joel Sherrill1-3/+3
1998-06-18Added a public interface to the chain handler.Joel Sherrill2-1/+363
1998-06-16Corrected compilation problems.Joel Sherrill2-13/+21
1998-06-16Added initialization of css routines.Joel Sherrill1-1/+3
1998-06-16Added css_iface -- assumes ../include/dy_supplied.Joel Sherrill4-2/+210
1998-06-13Initial incarnation of libchip compiles.Joel Sherrill4-9/+84
1998-06-13Base code from ppcn_60x BSPJoel Sherrill8-0/+2198
1998-06-13Adding interrupt handling routine.Joel Sherrill1-5/+15
1998-06-13Removed bad comments.Joel Sherrill1-7/+0
1998-06-13Added IRQ information.Joel Sherrill1-2/+31
1998-06-13Updated to add -qrtems_debug and -qnolinkcmds.Joel Sherrill1-2/+7
1998-06-12Added optimized version of memcpy.c to this directory since RTEMS makesJoel Sherrill1-0/+87
important distinctions between CPU models which are not made by gcc. These distinctions help give us a more optimized memcpy(). This is important for message queues and KA9Q.
1998-06-04Added support for -qrtems_debug flag.Joel Sherrill1-1/+3
1998-06-03Removed PPC_Get_timebase_register() as this is now provided by the PowerPCJoel Sherrill1-19/+0
port itself.
1998-06-03Update from Pedro Romano <pmcnr@camoes.rnl.ist.utl.pt> with an attemptJoel Sherrill2-15/+39
to fix start16.s. It does not work locally.
1998-06-03Update from Pedro Romano <pmcnr@camoes.rnl.ist.utl.pt> which replaces C++Joel Sherrill2-9/+208
versions of these utilities with C implementations.
1998-06-02Added some missing files per Eric Norum.Joel Sherrill1-1/+1
1998-05-30Changed calculaction for Clock_Decrementer_value to use theJoel Sherrill1-2/+4
BSP_configuration table.
1998-05-30Set console to port 2.Joel Sherrill1-2/+2
Changed #if defined to a #if check for CONSOLE_USE_INTERRUPTS.
1998-05-30Made Debug defination a null routine.Joel Sherrill1-0/+5
1998-05-30clicks_per_usec had to be cut in half (unknown reason).Joel Sherrill2-3/+5
fixed starting address.
1998-05-30Updated to current source and removed warnings.Joel Sherrill22-444/+206