Joel Sherrill
f770fcb368
Add shared PCI support and enhance pc386 to support non-legacy PCI configuration space
...
This patch fundamentally results from enhancements to the pc386 BSP
to support systems which do **NOT** have the legacy PCI BIOS. The
patch adds support for detecting when legacy PCI BIOS is not
present and then using IO space to access to PCI Configuration Space.
This resulted in dynamically selected between two implementations
of PCI and refactoring out the shared methods.
This patch adds shared implementations of pci_bus_count() and
pci_find_device(). Subsequent patches will remove implementations
of these methods in other BSPs where possible.
2016-03-10 10:30:25 -06:00
Joel Sherrill
367176450c
pc386/configure.ac: Delete incorrect and unused AM_CONDITIONAL
2016-03-10 10:26:53 -06:00
Joel Sherrill
3b6972327e
i386/shared/pci/pcibios.c: Remove unused pcib_find_by_class()
2016-03-10 10:26:52 -06:00
Joel Sherrill
8ce16a4766
i386/shared/pci/pcibios.c: Remove unused pcib_special_cycle()
2016-03-10 10:26:49 -06:00
Joel Sherrill
12c9dc8ff5
pc386: Eliminate pcibios.h and begin removal obsolete PCI BIOS API uses
...
This first step eliminates the following as public APIs for the pc386
BSP:
+ pcib_conf_read8
+ pcib_conf_read16
+ pcib_conf_read32
+ pcib_conf_write8
+ pcib_conf_write16
+ pcib_conf_write32
The if_fxp.c driver uses these enough where I provided local macros
to allow the code to be mostly unmodified. On other architectures
these names have been used privately. It will take multiple patches
to completely eliminate these symbols from the RTEMS source tree.
The focus of the first effort is just to eliminate these as a public
pc386 API so support can be added for systems without legacy PCI BIOS.
2016-03-10 10:26:48 -06:00
Sebastian Huber
9f5754b5c2
bsps: Avoid Giant lock in simulator clock driver
...
Update #2555 .
2016-03-04 15:15:57 +01:00
Sebastian Huber
90d8567d34
score: Distribute clock tick to all online CPUs
...
Update #2554 .
2016-03-04 13:36:10 +01:00
Gedare Bloom
daa303da3e
pc386: adjust assembly in bsp_fatal_halt
2016-03-03 16:40:17 -05:00
Joel Sherrill
328bd350aa
i386: refactor libcpu/cpu.h into rtems/score/i386.h
...
Fixes #2515 .
2016-03-03 16:36:30 -05:00
Gedare Bloom
3267f9580f
i386: prepare for paravirtualized interrupts
2016-03-03 16:36:30 -05:00
Gedare Bloom
505dc617c8
i386: relocate fatal halt to bsp layer
2016-03-03 16:36:30 -05:00
Gedare Bloom
fd05a055e6
i386: move idle thread into BSP layer
2016-03-03 16:36:29 -05:00
Joel Sherrill
e56266cb3e
version.c: Add space so printing is neater
2016-03-03 16:36:29 -05:00
Joel Sherrill
3f5e0961b4
smdk2410: Resurrect missing gp32 files
...
When the gp32 BSP was obsoleted and removed, files were deleted that
were actually used by the gp32.
This was actually a violation of the expected directory structure
and why it wasn't caught. Another example of why continuous integration
testing -- even just building is important.
2016-03-03 08:12:53 -06:00
Sebastian Huber
cc1add7b44
bsps: Delete empty Clock_driver_support_at_tick()
2016-03-03 09:49:15 +01:00
Sebastian Huber
73de9393e3
bsp/qoriq: Do not touch MMU config for SMP start
...
Assume that the boot page is visible in the currently unused heap area.
2016-03-03 09:10:13 +01:00
Sebastian Huber
e468ba5532
U-Boot: Flush data cache after bdinfo copy
2016-03-03 09:10:13 +01:00
Martin Galvan
8c5c53f478
am335x irq handling improvement
...
This patch makes the following changes to the Beaglebone IRQ handling code:
- Disable support for nested interrupts.
- Detect spurious IRQs using the SPURIOUSIRQ field of the INTC_SIR_IRQ register.
- Acknowledge spurious IRQs by setting the NewIRQAgr bit of the INTC_CONTROL
register. This cleans the SPURIOUSIRQ field and allows new interrupts
to be generated.
- Improve the get_mir_reg function a bit.
Closes #2580 .
2016-02-28 00:23:02 +01:00
Sebastian Huber
c466c62d78
bsp/leon3: Use -mcpu=leon3 machine option
...
Due to GCC configuration changes, the -muser-mode option is superfluous.
2016-02-22 07:04:17 +01:00
punitvara
42989d6f59
arm: Fixed typo in file bbb-gpio.c
...
This patch fixes typo "moode".
Signed-off: Punit Vara <punitvara@gmail.com >
2016-02-19 16:09:04 -06:00
Joel Sherrill
e41d8ce5a7
arm/.../lpc1768_embed.cfg: Disable per function sections
...
updates #2576 .
2016-02-06 10:25:00 -06:00
Joel Sherrill
8755f2a3d0
m68k/.../uC5282.cfg: Disable per function sections
...
updates #2575 .
2016-02-06 10:22:17 -06:00
Joel Sherrill
aaa21b18aa
powerpc/.../ss555.cfg: Correct ticket number in comment
2016-02-06 10:19:46 -06:00
Joel Sherrill
c99c70298b
m68k/.../mcf5225x.cfg: Correct ticket number in comment
2016-02-06 10:18:57 -06:00
Joel Sherrill
406b3b7b98
powerpc/.../qemuppc.cfg: Correct ticket number in comment
2016-02-06 10:18:41 -06:00
Joel Sherrill
6564bd2abb
powerpc/.../mpc8260ads.cfg: Correct ticket number in comment
2016-02-06 10:17:59 -06:00
Joel Sherrill
a3687b5c4f
m68k/.../mrm332.cfg: Correct ticket number in comment
2016-02-06 10:17:02 -06:00
Joel Sherrill
fb81d367a3
m68k/gen68360/.../*.cfg: Correct ticket number in comment
2016-02-06 10:14:56 -06:00
Joel Sherrill
96cfad6d6f
m68k/.../av5282.cfg: Disable per function sections
...
updates #2574 .
2016-02-06 10:12:14 -06:00
Joel Sherrill
50ae9957f8
m68k/.../gen68340.cfg: Disable per function sections
...
updates #2573 .
2016-02-06 10:12:14 -06:00
Joel Sherrill
1c3dd579f1
m68k/.../mcf5206elite.cfg: Disable per function sections
...
updates #2572 .
2016-02-06 10:10:58 -06:00
Joel Sherrill
6a1cbb749c
m68k/.../mcf5235.cfg: Disable per function sections
...
updates #2571 .
2016-02-06 10:09:45 -06:00
Joel Sherrill
7cd9f934ff
m68k/.../mcf52235.cfg: Disable per function sections
...
updates #2570 .
2016-02-06 10:08:30 -06:00
Joel Sherrill
78fd1ec198
m68k/.../mcf5329.cfg: Disable per function sections
...
updates #2569 .
2016-02-06 09:55:27 -06:00
Joel Sherrill
ea791d52bd
m68k/.../mcf5329.cfg: Disable per function sections
...
updates #2569 .
2016-02-06 09:51:54 -06:00
Joel Sherrill
123e2ec098
m68k/.../mcf5225x.cfg: Disable per function sections
...
updates #2568 .
2016-02-06 09:45:48 -06:00
Joel Sherrill
303429f0d9
m68k/.../mrm332.cfg: Disable per function sections
...
updates #2567 .
2016-02-06 09:43:22 -06:00
Joel Sherrill
6184b572d3
m68k/gen68360/.../*.cfg: Disable per function sections
...
updates #2566 .
2016-02-06 09:41:04 -06:00
Joel Sherrill
068b31253e
powerpc/.../mpc8260ads.cfg: Disable per function sections
...
updates #2565 .
2016-02-06 09:39:51 -06:00
Joel Sherrill
8926fadfc0
powerpc/.../qemuppc.cfg: Disable per function sections
...
updates #2564 .
2016-02-06 08:53:39 -06:00
Joel Sherrill
72d8e64cd0
powerpc/.../ss555.cfg: Disable per function sections.
...
updates #2563 .
2016-02-06 08:50:34 -06:00
Joel Sherrill
c5ce9c3c21
powerpc/.../haleakala.cfg: Disable per function sections.
...
updates #2561 .
2016-02-06 08:46:30 -06:00
Sebastian Huber
3bc12a8f5a
Delete unused API extensions
2016-02-03 10:00:58 +01:00
Sebastian Huber
8ca372e9b4
Use linker set for MPCI initialization
...
Update #2408 .
2016-02-03 10:00:57 +01:00
Sebastian Huber
ca4602e914
Use linker set for libio initialization
...
Update #2408 .
2016-02-03 10:00:57 +01:00
Sebastian Huber
ab8e821c9e
bsps/powerpc: Fix startup
...
Do work area initialization after bsp_start() for BSPs using the shared
PowerPC work area initialization.
Close #2553 .
2016-01-27 11:32:17 +01:00
Sebastian Huber
b501fcfef3
bsps/sparc: Fix link-time error
...
Fix for commit 76ac1ee3bb .
2016-01-26 11:54:21 +01:00
Sebastian Huber
4719019486
drvmgr: Remove dupl bsp_driver_level_hook() decl
2016-01-26 11:41:28 +01:00
Sebastian Huber
a8865f8b41
score: Introduce CPU_CACHE_LINE_BYTES
...
Add CPU_CACHE_LINE_BYTES for the maximum cache line size in bytes. The
actual processor may use no cache or a smaller cache line size.
2016-01-26 09:07:30 +01:00
Joel Sherrill
449905a8ac
m68k/mvme*: switch to shared linkcmds.base
...
updates #2542 .
2016-01-25 14:14:13 -06:00