Commit Graph

3149 Commits

Author SHA1 Message Date
Joel Sherrill
02fe6aba39 2000-08-15 Joel Sherrill <joel@OARcorp.com>
* src/ptimer1.c: Minor formatting fixes.
2000-08-15 13:23:13 +00:00
Joel Sherrill
939e29dc4d 2000-08-15 Joel Sherrill <joel@OARcorp.com>
* src/ptimer1.c: Removed unused routine PRINT_ERRNO_S.
	* src/ptimer1.c: Removed unnecessary routine COPY_ITIMERSPEC_S
	and used structure copy instead.
	* src/ptimer1.c: Renamed timer_alive_t to POSIX_Timer_Control.
	* include/rtems/posix/timer.h: Ditto.
2000-08-15 13:19:57 +00:00
Joel Sherrill
ea56c0a806 2000-08-15 Joel Sherrill <joel@OARcorp.com>
* posix/src/ptimer1.c: Switched to using set_errno_and_return_minus_one()
	to ensure that errno was always set.
2000-08-15 13:10:29 +00:00
Joel Sherrill
16ce86f9c8 2000-08-15 Joel Sherrill <joel@OARcorp.com>
* posix/src/ptimer1.c (timer_settime): Converted use of rtems_clock_get
	to use SuperCore _TOD_Current variable.
2000-08-15 13:00:01 +00:00
Joel Sherrill
5377fed341 2000-08-11 Joel Sherrill <joel@OARcorp.com>
* Shell added for or32 port based on no_cpu port with names replaced.
2000-08-11 21:59:52 +00:00
Joel Sherrill
ee5110762e 2000-08-11 Joel Sherrill <joel@OARcorp.com>
* Shell added for or16 port based on no_cpu port with names replaced.
2000-08-11 21:52:06 +00:00
Joel Sherrill
dd19c0bb06 2000-08-11 Chris Johns <ccj@acm.org>
* libc/chmod.c: Return ENOTSUP if filesystem does not have handler.
	* libc/eval.c: Ditto.
	* libc/fcntl.c: Ditto.
	* libc/fsync.c: Ditto.
	* libc/ioctl.c: Ditto.
	* libc/ioman.c: Ditto.
	* libc/link.c: Ditto.
	* libc/memfile.c: Ditto.
	* libc/mknod.c: Ditto.
	* libc/symlink.c: Ditto.
	* libc/libio.h(rtems_filesystem_dev_major_t): New macro.
	* libc/libio.h(rtems_filesystem_dev_minor_t): New macro.
2000-08-11 20:04:27 +00:00
Joel Sherrill
e7de167c8c 2000-08-11 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* console/console.c: Fix polled input.
2000-08-11 19:55:36 +00:00
Joel Sherrill
b7d4d2abd9 2000-08-11 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* console.c(_BSP_output_char): Output CR after LF for printk.
2000-08-11 19:53:18 +00:00
Joel Sherrill
57b1f53b1e 2000-08-11 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* README: Updated
	* console/console.c: Fix polled input.
	Add support for shared printk.
	Add support for more flexible polled I/O with and without termios.
	I/O mode and console is selectable either from NVRAM or from
	mvme167.cfg.  Clean up comments.
2000-08-11 19:29:54 +00:00
Joel Sherrill
ed09fd77fc 2000-08-11 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* README: Updated
	* console/console.c: Fix polled input.
	Add support for shared printk.
	Add support for more flexible polled I/O with and without termios.
	I/O mode and console is selectable either from NVRAM or from
	mvme167.cfg.  Clean up comments.

2000-08-11  Charles-Antoine Gauthier  <charles.gauthier@nrc.ca>

	* startup/page_table.c (page_table_init): Reorganize NVRAM parameters.
	* include/bsp.h: Reorganize NVRAM parameters.
	Add support for shared printk.
	* times: These are the times for the MVME167, not the MBX860-002.

2000-08-11  John Cotton  <john.cotton@nrc.ca>

	* network/network.c: Fix NVRAM configuration parameter
	handling from previous revision.
	Check J1-4,  restructure NVRAM parameter handling.

2000-08-11  Charles-Antoine Gauthier  <charles.gauthier@nrc.ca>

	* network/network.c: Cleanup of network driver to reduce warnings.
	Addition of second parameter to uti596_attach.
2000-08-11 19:26:31 +00:00
Joel Sherrill
59d4d51335 2000-08-10 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* README: Updated.
	* console/console.c: Addition of support for shared printk and
	no termios.
	* include/bsp.h: Addition of second parameter to
	rtems_enet_driver_attach. Removed prototypes for printk and
	BSP_output_string.
	* network/network.c(rtems_enet_driver_attach): Addition of second
	parameter to function.
2000-08-10 16:22:27 +00:00
Joel Sherrill
38dff47b2d 2000-08-10 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* console-generic/console-generic.c: Addition of support for shared
	printk and no termios.

2000-08-10	Charles-Antoine Gauthier  <charles.gauthier@nrc.ca>

	* console-generic/console-generic.c(m8xx_uart_pollWrite):
	Flush actual buffer.
2000-08-10 16:20:42 +00:00
Joel Sherrill
4a5578aed2 2000-08-10 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* shared/src/cache_manager.c (rtems_cache_flush_multiple_data_lines,
	rtems_cache_invalidate_multiple_data_lines): Do not operate on the
	entire address space when flushing zero bytes.
2000-08-10 14:23:11 +00:00
Joel Sherrill
d2978ee987 2000-08-10 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* shared/src/cache_manager.c (rtems_cache_flush_multiple_data_lines,
	rtems_cache_invalidate_multiple_data_lines): Do not operate on the
	entire address space when flushing zero bytes.
2000-08-10 14:09:51 +00:00
Joel Sherrill
e94ad1feb9 Adding ChangeLogs. 2000-08-10 13:24:00 +00:00
Joel Sherrill
964717bb56 Now compiles after breaking things with mvme16x_hw.h 2000-08-04 22:29:51 +00:00
Joel Sherrill
5b8d82a2a7 IEEE
====
-4 = {d = -4, i = {0xc0100000, 0x0}} s=1 e=0x80 m=0x100000 (0x0900000)
-3 = {d = -3, i = {0xc0080000, 0x0}} s=1 e=0x80 m=0x080000 (0x0880000)
-2 = {d = -2, i = {0xc0000000, 0x0}} s=1 e=0x80 m=0x000000 (0x0800000)
-1 = {d = -1, i = {0xbff00000, 0x0}} s=1 e=0x7f m=0x000000 (0x0800000)
 0 = {d =  0, i = {0x00000000, 0x0}} s=0 e=0    m=0x000000 (0x0800000)
 1 = {d =  1, i = {0x3ff00000, 0x0}} s=0 e=0x7f m=0x000000 (0x0800000)
 2 = {d =  2, i = {0x40000000, 0x0}} s=0 e=0    m=0x000000 (0x0800000)
 3 = {d =  3, i = {0x40080000, 0x0}} s=0 e=0    m=0x080000 (0x0880000)

C4X
===
-4 = {d = -4, i = {0x01800000, 0x0}} s=1 e=1    m=0x800000 (0x1000000)
-3 = {d = -3, i = {0x01c00000, 0x0}} s=1 e=1    m=0xa00000 (0x1400000)
-2 = {d = -2, i = {0x00800000, 0x0}} s=1 e=0    m=0x800000 (0x1000000)
-1 = {d = -1, i = {0xff800000, 0x0}} s=1 e=0xff m=0x000000 (0x1000000)
 0 = {d =  0, i = {0x80000000, 0x0}} s=0 e=0    m=0x000000 (0x0800000)
 1 = {d =  1, i = {0x00000000, 0x0}} s=0 e=0x7f m=0x000000 (0x0800000)
 2 = {d =  2, i = {0x01000000, 0x0}} s=0 e=1    m=0x400000 (0x0800000)
 3 = {d =  3, i = {0x01400000, 0x0}} s=0 e=1    m=0x600000 (0x0c00000)
 4 = {d =  4, i = {0x02000000, 0x0}} s=0 e=2    m=0xXXXXXX (0x0000000)

0x1010 0000
  0101 0000
  0010 1002
2000-08-03 14:43:33 +00:00
Joel Sherrill
0e08ff0033 Patch from Eric Norum <eric@cls.usask.ca> to add optional support for
fast mutexes that bypass the API level to directly interface with the
SuperCore.
2000-08-02 21:12:36 +00:00
Joel Sherrill
3393f6dda3 Patch from Eric Norum <eric@cls.usask.ca> to add "attaching" argument
to driver attach routine.
2000-08-02 21:08:44 +00:00
Joel Sherrill
9b7621f75b New file. 2000-08-02 17:04:07 +00:00
Joel Sherrill
15c48f4c67 Properly pass argc, argc, and environp to boot_card. 2000-08-02 16:30:57 +00:00
Joel Sherrill
23e3ce641a Split out items shared with mvme167. 2000-08-02 16:28:06 +00:00
Joel Sherrill
354d47f0ff Moved base address to 0x20000. 2000-08-02 16:27:02 +00:00
Joel Sherrill
240936fda5 Added (untested) network driver from mvme167. 2000-08-02 16:26:44 +00:00
Joel Sherrill
9bb1a937a2 Compiles now. 2000-08-01 20:51:34 +00:00
Joel Sherrill
b812f84155 Added sim68000 BSP for the BSVC simulator. This BSP includes the
alias simcpu32 that supports the CPU32 simulator in BSVC.  At this
point, it is still under development.
2000-08-01 20:01:14 +00:00
Joel Sherrill
499d443996 Look at both hardware and software FP settings. 2000-08-01 19:42:39 +00:00
Joel Sherrill
5ede970698 If the _VBR is set to 0xFFFFFFFF, then assume the vector jump table is
in ROM.
2000-08-01 19:38:52 +00:00
Joel Sherrill
47ca0d0a51 The fp_context field is needed if software or hardware floating point
is available.
2000-08-01 18:26:02 +00:00
Joel Sherrill
4f8473e268 Reversing spurious change.. disk crash? 2000-08-01 18:22:22 +00:00
Joel Sherrill
e6890ba1f5 Patch from Eric Norum <eric@cls.usask.ca> to avoid lockup under
the correct circumstances of DMA buffer size, serial
line interrupts, and ethernet interrupts the termios osend routine would
lock up waiting for the raw output buffer semaphore.
2000-08-01 15:23:59 +00:00
Joel Sherrill
1611244202 Even more updates. 2000-08-01 15:21:02 +00:00
Joel Sherrill
e6b3db9eff Increased the defaults to be more reasonable. 2000-08-01 15:16:18 +00:00
Joel Sherrill
343ac93b41 Patch rtems-rc-20000801-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that switches the sparc from targopts.h to cpuopts.h.
2000-08-01 14:19:13 +00:00
Joel Sherrill
ff0187023f Removed unused macro. 2000-08-01 14:13:02 +00:00
Joel Sherrill
327cf9134c Corrected BSP name in script. 2000-08-01 14:12:46 +00:00
Joel Sherrill
dc12bf41d5 Added numerous BSPs. 2000-08-01 14:12:33 +00:00
Joel Sherrill
c9f7123ae9 New files. 2000-08-01 14:06:35 +00:00
Joel Sherrill
68132f2e8e ARMulator BSP now runs with gdb 5.0. 2000-08-01 14:06:11 +00:00
Joel Sherrill
3631dad88f Closer to linking. h8300-rtems-ld now core dumps. 2000-07-31 19:23:21 +00:00
Joel Sherrill
caf8869939 New bsp for simulator in gdb. Does not work yet. 2000-07-31 18:29:37 +00:00
Joel Sherrill
2d354ea6a5 Minor problems addressed with the merger and with the arm_bare_bsp.
That BSP now has a stub clock driver so the tests can link even
if they won't execute.  A handful of Makefiles had to be updated
and we had to account for printk.c being a shared file now.
2000-07-27 06:17:44 +00:00
Joel Sherrill
08330bf0be Port of RTEMS to the ARM processor family by Eric Valette
<valette@crf.canon.fr> and Emmanuel Raguet <raguet@crf.canon.fr>
of Canon CRF - Communication Dept.  This port includes a
basic BSP that is sufficient to link hello world.
2000-07-27 01:04:11 +00:00
Joel Sherrill
db9ae7078d Patch from Charles-Antoine Gauthier <charles.gauthier@nrc.ca> that
removes warnings from the network.c file and has slight additions
to the configuration file to support Java.
2000-07-26 21:15:27 +00:00
Joel Sherrill
8c3c1763f0 Added ifdef on C4x to avoid invalid address alignment checks since there
is no such thing on the C4x.
2000-07-26 20:44:11 +00:00
Joel Sherrill
ca7858bb88 Port of RTEMS to the Texas Instruments C3x/C4x DSP families including
a BSP (c4xsim) supporting the simulator included with gdb.  This port
was done by Joel Sherrill and Jennifer Averett of OAR Corporation.
Also included with this port is a space/time optimization to eliminate
FP context switch management on CPUs without hardware or software FP.

An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8)
on this CPU.  This required addressing alignment checks and assumptions
as well as fixing code that assumed sizeof(unsigned32) == 4.
2000-07-26 19:28:11 +00:00
Joel Sherrill
17508d02bb Port of RTEMS to the Texas Instruments C3x/C4x DSP families including
a BSP (c4xsim) supporting the simulator included with gdb.  This port
was done by Joel Sherrill and Jennifer Averett of OAR Corporation.
Also included with this port is a space/time optimization to eliminate
FP context switch management on CPUs without hardware or software FP.

An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8)
on this CPU.  This required addressing alignment checks and assumptions
as well as fixing code that assumed sizeof(unsigned32) == 4.
2000-07-26 19:26:28 +00:00
Joel Sherrill
6b4a11bf4e Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that removes an unnecessary inclusion of @RTEMS_BSP@.cfg.
2000-07-25 13:38:03 +00:00
Joel Sherrill
ca8dfbcc6b Forgot to remove these when code moved. 2000-07-25 11:48:33 +00:00