Commit Graph

1184 Commits

Author SHA1 Message Date
Joel Sherrill
82edf48c63 2000-08-30 Joel Sherrill <joel@OARcorp.com>
* rtems_webserver/license.txt: New file.
2000-08-30 16:52:35 +00:00
Joel Sherrill
50d6077e85 2000-08-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add lib/libcpu and lib/libbsp to cfg_subdirs
2000-08-30 08:22:01 +00:00
Joel Sherrill
152b1e31c3 2000-08-26 Rosimildo da Silva <rdasilva@connecttel.com>
* Added generic Micro FrameBuffer interface for MicroWindows.
	This interface allows MicroWindows to under RTEMS. A sample
	driver has been developed for the pc386 BSP. See
	pc386/fb_vga.c as a sample.
	* Added Uniform Input Device interface for MicroWindows.
	See PC386 bsp for sample drivers for mouse and keyboard (console).
	* mw-bf: New directory.
	* Makefile.am, configure.in, wrapup/Makefile.am: Account for mw-fb.
	* mw-fb/Makefile.am: New file.
	* mw-fb/mw_fb.c: New file.
	* mw-fb/mw_fb.h: New file.
	* mw-fb/mw_uid.c: New file.
	* mw-fb/mw_uid.h: New file.
2000-08-30 08:21:24 +00:00
Joel Sherrill
9c1c574bca 2000-08-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* taskstart.c: Removed 1st cut at rtems_task_start_main_style.
	Only committed this so it could be easily revisited as we
	discussing moving main() to user space from BSP space.
2000-08-30 07:55:39 +00:00
Joel Sherrill
67ebbcf72d 2000-08-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* taskstart.c: Added 1st cut at rtems_task_start_main_style.
2000-08-30 07:54:26 +00:00
Joel Sherrill
0b456f721e Correcting. 2000-08-29 14:51:44 +00:00
Joel Sherrill
eeec72f883 2000-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Spacing issues.
	* rtems/score/cpu.h: Removed warning by setting _level.
2000-08-29 14:47:09 +00:00
Joel Sherrill
ce6411d66f 2000-08-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Spacing issues.
	* rtems/score/cpu.h: Removed warning by setting _level.

2000-08-29	Joel Sherrill <joel.sherrill@OARcorp.com>

	* Makefile.am: Added S_O_FILES to list of objects.
2000-08-29 14:47:08 +00:00
Joel Sherrill
f79d358515 2000-08-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Added S_O_FILES to list of objects.
2000-08-29 14:46:18 +00:00
Joel Sherrill
8ca1e808e2 2000-08-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/system.h: Include cpuopts.h for __i386__.
2000-08-25 17:30:46 +00:00
Joel Sherrill
95990b57ea 2000-08-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/i386.h: cpu-variant define handling
	  Rewrite due to introduction of multilib defines.
	* asm.h: include cpuopts.h instead of targopts.h
2000-08-25 17:30:13 +00:00
Joel Sherrill
4b9a98ca60 2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/no_cpu.h: Modified so there are fewer and
	more consistent variations on "no cpu" so it is easier
	to sed the source as the starting point for a new port.
2000-08-25 17:17:06 +00:00
Joel Sherrill
b602c298a9 2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* inline/rtems/posix/timer.inl, include/rtems/posix/timer.h,
	inline/rtems/posix/Makefile.am, src/ptimer1.c: Redid the
	style of src/ptimer1.c.  Continued effort to make the
	POSIX Timer implementation match that of other managers.
	Added data structures required to use SuperCore Object Handler.
2000-08-25 17:15:44 +00:00
Joel Sherrill
1a3b28195d 2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* libc/fs_null_handlers.c: Added missing rmnod entry.
2000-08-25 17:12:14 +00:00
Joel Sherrill
662678d1d9 2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* libc/isatty.c, libc/imfs_handlers_directory.c, libc/creat.c,
	libc/imfs_directory.c: Fixed style issues.
2000-08-25 13:13:57 +00:00
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
e94ad1feb9 Adding ChangeLogs. 2000-08-10 13:24:00 +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
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
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
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
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
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
e001d84afb Use bitwise and not cast to unsigned16 to remove upper bits. 2000-07-24 22:28:15 +00:00
Joel Sherrill
09f52f00de Make _ISR_Dispatch global. 2000-07-17 13:05:28 +00:00
Joel Sherrill
fb31e1a2e7 Update from Philip Quaife <rtemsdev@qs.co.nz> that was hand-merged.
This update addresses the following:

  + the ISR enable/disable/flash macros now work with old gcc versions.
  + the UI CCR bits are now masked since other example code did so
  + _ISR_Dispatch disables interrupts during call setup

Together these removed the instabilities he was seeing.
2000-07-17 13:01:44 +00:00
Joel Sherrill
4dcd9436d4 Changed name of static table versions to avoid conflict. 2000-07-14 18:52:54 +00:00
Joel Sherrill
0e7da150a9 Removed no cpu references. 2000-07-11 21:38:41 +00:00
Joel Sherrill
4159370f5d Reworked score/cpu/sparc so it can be safely compiled multilib. All
routines and structures that require CPU model specific information
are now in libcpu.  This primarily required moving erc32 specific
information from score/cpu files to libcpu/sparc and the erc32 BSP.
2000-07-11 21:16:53 +00:00
Joel Sherrill
f38d829af4 Added Hitachi H8/300 to the list of CPUs that should be OK with
using cpuopts.h and not targopts.h.
2000-07-11 20:45:13 +00:00
Joel Sherrill
bc85fd5a6d Reworked score/cpu/i960 so it can be safely compiled multilib. All
routines and structures that require CPU model specific information
are now in libcpu.  This required significant rework of the
score/cpu header files and the creation of multiple header files
and subdirectories in libcpu/i960.
2000-07-11 19:31:04 +00:00
Joel Sherrill
270e3cce96 Patch rtems-rc-20000711-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that decouples exec/ for the sh, m68k and i960 from targopts.h.

NOTE: The change to system.h is a hack to enable cpuopts.h
for some targets, but keep using targopts.h for others - I know it
does *not* work for sparc, mips, i386 and ppc.  This will have
to be addressed as work continues on multilibing.
2000-07-11 14:56:04 +00:00
Joel Sherrill
e0ba3e80ef Patch rtems-rc-20000709-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that addresses aspects of the targopts.h multilib related
issues.

  Changes:
    * Move targopts.h to libbsp/include, because the current targopts.h
      actually is a per-BSP-header and therefore can not stay below exec/.

    * Introduce an autoheader generated header file
      (exec/score/include/rtems/score/cpuopts.h), which shall take per-cpu
      configuration options only.

    * Move all autoconf-detectable/configure specified per-cpu
      option-defines from targopts.h to cpuopts.h.

    * Add Makefiles to the libbsp/shared directory hierarchy.

  Notes:
    * The new per-bsp targopts.h in libbsp includes the per-cpu
      cpuopts.h. This way, the new targopts.h is kept backward compatible
      to the old targopts.h and existing BSPs which (carelessly) include
      targopts.h (i386, ppc) should be kept working when using the
      multilib-disabled configuration scheme.

    * cpuopts.h is not yet complete, because the per-BSP make-targopts
      rules from custom/<BSP>.cfg files can not be applied to files below
      exec/ when building multilibs.

    * All files below exec/ should not include targopts.h anymore, but
      should include cpuopts.h instead.  However, eliminating inclusion of
      targopts.h currently triggers further structural / header file inclusion
      related issues, because several ports apply BSP or CPU_MODEL specific
      defines from targopts.h below exec/
2000-07-10 19:23:38 +00:00
Joel Sherrill
80e53918dc Moved old_exception_processing and new_exception_processing directories
from score/cpu to libcpu because the determination of which to use is
based on RTEMS_CPU_MODEL.  Thus it can not be determined based solely on
multilib information.
2000-07-07 19:36:14 +00:00
Joel Sherrill
df97683373 Fixed problem reported by Victor V. Vengerov <Victor.Vengerov@oktet.ru>
where alarm() did not correctly account for the watchdog start_time
and stop_time fields being based on ticks not seconds.  This resulted
in alarm() returning a bogus number of seconds remaining.
2000-07-07 19:31:30 +00:00
Joel Sherrill
5f4d774ea7 Moved __RTEMS_APPLICATION__ conditional to include the use of the
static inline routine _CORE_mutex_Seize_interrupt_trylock since
static routines are not included when in an application.
2000-07-07 19:29:05 +00:00
Joel Sherrill
ce1ba298ed Switched to faster implementation. 2000-07-06 21:59:25 +00:00
Joel Sherrill
168ba07c84 Patch from Eric Valette <valette@crf.canon.fr> and Yacine El Kolli
<elkolli@crf.canon.fr> to add support for the mbx860_005b.
2000-07-06 20:36:48 +00:00