| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
| |
Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable()
to not return a status code. Add bsp_interrupt_assert() and use it to
validate the vector number in the vector enable/disable implementations.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change starts with removing the effectively empty file
timerdrv.h. The prototypes for benchmark_timer_XXX() were in
btimer.h which was not universally used. Thus every use of
timerdrv.h had to be changed to btimer.h. Then the prototypes
for benchmark_timer_read() had to be adjusted to return
benchmark_timer_t rather than int or uint32_t.
I took this opportunity to also correct the file headers to
separate the copyright from the file description comments which
is needed to ensure the copyright isn't propagated into Doxygen
output.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
|
|
|
| |
* timer/timer.c: Retry up to 5 times when the calibration loop fails.
|
|
|
|
|
| |
* timer/timer.c: Include <rtems/btimer.h>.
Fix benchmark_timer_read() definition.
|
|
|
|
|
|
|
| |
* clock/rtc.c, console/console.c, console/inch.c, console/outch.c,
include/bsp.h, include/crt.h, ne2000/ne2000.c, startup/bspcmdline.c,
startup/bspstart.c, startup/ldsegs.S, timer/timer.c,
timer/timerisr.S: Fix typo where license said found in found in.
|
|
|
|
| |
* timer/timer.c: Do not do the indirect call if NULL.
|
|
|
|
| |
* timer/timer.c: Now runs on 486 and below again. Reformatted.
|
|
|
|
|
|
|
|
|
| |
Michael South <msouth@msouth.org>
PR 1344/bsps
* configure.ac, clock/ckinit.c, timer/timer.c: Add use of TSC for
nanoseconds granularity. i8254 is very slow on some systems. TSC use
is auto-detected by default.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* timer/timer.c: Eliminate empty function from every benchmark timer
driver. Fix spelling.
|
|
|
|
|
| |
* timer/timer.c: Rename timer driver methods to follow RTEMS
programming conventions.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* timer/timer.c: Enhance to use either interupt-based timer
functions on older CPUs or to use TSC-based timer functions on
more recent (Pentium and above) CPUs. The decision is made in
Timer_initialize function when it is called for the first time
based on a result obtained from cpuid instruction during the BSP
initialization phase. During the first call, there are also late
bindings to the implementation functions initialized to
appropriate values.
|
|
|
|
|
|
|
| |
* 3c509/3c509.c, clock/ckinit.c, console/console.c, console/fb_vga.c,
console/inch.c, console/ps2_mouse.c, console/serial_mouse.c,
ne2000/ne2000.c, timer/timer.c, wd8003/wd8003.c: Moved irq.h to bsp
subdirectory.
|
|
|
|
|
| |
* clock/ckinit.c, console/console.c, console/ps2_mouse.c,
console/serial_mouse.c, timer/timer.c: Added parameter to irq handler
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* clock/ckinit.c, clock/rtc.c, console/inch.c, ide/ide.c,
include/bsp.h, startup/bspstart.c, timer/timer.c: Convert to using
c99 fixed size types.
|
|
|
|
|
|
|
|
| |
* clock/ckinit.c, clock/rtc.c, console/console.c, console/inch.c,
console/outch.c, ide/ide.c, include/bsp.h, include/crt.h,
ne2000/ne2000.c, start/start.S, startup/bspstart.c, startup/exit.c,
startup/ldsegs.S, startup/linkcmds, timer/timer.c, timer/timerisr.S:
URL for license changed.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* console/inch.c, console/keyboard.c, console/pc_keyb.c,
console/vt.c, include/bsp.h: Correct incorrect interrupt level
handling in new keyboard management code. Correct
BSP_poll_char initialization routine.
* start/start.S, startup/bspstart.c: Correct when the video is
initialized.
* timer/timer.c (Calibrate_1ms_loop): Address problem where this
did not work correctly on all PC speeds. The new calibrate routine
has been tested on Pentium 166, pentium II 200, pentium III
300 Mhz and does work as expected.
|
| |
|
| |
|
|
|
|
|
|
| |
Emmanuel Raguet <raguet@crf.canon.fr> to eliminate a problem
during the boot process on the pc386 BSP. On fast PC's the
calibration routine would hand.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
moves pieces of the pc386 bsp up to a shared level for all i386 BSPs
and modifies the i386ex BSP to use those shared pieces. Serial remote
debugging is included for both targets. Erik's notes:
There are several workarounds in it:
1) #define NEXT_GAS is hardcoded in pc386/start/start.s
2) #define NEXT_GAS is hardcoded in i386ex/start/start.s
3) #define NEW_GAS is hardcoded in pc386/start16.s
4) #undef __assert and redeclare _assert hardcoded in console.c for
both pc386 and i386ex due to my egcs1.1b ~ newlib problem. Should have
modified t-rtems.cfg ( no time )
I've tested pc386 with both video and serial consoles and GDB remote.
All work fine, except that GDB acts weird. ( re: other posting)
I hope this will work for you. It took quite some time to locate the
autoconf error. The remainder was just grunt work.
Unfortunately, I think I've unwound the removal of the IBMPCInitVideo
stuff. Sorry. I REALLY can't spend more time... I've been at this
conversion to 4.0 locally and updating the release since Sept. 8th, and
have yet to compile my network driver.... This is as much as I can do
right now.
I look forward to the next patch to really test i368ex. I did make sure
that the sample tests worked for pc386.
|
|
|
|
|
|
|
|
|
| |
After some good comments from Eric Norum [thanks, Eric !],
I have added some modifications to my previous driver patch :
- wait for transmitter ready before sending a packet,
- new delay management in case of ring-overwritting.
|
|
|
|
|
|
| |
It fixes netboot build problem, KA9Q configuration
for pc386, some compiler wardning, it also removed some stuff
ifdef'ed with '#if 0'.
|
|
|
|
| |
inline with the new IRQ structure.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Here is a enhanced version of my previous patch. This patch enables
to potentially share the new interrupt management code for all Intel targets
(pc386, go32 and force386) bsp.
Note : this patch is complete only for pc386. It still needs to
be completed for go32 and force386. I carrefully checked
that anything needed is in for force386 (only some function
name changes for IDT manipulation and GDT segment
manipulation). But anyway I will not be able to test any
of theses targets...
|
| |
|
|
|
|
|
|
|
|
|
|
| |
> RTEMS is under CVS control and has been since rtems 3.1.16 which was
> around May 1995. So I just to add the $Id$. If you notice other files
> with missing $Id$'s let me know. I try to keep w\up with it.
Now that you have asked -- I'll attach a list of files lacking an RCS-Id to
this mail. This list has been generated by a little sh-script I'll also
enclose.
|
|
<pmcnr@camoes.rnl.ist.utl.pt> and Jose Rufino <ruf@asterix.ist.utl.pt>
of NavIST (http://pandora.ist.utl.pt/).
|