Commit Graph

28162 Commits

Author SHA1 Message Date
Sebastian Huber
4db0ae8e07 score: _Objects_Get_isr_disable()
Use ISR_lock_Context instead of ISR_Level to allow use of ISR locks for
low-level locking.

Update #2273.
2015-04-21 08:25:31 +02:00
Sebastian Huber
1981b4697e score: Add _ISR_lock_ISR_disable/enable() 2015-04-20 08:23:26 +02:00
Sebastian Huber
26c142e5ad score: Refactor SMP cache manager support 2015-04-20 08:23:25 +02:00
Hesham ALMatary
3d597c04ed Rename or1ksim BSP to generic_or1k
or1ksim BSP was initially named after or1ksim simulator, and it was
intented to only run there. But now it can also run on QEMU, jor1k and
real FPGA boards without modifications. It makes more sense to give
it a new generic name like generic_or1k.
2015-04-19 06:26:36 -04:00
Joel Sherrill
491434cd7c sp13: Document message buffer usage and adjust configuration 2015-04-17 09:49:45 -05:00
Joel Sherrill
3985e75803 user/libpci.t: Make it build and clean up 2015-04-17 09:46:08 -05:00
Joel Sherrill
c5d86ec0c9 or1k-utility.h: Add missing end of C++ header pattern
closes 2326.
2015-04-17 09:45:05 -05:00
Martin Galvan
41b37e0073 score: Improve assert
While cpu_self->thread_dispatch_disable_level shouldn't ever be zero, it
would be better to check it before doing the decrement.
2015-04-17 11:03:02 +02:00
Sebastian Huber
b8cdc38b2f sptests/sp52: Reduce clock tick interval
This helps on slow simulators.
2015-04-17 10:47:21 +02:00
Sebastian Huber
c7a65085d2 Fix build for non-SPARC targets 2015-04-17 09:19:03 +02:00
Sebastian Huber
8d6fd40592 sapi: Avoid declaration in source, fix type 2015-04-17 08:46:33 +02:00
Sebastian Huber
a211a732fd score: Fix _TOD_Set_with_timestamp()
Update the current time before the watchdog adjust so that timer
routines observe the new time.
2015-04-17 08:38:09 +02:00
Daniel Hellstrom
c77e3cb1b0 LEON3: gptimer drvmgr init simplified wrt boot 2015-04-17 01:10:30 +02:00
Daniel Hellstrom
9fe249d032 LEON3: move timer variable to where initialized 2015-04-17 01:10:30 +02:00
Daniel Hellstrom
efd43ad162 LEON3: simplify amba initialization 2015-04-17 01:10:30 +02:00
Daniel Hellstrom
628e739368 LEON3: clock irq always same as timer instance
The leon.h already contains the definition of LEON3_CLOCK_INDEX
and irq must always follow that when separate IRQ is supported by
the HW. The definitions are resued from leon.h.
2015-04-17 01:10:30 +02:00
Daniel Hellstrom
291c53917d DRVMGR: remove struct driver registration func 2015-04-17 01:10:30 +02:00
Daniel Hellstrom
4c9c46df76 DRVMGR: clean-up DRV_OPS_NUM 2015-04-17 01:10:30 +02:00
Daniel Hellstrom
bef5e23ef6 DRVMGR: renamed RES_EMPTY to DRVMGR_RES_EMPTY 2015-04-17 01:10:30 +02:00
Daniel Hellstrom
4d3e70f4a6 DRVMGR: KEY_TYPE now a enum drvmgr_kt 2015-04-17 01:10:30 +02:00
Daniel Hellstrom
14d55debf1 DRVMGR: renamed info_dev to get_info_dev 2015-04-17 01:10:30 +02:00
Daniel Hellstrom
246fe225f1 DRVMGR: change name of freq_get to get_freq 2015-04-17 01:10:29 +02:00
Daniel Hellstrom
bb2f2200aa DRVMGR: renamed private drv_mgr and its struct name 2015-04-17 01:10:29 +02:00
Daniel Hellstrom
bf2c3f8baf DRVMGR: updated README 2015-04-17 01:10:29 +02:00
Daniel Hellstrom
4f0906080d DRVMGR: only build on SPARC platform 2015-04-17 01:10:28 +02:00
Daniel Hellstrom
4a7d1026ec sparc bsps: updated license to rtems.org 2015-04-17 01:10:28 +02:00
Daniel Hellstrom
e53daed25e LIBPCI: updated license to rtems.org 2015-04-17 01:10:28 +02:00
Daniel Hellstrom
0decc80664 DRVMGR: updated license to rtems.org 2015-04-17 01:10:28 +02:00
Daniel Hellstrom
cc3f87c0c7 DRVMGR: removed a goto and added comments 2015-04-17 01:10:28 +02:00
Daniel Hellstrom
1b645c3f4c LIBPCI: corrected documentation 2015-04-17 01:10:28 +02:00
Daniel Hellstrom
f4bf22c8e5 LIBPCI: new implementation private header file
- new implementation private header file
 - moved double implementation of pci_dev_create used by read & auto cfg
   libraries to common pci_dev_create.c
 - moved declaration of pci_bus_cnt to private header file so avoid extern
   in .c files
2015-04-17 01:10:28 +02:00
Daniel Hellstrom
1f4f1e2e12 LIBPCI: various comment/unsed clean-ups 2015-04-17 01:10:28 +02:00
Daniel Hellstrom
346a9a5739 LIBPCI: use enum with pci_system_type 2015-04-17 01:10:28 +02:00
Daniel Hellstrom
15620f5b6b LIBPCI: use RTEMS_INLINE_ROUTINE 2015-04-17 01:10:28 +02:00
Daniel Hellstrom
dc623099ca LIBPCI: moved comment out of license header 2015-04-17 01:10:27 +02:00
Daniel Hellstrom
e189f24186 PCI BUS: moved comment out of license header 2015-04-17 01:10:27 +02:00
Daniel Hellstrom
2fb09129dd DRVMGR: clean-up Makefile.am 2015-04-17 01:10:27 +02:00
Daniel Hellstrom
eff698916c DRVMGR: use RTEMS_INLINE_ROUTINE 2015-04-17 01:10:27 +02:00
Daniel Hellstrom
39937b6c85 LIBPCI: added license and auto-gen comment to pci/ids.h
To be Merged.
2015-04-17 01:10:27 +02:00
Daniel Hellstrom
07e5a0e884 LIBPCI: clean-up pci_for_each_child() search arg 2015-04-17 01:10:27 +02:00
Daniel Hellstrom
4ab9296952 LIBPCI: remove $Id in makefile.am 2015-04-17 01:10:27 +02:00
Daniel Hellstrom
159ee99067 leon3,ngmp: cpucounter initialization use proper names
To be merged with "leon3,ngmp: simplify cpucounter initialization"

.. as an affect of previous patch, the next must be updated too.
2015-04-17 01:10:27 +02:00
Daniel Hellstrom
5564b5a041 leon3: timer config updated to use proper naming
To be merged with "leon3: make timer initialization configurable"
2015-04-17 01:10:27 +02:00
Daniel Hellstrom
9b292eaf4e LEON: converted LEON4-N2X to BSD header 2015-04-17 01:10:27 +02:00
Daniel Hellstrom
8b29637c67 LEON: converted PCI peripherals to BSD header 2015-04-17 01:10:27 +02:00
Daniel Hellstrom
d5ca82167f LEON: converted AT697,GRPCi,GRPCI2,PCIF to BSD header 2015-04-17 01:10:26 +02:00
Daniel Hellstrom
c1c37a1c58 LIBPCI: converted to BSD header 2015-04-17 01:10:26 +02:00
Daniel Hellstrom
56ea46ba40 DRVMGR: PCI BUS converted to BSD header 2015-04-17 01:10:26 +02:00
Daniel Hellstrom
1f669148da LIBPCI: moved pci_bus copyright into a single line 2015-04-17 01:10:26 +02:00
Daniel Hellstrom
71e8a5ccd9 LIBPCI: moved copyright into a single line 2015-04-17 01:10:26 +02:00