Commit Graph

1621 Commits

Author SHA1 Message Date
Joel Sherrill
cec1095101 changed version to 980604 1998-06-04 15:15:30 +00:00
Joel Sherrill
1388d19eea Regenerated aclocal and configure after cleaning up the check that
a BSP source directory was present to eliminate a chunk of redundant code.
1998-06-04 15:15:08 +00:00
Joel Sherrill
70b0d6634d Added support for -qrtems_debug flag. 1998-06-04 13:08:02 +00:00
Joel Sherrill
ea57368f1b Removed PPC_Get_timebase_register() as this is now provided by the PowerPC
port itself.
1998-06-03 19:01:21 +00:00
Joel Sherrill
3c7916f21c Update from Pedro Romano <pmcnr@camoes.rnl.ist.utl.pt> with an attempt
to fix start16.s.  It does not work locally.
1998-06-03 19:00:57 +00:00
Joel Sherrill
937a6f3cef Added CPU_ISR_PASSES_FRAME_POINTER so some ports could pass just the
vector number to user ISR's and other ports could pass both the vector
number and a pointer to the ISF.
1998-06-03 19:00:17 +00:00
Joel Sherrill
75d0b0b83a Corrected macros for assembly language program sections. 1998-06-03 18:49:38 +00:00
Joel Sherrill
5184958afe Update from Pedro Romano <pmcnr@camoes.rnl.ist.utl.pt> which replaces C++
versions of these utilities with C implementations.
1998-06-03 18:47:44 +00:00
Joel Sherrill
1ce50e0e50 Changed spacing 1998-06-03 18:40:21 +00:00
Joel Sherrill
3ac5966643 Changed BSP name to posix. 1998-06-03 18:40:10 +00:00
Joel Sherrill
b938d3d43b Changed ppc to PowerPC in comments. 1998-06-03 18:39:53 +00:00
Joel Sherrill
d7c9cbe449 ppc-rtems is now an alias for powerpc-rtems. 1998-06-03 11:22:18 +00:00
Joel Sherrill
64be9d4673 Added some missing files per Eric Norum. 1998-06-02 17:38:16 +00:00
Joel Sherrill
3b0f7cc3a3 Added text from Erik Ivanenko <erik.ivanenko@utoronto.ca> describing
transition from real to protected mode and modified the spacing.
1998-06-01 15:14:36 +00:00
Joel Sherrill
2785eab264 Changed calculaction for Clock_Decrementer_value to use the
BSP_configuration table.
1998-05-30 16:01:12 +00:00
Joel Sherrill
95a683b57b Set console to port 2.
Changed #if defined to a #if check for CONSOLE_USE_INTERRUPTS.
1998-05-30 15:58:37 +00:00
Joel Sherrill
a874427306 Made Debug defination a null routine. 1998-05-30 15:55:46 +00:00
Joel Sherrill
b317117a71 clicks_per_usec had to be cut in half (unknown reason).
fixed starting address.
1998-05-30 15:53:19 +00:00
Joel Sherrill
dc104a4039 Updated to current source and removed warnings. 1998-05-30 11:46:21 +00:00
Joel Sherrill
a38b9f89ac Used shared sbrk.c. 1998-05-30 10:42:01 +00:00
Joel Sherrill
825a2bb573 Use shared initialization. 1998-05-30 10:41:21 +00:00
Joel Sherrill
55b517cb4e Rewrote in C to avoid Makefile problems. 1998-05-30 10:32:19 +00:00
Joel Sherrill
9c559accc0 New file -- from rtems-LM-980406 based on a 12/97 RTEMS snapshot. 1998-05-30 10:17:57 +00:00
Joel Sherrill
c932d85019 New files -- from rtems-LM-980406 which was based on an RTEMS from 12/97.
This was called the dmv170 BSP in that source tree but since the DMV171
is now obsolete, we have transitioned to the DMV177 and have no intention
of checking compatibility with any other models.
1998-05-30 10:09:14 +00:00
Joel Sherrill
2e4b3d03da changed version to 980527 1998-05-27 22:10:10 +00:00
Joel Sherrill
1278ea1b37 Deleted blank lines. 1998-05-27 22:09:47 +00:00
Joel Sherrill
bb6d368d02 Added "speaker on" debug code. 1998-05-27 22:09:39 +00:00
Joel Sherrill
27291bcc55 Changed invocation of bin2boot to match gcc 2.8 rule. 1998-05-27 22:07:40 +00:00
Joel Sherrill
4050a7fb50 Numerous changes including the following:
+ DEBUG_EARLY_START re-added (Eric Valette)
  + segment register initialization (Aleksey/Quality Quorum)
  + heap size use correction
  + more debug printk's
  + increased heap size.

Now works with grub boot on all systems I have access to including
desktops and a laptop.  This is with the i386-rtems tools.
Neither i386-rtemself nor netboot produces a working executable.
1998-05-27 19:34:37 +00:00
Joel Sherrill
c2c9c7e58f Added names for C++ compilers. 1998-05-27 19:26:09 +00:00
Joel Sherrill
339cc25c20 Moved rtemsReboot() to console/inch.c. 1998-05-27 19:24:57 +00:00
Joel Sherrill
a92adc63d6 Deleted HEAP_SIZE constant. 1998-05-27 19:20:55 +00:00
Joel Sherrill
37eacd7158 Removed illegally formatted comments. 1998-05-27 19:20:38 +00:00
Joel Sherrill
8d62ece80e Moved rtemsReboot() to here from exit.c. This appears to have been
necessary because a patch did not apply cleanly.
1998-05-27 19:19:31 +00:00
Joel Sherrill
71d07b9ddf Corrected interrupt stack allocation. 1998-05-27 19:18:02 +00:00
Joel Sherrill
6bb69304d2 Regenerated. 1998-05-27 19:17:32 +00:00
Joel Sherrill
448ba47a4c Fixed spacing 1998-05-27 12:26:07 +00:00
Joel Sherrill
139e6efe3c Fix from Jiri Gaisler <jgais@ws.estec.esa.nl> for a problem in which
external interrupt priorities were not being honored.  Here is some
of his original report:

    using rtems/erc32, I have a problem with interrupt priority when
    interrupts occure simultaneously. Erc32 has an interrupt force
    register where interrupts can be generated. If more than one
    interrupt is generated, the interrupt handlers are scheduled in
    the wrong order, i.e. with the lowest priority first.

    I have attched a program that generates three interrupts, 0x11, 0x12
    and 0x13. Interrupt 0x13 should be handled first, but is actually
    handled last. Below is the output from sis:

        sis> go
        resuming at 0x02000000
        RAM size: 4096 K, ROM size: 2048 K
        Watchdog disabled
        Waitstates = RAM read: 0, RAM write: 0, ROM read: 0, ROM write: 0
        Power-down mode enabled
        infinite UART baudrate
        External interrupt received with vector 0x11
        External interrupt received with vector 0x12
        External interrupt received with vector 0x13

    I have verified that sis generates the interrupts in the correct
    order, i.e. 0x13 first, then 0x12 and then 0x11. So the problem
    seems to be in the rtems interrupt handler. Do you use the PIL field
    in the %psr register to mask lower priority interrupts or are all
    external interrupts considered to have the same priority ..?

Here is a description of the fix:

  it turned out that lower priority interrupts were not at all masked
  off during interrupt handling. I made the following fix to cpu_asm.s:
       ... fix is in the code ...
  There might be a simpler way of doing this, but this works...
1998-05-27 12:21:32 +00:00
Joel Sherrill
a31f0643f6 Changed process group routines to unimplementable. 1998-05-22 15:05:33 +00:00
Joel Sherrill
9cc86e291c Updated after addition of some routines by Eric Norum. 1998-05-22 15:02:53 +00:00
Joel Sherrill
119bced0fd Added tcdrain(), cfgetospeed(0, cfsetospeed(), cfgetispeed(), and
cfsetispeed().
1998-05-22 14:51:11 +00:00
Joel Sherrill
e2476ed4d1 Added tcdrain(), cfgetospeed(), cfsetospeed(), cfgetispeed(), and cfsetispeed(). 1998-05-22 14:49:49 +00:00
Joel Sherrill
cdf6fcbccb Now uses BSP specific configure variables and compiles for i486 and m68k. 1998-05-22 12:30:19 +00:00
Joel Sherrill
6fa12899c4 Renamed bare BSP specific options to make the dependency obvious. 1998-05-22 12:29:13 +00:00
Joel Sherrill
06e326b67f UNIX port now builds and runs cleanly with both C++ support enabled
and disabled.
1998-05-22 12:28:35 +00:00
Joel Sherrill
c19a29b458 Added call to console_reserve_resources back in. 1998-05-22 12:27:51 +00:00
Joel Sherrill
082214d0c8 Regenerated after removing SIZE_FOR_TARGET change after Ralf
pointed out that gcc does not properly report it all the time.
1998-05-22 12:27:08 +00:00
Joel Sherrill
232429f6cc Removed SIZE_FOR_TARGET change after Ralf pointed out that gcc does
not properly report it all the time.
1998-05-22 12:26:47 +00:00
Joel Sherrill
550ca7d5e4 hppa1.1 -> hppa1_1 remapping crept back in somehow -- gona again.
Bare BSP is now only enabled when explicitly specified.

Bare BSP options and variables are clearly named so as to be obviously
BSP specific.  This should avoid conflicts.
1998-05-22 12:25:52 +00:00
Joel Sherrill
9d09d13808 Added main() which did not require C++ support. A different main
is used based on whether C++ is enabled or disabled.
1998-05-22 11:03:03 +00:00