| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Also use the const qualifier on the address pointer's target in in_*()
Closes #2128
|
| |
|
| |
|
| |
|
|
|
|
| |
warning and clean up
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of SPRG0 (= special purpose register 272) use the new global
symbol _PPC_INTERRUPT_DISABLE_MASK to store the interrupt disable mask.
The benefit is that it is now possible to disable interrupts without
further run-time initialization in boot_card().
At least on Freescale e500 cores this leads also to a faster execution
since the mfmsr and mfspr instruction require four cycles to complete.
The instructions to load the mask value can execute while the mfmsr is
in progress.
|
|
|
|
|
|
|
|
|
| |
Add a CPU counter interface to allow access to a free-running counter.
It is useful to measure short time intervals. This can be used for
example to enable profiling of critical low-level functions.
Add two busy wait functions rtems_counter_delay_ticks() and
rtems_counter_delay_nanoseconds() implemented via the CPU counter.
|
|
|
|
|
|
|
|
|
| |
Do not return from rtems_initialize_start_multitasking() and call
rtems_fatal() instead with a fatal source of RTEMS_FATAL_SOURCE_EXIT and
a fatal code with the exit status.
Remove all bsp_cleanup() functions. The boot_card() is now a no return
function.
|
| |
|
|
|
|
|
|
|
| |
Include <bsp/default-initial-extension.h> in all BSPs. Call
rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit()
status code as fatal code in every bsp_cleanup(). Move previous
bsp_cleanup() code into bsp_fatal_extension().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
PR 1824/cpukit
* startup/bspclean.c: Return exit/shutdown status back to boot_card().
boot_card() propagates this to bsp_cleanup() and returns it to the
assembly that started the application. bsp_cleanup() prototype
changed.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1786/bsps
* Makefile.am: Add support for Altivec.
* startup/bspstart.c, Makefile.am: Use shared/startup/zerobss.c instead.
* make/custom/mvme5500.cfg: Change CPU_CFLAGS to
"-mcpu=7450 -mtune=7450 -Dmpc7455"
* irq/BSP_irq.c, pci/detect_host_bridge.c, pci.c, pcifinddevice.c:
Remove warnings.
* vme/VMEConfig.h, include/bsp.h: use VME shared IRQ handlers.
* network/if_100MHz/GT64260eth.c: Recycle the Rx mbuf if there
is any Rx error.
|
|
|
|
|
| |
PR 1684/bsps
* startup/bspstart.c: Add BSP_poll_char.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* irq/BSP_irq.c, network/if_100MHz/GT64260eth.c,
network/if_1GHz/if_wm.c, network/if_1GHz/pci_map.c,
startup/bspstart.c: Add missing prototypes.
Adjust bogus types. Remove unused vars.
|
|
|
|
|
|
| |
* start/start.S, startup/bspstart.c:
let 'save_boot_params()' return a pointer to the commandline
saved by the BSP and pass this pointer on to 'boot_card()'.
|
|
|
|
| |
* startup/bspstart.c: Remove nested externs.
|
|
|
|
| |
* startup/bspstart.c: Remove __RTEMS_APPLICATION__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/bsp.h, start/start.S, startup/bspstart.c:
added CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK in bsp.h.
removed BSP_INIT_STACK_SIZE in bsp.h -- it uses __stack defined
by the linker script (shared/startup/linkcmds) for the initial
stack.
replaced __rtems_end+4096 with __stack in start.S
Removed legacy code in bspstart.c (inherited from old mvme2307 BSP
but not relevant to this one) that tested trapping
into PPCBug.
Changed ConfVPD_buff[] to be static and added ReadConfVPD_buf() in
bspstart.c
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, README.booting, include/bsp.h, startup/bspclean.c,
vectors/exceptionhandler.c: Use standardized bsp_cleanup() which can
optionally print a message, poll for user to press key, and call
bsp_reset(). Using this eliminates the various bsp_cleanup()
implementations which had their own implementation and variety of
string constants.
* startup/bspreset.c: New file.
* startup/reboot.c: Removed.
|
|
|
|
|
| |
* Makefile.am, configure.ac, include/bsp.h, startup/bspstart.c: Use
PowerPC level shared bsp_get_work_area() implementation.
|
|
|
|
|
| |
* startup/bspstart.c: Add use of bsp_get_work_area() in its own file
and rely on BSP Framework to perform more initialization.
|
|
|
|
|
|
| |
* startup/bspstart.c: Review of all bsp_cleanup() implementations. In
this phase, all prototypes were removed from bsp.h and empty
implementations were removed and made to use the shared stub.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* startup/bspstart.c: Refactored and renamed initialization routines to
rtems_initialize_data_structures, rtems_initialize_before_drivers,
rtems_initialize_device_drivers, and
rtems_initialize_start_multitasking. This opened the sequence up so
that bootcard() could provide a more robust and flexible framework
which is easier to explain and understand. This also lays the
groundwork for sharing the division of available memory between the
RTEMS workspace and heap and the C library initialization across all
BSPs.
|
|
|
|
|
|
| |
* include/bsp.h, startup/bspstart.c: Eliminate copies of the
Configuration Table. Use the RTEMS provided accessor macros to obtain
configuration fields.
|
|
|
|
|
|
| |
* include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
from CPU Table to Configuration Table. Eliminate CPU Table from all
ports. Delete references to CPU Table in all forms.
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, include/bsp.h, startup/bspstart.c: Moved most of the
remaining CPU Table fields to the Configuration Table. This included
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
do_zero_of_workspace, extra_mpci_receive_server_stack,
stack_allocate_hook, and stack_free_hook. As a side-effect of this
effort some multiprocessing code was made conditional and some style
clean up occurred.
|
|
|
|
| |
* startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
|
|
|
|
|
|
| |
* startup/bspstart.c: Eliminate PowerPC specific elements from the CPU
Table. They have been replaced with variables named bsp_XXX as
needed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ChangeLog, Makefile.am, README, README.booting, README.irq,
preinstall.am, GT64260/MVME5500I2C.c, include/bsp.h, irq/irq.c,
irq/irq.h, irq/irq_init.c, pci/detect_host_bridge.c, pci/pci.c,
pci/pci_interface.c, pci/pcifinddevice.c, start/preload.S,
startup/bspclean.c, startup/bspstart.c, startup/pgtbl_activate.c,
startup/reboot.c, vectors/bspException.h, vectors/exceptionhandler.c:
Merge my improvements in this BSP including a new network
driver for the 1GHz NIC.
* network/if_100MHz/GT64260eth.c, network/if_100MHz/GT64260eth.h,
network/if_100MHz/GT64260ethreg.h, network/if_100MHz/Makefile.am,
network/if_1GHz/Makefile.am, network/if_1GHz/POSSIBLEBUG,
network/if_1GHz/if_wm.c, network/if_1GHz/if_wmreg.h,
network/if_1GHz/pci_map.c, network/if_1GHz/pcireg.h: New files.
|
|
|
|
|
|
| |
* startup/bspstart.c: Remove assignments of
Cpu_table.do_zero_of_workspace to TRUE since TRUE is the default
value in boot_card.c
|
|
|
|
|
|
|
|
|
|
|
| |
* ep1a/vme/vmeconfig.c, mvme5500/pci/pcifinddevice.c,
* mvme5500/startup/pgtbl_activate.c, mvme5500/vectors/bspException.h,
* mvme5500/vectors/exceptionhandler.c, mvme5500/vme/VME.h,
* mvme5500/vme/vmeconfig.c, score603e/vme/vmeconfig.c, shared/pci/pcifinddevice.c,
* shared/startup/pgtbl_activate.c, shared/startup/pgtbl_setup.c,
* shared/startup/probeMemEnd.c, shared/startup/sbrk.c, shared/vme/VME.h,
* shared/vme/VMEConfig.h, shared/vme/vme_universe.c, shared/vme/vmeconfig.c:
Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
|
|
|
|
|
|
|
|
|
| |
* startup/linkcmds: Removed.
* Makefile.am, start/preload.S, startup/bspstart.c: use linkcmds
from shared area - this version seemed broken anyways. Let the
preloader use the generic 'entry_point_section' rather than its own
'mvme5500_preloader_section'. Also, let zero_bss use (implicit?)
__SBSSxxx__ symbols.
|
|
|
|
|
| |
PR 844/bsps
* startup/bspstart.c: Include <rtems/bspIo.h>.
|
|
|
|
| |
running.
|
| |
|
|
|
|
|
| |
* pci/pci.c, pci/pci.h, startup/bspstart.c: Name change to support
common PCI interface
|
|
|
|
|
|
| |
* GT64260/GT64260TWSI.c, GT64260/GT64260TWSI.h, irq/GT64260Int.c,
network/GT64260eth.c, pci/pci.c, startup/bspclean.c,
startup/reboot.c: Fix warnings.
|
|
|
|
| |
* startup/linkcmds: add missing section to link cmds
|
|
|
|
|
| |
* pci/pci.c, pci/pci.h, startup/bspstart.c: Make PCI initialize
function part of the unified PCI API as pci_initialize().
|
|
|
|
|
|
| |
* startup/bspstart.c: include <rtems/powerpc/powerpc.h>.
Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
CPU_MINIMUM_STACK_FRAME_SIZE.
|
|
|
|
| |
* irq/irq.c, startup/bspstart.c: Now compiles with gcc 4.x.
|
|
|
|
|
| |
* startup/bspstart.c: Remove warnings for variables only used when
certain conditionals are enabled..
|