History log of /openbsd-current/sys/arch/arm/conf/files.arm
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.51 01-Jan-2024 kettenis

Move fdt attachment into sys/conf/files.conf instead of duplicating it on
an MD basis.

ok patrick@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.50 15-May-2018 kettenis

Remove a4x bus space hack.

ok patrick@


# 1.49 04-May-2018 visa

Add a common rules file for ofw sources to help keep the configurations
of fdt-enabled platforms in sync.

OK deraadt@


Revision tags: OPENBSD_6_3_BASE
# 1.48 10-Feb-2018 mpi

Convert armv7 to MI mutex.

Tested by jsg@, ok patrick@


# 1.47 26-Jan-2018 kettenis

Add kernel support for the VFP FPU/SIMD unit. Based on a diff by drahn@.
This allows us to use floating-pointer and vector instructions in userland
code. The current implementation assumes all 32 VFP registers are present.
This should be the case on all armv7 hardware currently supported by
OpenBSD.

ok patrick@


Revision tags: OPENBSD_6_2_BASE
# 1.46 30-Apr-2017 mpi

Unifdef KGDB.

It doesn't compile und hasn't been working during the last decade.

ok kettenis@, deraadt@


# 1.45 27-Apr-2017 kettenis

Bring over the changes to mainbus(4) and simplebus(4) from arm64.


Revision tags: OPENBSD_6_1_BASE
# 1.44 21-Jan-2017 reyk

Move virtio config from files.pci to files.pci

virtio itself is not PCI, it is a paravirtual bus on top of either PCI
or MMIO (arm). This is the first step of moving the virtio files to
dev/pv. No functional change.

arm kernel changes tested by jsg@ and patrick@
no objections from sf@ mlarkin@


# 1.43 02-Jan-2017 jsg

remove unused armv4 and xscale files
ok kettenis@ patrick@


# 1.42 24-Sep-2016 kettenis

Add an implementation of __aeabi_ldivmode() and __aeabi_uldivmod(); clang
generates calls to these functions when compiling an armv7 kernel.

Code from NetBSD's unified userland+kernel implementation, with lots of
irrelevant (for us) #ifdefs removed.

ok patrick@, guenther@


# 1.41 18-Sep-2016 kettenis

Use a locator (named "early") to let designated drivers attach before others.

ok patrick@, jsg@


# 1.40 14-Aug-2016 jsg

Remove code for Intel 80219/80321 xscale processors used by armish.
Generic xscale support and support for pxa2x0 used by zaurus remains.


# 1.39 06-Aug-2016 kettenis

Build ofw_pinctrl.o and ofw_gpio.o on armv7. The latters here from the
generic arm files list. There is no point in building it on armish or
zaurus.

ok patrick@


Revision tags: OPENBSD_6_0_BASE
# 1.38 11-Jul-2016 kettenis

Hook up imxgpio(4) to the FDT gpio framework.

ok visa@, jsg@


# 1.37 23-May-2016 deraadt

Change openprom into a pseudo-device, because not all arm platforms
will have it. This is a bit of a hack. Maybe it should attach off
mainbus as a proper fake device, but that would have more tendrils..
checked by jsg


# 1.36 02-May-2016 patrick

Rework mainbus and implement simplebus to be able to span a tree-like
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.

ok jsg@ kettenis@


# 1.35 22-Mar-2016 patrick

Remove support for ARM10.

ok jsg@


# 1.34 22-Mar-2016 patrick

Remove support for ARM9E. This is another step in the plan to remove
all unused and unmaintained ARM processors from the past.

ok bmercer@ jsg@


# 1.33 19-Mar-2016 patrick

Remove support for the XScale 80200. We don't use it, it didn't compile
and the included headers didn't even exist.

ok jsg@


# 1.32 19-Mar-2016 patrick

Remove support for IXP425. This is another architecture that is not
used and has probably never been used at all. Some included headers
do not even exist.

ok jsg@


# 1.31 19-Mar-2016 patrick

Remove support for StrongARM (SA1) and IXP12x0. Both are ARMv4 and
are not used by any of the arm platforms.

ok jsg@


# 1.30 18-Mar-2016 jsg

Remove support for ARM9T (armv4t). Not used by any of the arm platforms.
From Patrick Wildt.


# 1.29 18-Mar-2016 jsg

Remove support for ARM8, an old armv4 processor without thumb that was
never supported by any arm port and wouldn't have built due to a missing
cpufunc_asm_arm8.S file.

From Patrick Wildt.


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.28 17-Jul-2015 tedu

remove obsolete INET kernel option


Revision tags: OPENBSD_5_7_BASE
# 1.27 30-Dec-2014 jsg

Remove redundant md memcpy.S and memmove.S lines. The mi config
definitions will find the md .S files for these.


# 1.26 09-Oct-2014 deraadt

disassem.c only if ddb; ok miod


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.25 09-May-2013 patrick

Drain the bufs after or before we do a bus space operation on ARMv7.

ok miod@


# 1.24 01-May-2013 patrick

Add a cortex bus which represents the ARM MPCore Complex.
It will attach only to ARM Cortex A9 and A15 SoCs.
The generic interrupt controller and timer will attach to this bus,
later a secondary cache controller can be added.
The base address for those controllers are figured out using
the periphbase register.

ok bmercer@


# 1.23 30-Apr-2013 patrick

Switch from pmap to pmap7.

ok bmercer@


# 1.22 27-Mar-2013 patrick

Move generic armv7 files into arm's file list.

ok bmercer@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.21 08-Nov-2011 deraadt

merge cpu_coredump() back to where it belongs, ok drahn miod


# 1.20 08-Nov-2011 deraadt

compat_13 support died ages ago


# 1.19 08-Nov-2011 deraadt

arm has no need for procfs


# 1.18 22-Sep-2011 miod

None of the mainbus child devices care about getting a bus_space_tag_t from
its parent, because they know better; so don't bother providing one, which
allows more unused code to go to the Attic.

While there, redo the config machinery for mainbus child devices, to bring
it to our current standards. This also allows them to be disabled in UKC,
should there be a need for this in the future.


# 1.17 20-Sep-2011 miod

Late spring cleaning of the arm code for old dusty bits we do not want to
keep:
- remove bootconfig parameter passing feature (unused).
- unifdef __PROG32 and remove all remains of arm26 code.
- remove ARMFPE support (unused).
- remove support for ARM2, ARM2AS, ARM3, ARM6, ARM7, ARM7TDMI and StrongARM
processor families, and the related silicon bug workarounds (especially
the SA-110 STM^ bug).
- remove cpu_functions no longer necessary after previous removals.
- remove ARM32_DISABLE_ALIGNMENT_FAULTS option (unused).
- make FIQ support conditional on option FIQ (unused, but may be eventually).

Discussed with drahn@ and jasper@ long ago, I was sitting on this commit for
no good reason.


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.16 06-Dec-2010 jasper

- remove unused/commented COMPAT_LINUX stuff

ok deraadt@


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.15 08-May-2009 drahn

Pieces of arm11 and armv7 support for newer cpus. This is work in progress
and not complete.


Revision tags: OPENBSD_4_5_BASE
# 1.14 11-Sep-2008 kevlo

add support for arm9e core, taken from NetBSD.
ok drahn@


Revision tags: OPENBSD_4_4_BASE
# 1.13 25-Apr-2008 jmc

neccessary -> necessary; from Pierre Riteau


Revision tags: OPENBSD_4_3_BASE
# 1.12 25-Nov-2007 deraadt

libkern, begone. Move to a new mechanism where config(8)'s "file"
directive can select between MI and MD versions of these files. At
the same time, adjust the boot programs to pick exactly what they need,
instead of the 7 or 8 mechanisms previously used.

There will be some fallout from this, but testing it all by myself is a
ridiculously slow process; it will be finished in-tree.

Various developers were very nice and avoided making fun of me when I
was gibbering in the corner..


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.11 12-Jul-2006 miod

Remove commented out defopt goo.


# 1.10 12-Jul-2006 miod

Turn GetCPSR() into an inline get_cpsr(), and remove more dead code.


# 1.9 12-Jul-2006 miod

Orphaned stuff.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.8 14-Jul-2005 uwe

More netccitt and netns removals; OK henning, brad, mickey


# 1.7 10-May-2005 brad

enable arm optimized in4_cksum

ok drahn@


# 1.6 01-May-2005 brad

To allow for MD override of in4_cksum()...

ok deraadt@


Revision tags: OPENBSD_3_7_BASE
# 1.5 08-Mar-2005 tdeval

Cosmetics...
Mainly remove space between locators parens, replace spaces with tabs
where appropriate and consistently align dependencies.


# 1.4 13-Jan-2005 drahn

dont make this dependant on bus_space_generic, that is bogus.
keep the define for compat for now.


# 1.3 08-Oct-2004 grange

Move dev/cons.c to MI conf/files.

ok miod@


Revision tags: OPENBSD_3_6_BASE
# 1.2 04-Aug-2004 miod

Remove the old fetch(9)/store(9) functions, since they are not used in
OpenBSD. This gives us a simpler and faster cpu_switch() as a bonus.

ok drahn@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.1 01-Feb-2004 drahn

branches: 1.1.2;
Arm port, NetBSD codebase stripped down, 32bit only support.


# 1.50 15-May-2018 kettenis

Remove a4x bus space hack.

ok patrick@


# 1.49 04-May-2018 visa

Add a common rules file for ofw sources to help keep the configurations
of fdt-enabled platforms in sync.

OK deraadt@


Revision tags: OPENBSD_6_3_BASE
# 1.48 10-Feb-2018 mpi

Convert armv7 to MI mutex.

Tested by jsg@, ok patrick@


# 1.47 26-Jan-2018 kettenis

Add kernel support for the VFP FPU/SIMD unit. Based on a diff by drahn@.
This allows us to use floating-pointer and vector instructions in userland
code. The current implementation assumes all 32 VFP registers are present.
This should be the case on all armv7 hardware currently supported by
OpenBSD.

ok patrick@


Revision tags: OPENBSD_6_2_BASE
# 1.46 30-Apr-2017 mpi

Unifdef KGDB.

It doesn't compile und hasn't been working during the last decade.

ok kettenis@, deraadt@


# 1.45 27-Apr-2017 kettenis

Bring over the changes to mainbus(4) and simplebus(4) from arm64.


Revision tags: OPENBSD_6_1_BASE
# 1.44 21-Jan-2017 reyk

Move virtio config from files.pci to files.pci

virtio itself is not PCI, it is a paravirtual bus on top of either PCI
or MMIO (arm). This is the first step of moving the virtio files to
dev/pv. No functional change.

arm kernel changes tested by jsg@ and patrick@
no objections from sf@ mlarkin@


# 1.43 02-Jan-2017 jsg

remove unused armv4 and xscale files
ok kettenis@ patrick@


# 1.42 24-Sep-2016 kettenis

Add an implementation of __aeabi_ldivmode() and __aeabi_uldivmod(); clang
generates calls to these functions when compiling an armv7 kernel.

Code from NetBSD's unified userland+kernel implementation, with lots of
irrelevant (for us) #ifdefs removed.

ok patrick@, guenther@


# 1.41 18-Sep-2016 kettenis

Use a locator (named "early") to let designated drivers attach before others.

ok patrick@, jsg@


# 1.40 14-Aug-2016 jsg

Remove code for Intel 80219/80321 xscale processors used by armish.
Generic xscale support and support for pxa2x0 used by zaurus remains.


# 1.39 06-Aug-2016 kettenis

Build ofw_pinctrl.o and ofw_gpio.o on armv7. The latters here from the
generic arm files list. There is no point in building it on armish or
zaurus.

ok patrick@


Revision tags: OPENBSD_6_0_BASE
# 1.38 11-Jul-2016 kettenis

Hook up imxgpio(4) to the FDT gpio framework.

ok visa@, jsg@


# 1.37 23-May-2016 deraadt

Change openprom into a pseudo-device, because not all arm platforms
will have it. This is a bit of a hack. Maybe it should attach off
mainbus as a proper fake device, but that would have more tendrils..
checked by jsg


# 1.36 02-May-2016 patrick

Rework mainbus and implement simplebus to be able to span a tree-like
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.

ok jsg@ kettenis@


# 1.35 22-Mar-2016 patrick

Remove support for ARM10.

ok jsg@


# 1.34 22-Mar-2016 patrick

Remove support for ARM9E. This is another step in the plan to remove
all unused and unmaintained ARM processors from the past.

ok bmercer@ jsg@


# 1.33 19-Mar-2016 patrick

Remove support for the XScale 80200. We don't use it, it didn't compile
and the included headers didn't even exist.

ok jsg@


# 1.32 19-Mar-2016 patrick

Remove support for IXP425. This is another architecture that is not
used and has probably never been used at all. Some included headers
do not even exist.

ok jsg@


# 1.31 19-Mar-2016 patrick

Remove support for StrongARM (SA1) and IXP12x0. Both are ARMv4 and
are not used by any of the arm platforms.

ok jsg@


# 1.30 18-Mar-2016 jsg

Remove support for ARM9T (armv4t). Not used by any of the arm platforms.
From Patrick Wildt.


# 1.29 18-Mar-2016 jsg

Remove support for ARM8, an old armv4 processor without thumb that was
never supported by any arm port and wouldn't have built due to a missing
cpufunc_asm_arm8.S file.

From Patrick Wildt.


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.28 17-Jul-2015 tedu

remove obsolete INET kernel option


Revision tags: OPENBSD_5_7_BASE
# 1.27 30-Dec-2014 jsg

Remove redundant md memcpy.S and memmove.S lines. The mi config
definitions will find the md .S files for these.


# 1.26 09-Oct-2014 deraadt

disassem.c only if ddb; ok miod


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.25 09-May-2013 patrick

Drain the bufs after or before we do a bus space operation on ARMv7.

ok miod@


# 1.24 01-May-2013 patrick

Add a cortex bus which represents the ARM MPCore Complex.
It will attach only to ARM Cortex A9 and A15 SoCs.
The generic interrupt controller and timer will attach to this bus,
later a secondary cache controller can be added.
The base address for those controllers are figured out using
the periphbase register.

ok bmercer@


# 1.23 30-Apr-2013 patrick

Switch from pmap to pmap7.

ok bmercer@


# 1.22 27-Mar-2013 patrick

Move generic armv7 files into arm's file list.

ok bmercer@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.21 08-Nov-2011 deraadt

merge cpu_coredump() back to where it belongs, ok drahn miod


# 1.20 08-Nov-2011 deraadt

compat_13 support died ages ago


# 1.19 08-Nov-2011 deraadt

arm has no need for procfs


# 1.18 22-Sep-2011 miod

None of the mainbus child devices care about getting a bus_space_tag_t from
its parent, because they know better; so don't bother providing one, which
allows more unused code to go to the Attic.

While there, redo the config machinery for mainbus child devices, to bring
it to our current standards. This also allows them to be disabled in UKC,
should there be a need for this in the future.


# 1.17 20-Sep-2011 miod

Late spring cleaning of the arm code for old dusty bits we do not want to
keep:
- remove bootconfig parameter passing feature (unused).
- unifdef __PROG32 and remove all remains of arm26 code.
- remove ARMFPE support (unused).
- remove support for ARM2, ARM2AS, ARM3, ARM6, ARM7, ARM7TDMI and StrongARM
processor families, and the related silicon bug workarounds (especially
the SA-110 STM^ bug).
- remove cpu_functions no longer necessary after previous removals.
- remove ARM32_DISABLE_ALIGNMENT_FAULTS option (unused).
- make FIQ support conditional on option FIQ (unused, but may be eventually).

Discussed with drahn@ and jasper@ long ago, I was sitting on this commit for
no good reason.


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.16 06-Dec-2010 jasper

- remove unused/commented COMPAT_LINUX stuff

ok deraadt@


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.15 08-May-2009 drahn

Pieces of arm11 and armv7 support for newer cpus. This is work in progress
and not complete.


Revision tags: OPENBSD_4_5_BASE
# 1.14 11-Sep-2008 kevlo

add support for arm9e core, taken from NetBSD.
ok drahn@


Revision tags: OPENBSD_4_4_BASE
# 1.13 25-Apr-2008 jmc

neccessary -> necessary; from Pierre Riteau


Revision tags: OPENBSD_4_3_BASE
# 1.12 25-Nov-2007 deraadt

libkern, begone. Move to a new mechanism where config(8)'s "file"
directive can select between MI and MD versions of these files. At
the same time, adjust the boot programs to pick exactly what they need,
instead of the 7 or 8 mechanisms previously used.

There will be some fallout from this, but testing it all by myself is a
ridiculously slow process; it will be finished in-tree.

Various developers were very nice and avoided making fun of me when I
was gibbering in the corner..


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.11 12-Jul-2006 miod

Remove commented out defopt goo.


# 1.10 12-Jul-2006 miod

Turn GetCPSR() into an inline get_cpsr(), and remove more dead code.


# 1.9 12-Jul-2006 miod

Orphaned stuff.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.8 14-Jul-2005 uwe

More netccitt and netns removals; OK henning, brad, mickey


# 1.7 10-May-2005 brad

enable arm optimized in4_cksum

ok drahn@


# 1.6 01-May-2005 brad

To allow for MD override of in4_cksum()...

ok deraadt@


Revision tags: OPENBSD_3_7_BASE
# 1.5 08-Mar-2005 tdeval

Cosmetics...
Mainly remove space between locators parens, replace spaces with tabs
where appropriate and consistently align dependencies.


# 1.4 13-Jan-2005 drahn

dont make this dependant on bus_space_generic, that is bogus.
keep the define for compat for now.


# 1.3 08-Oct-2004 grange

Move dev/cons.c to MI conf/files.

ok miod@


Revision tags: OPENBSD_3_6_BASE
# 1.2 04-Aug-2004 miod

Remove the old fetch(9)/store(9) functions, since they are not used in
OpenBSD. This gives us a simpler and faster cpu_switch() as a bonus.

ok drahn@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.1 01-Feb-2004 drahn

branches: 1.1.2;
Arm port, NetBSD codebase stripped down, 32bit only support.


# 1.49 04-May-2018 visa

Add a common rules file for ofw sources to help keep the configurations
of fdt-enabled platforms in sync.

OK deraadt@


Revision tags: OPENBSD_6_3_BASE
# 1.48 10-Feb-2018 mpi

Convert armv7 to MI mutex.

Tested by jsg@, ok patrick@


# 1.47 26-Jan-2018 kettenis

Add kernel support for the VFP FPU/SIMD unit. Based on a diff by drahn@.
This allows us to use floating-pointer and vector instructions in userland
code. The current implementation assumes all 32 VFP registers are present.
This should be the case on all armv7 hardware currently supported by
OpenBSD.

ok patrick@


Revision tags: OPENBSD_6_2_BASE
# 1.46 30-Apr-2017 mpi

Unifdef KGDB.

It doesn't compile und hasn't been working during the last decade.

ok kettenis@, deraadt@


# 1.45 27-Apr-2017 kettenis

Bring over the changes to mainbus(4) and simplebus(4) from arm64.


Revision tags: OPENBSD_6_1_BASE
# 1.44 21-Jan-2017 reyk

Move virtio config from files.pci to files.pci

virtio itself is not PCI, it is a paravirtual bus on top of either PCI
or MMIO (arm). This is the first step of moving the virtio files to
dev/pv. No functional change.

arm kernel changes tested by jsg@ and patrick@
no objections from sf@ mlarkin@


# 1.43 02-Jan-2017 jsg

remove unused armv4 and xscale files
ok kettenis@ patrick@


# 1.42 24-Sep-2016 kettenis

Add an implementation of __aeabi_ldivmode() and __aeabi_uldivmod(); clang
generates calls to these functions when compiling an armv7 kernel.

Code from NetBSD's unified userland+kernel implementation, with lots of
irrelevant (for us) #ifdefs removed.

ok patrick@, guenther@


# 1.41 18-Sep-2016 kettenis

Use a locator (named "early") to let designated drivers attach before others.

ok patrick@, jsg@


# 1.40 14-Aug-2016 jsg

Remove code for Intel 80219/80321 xscale processors used by armish.
Generic xscale support and support for pxa2x0 used by zaurus remains.


# 1.39 06-Aug-2016 kettenis

Build ofw_pinctrl.o and ofw_gpio.o on armv7. The latters here from the
generic arm files list. There is no point in building it on armish or
zaurus.

ok patrick@


Revision tags: OPENBSD_6_0_BASE
# 1.38 11-Jul-2016 kettenis

Hook up imxgpio(4) to the FDT gpio framework.

ok visa@, jsg@


# 1.37 23-May-2016 deraadt

Change openprom into a pseudo-device, because not all arm platforms
will have it. This is a bit of a hack. Maybe it should attach off
mainbus as a proper fake device, but that would have more tendrils..
checked by jsg


# 1.36 02-May-2016 patrick

Rework mainbus and implement simplebus to be able to span a tree-like
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.

ok jsg@ kettenis@


# 1.35 22-Mar-2016 patrick

Remove support for ARM10.

ok jsg@


# 1.34 22-Mar-2016 patrick

Remove support for ARM9E. This is another step in the plan to remove
all unused and unmaintained ARM processors from the past.

ok bmercer@ jsg@


# 1.33 19-Mar-2016 patrick

Remove support for the XScale 80200. We don't use it, it didn't compile
and the included headers didn't even exist.

ok jsg@


# 1.32 19-Mar-2016 patrick

Remove support for IXP425. This is another architecture that is not
used and has probably never been used at all. Some included headers
do not even exist.

ok jsg@


# 1.31 19-Mar-2016 patrick

Remove support for StrongARM (SA1) and IXP12x0. Both are ARMv4 and
are not used by any of the arm platforms.

ok jsg@


# 1.30 18-Mar-2016 jsg

Remove support for ARM9T (armv4t). Not used by any of the arm platforms.
From Patrick Wildt.


# 1.29 18-Mar-2016 jsg

Remove support for ARM8, an old armv4 processor without thumb that was
never supported by any arm port and wouldn't have built due to a missing
cpufunc_asm_arm8.S file.

From Patrick Wildt.


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.28 17-Jul-2015 tedu

remove obsolete INET kernel option


Revision tags: OPENBSD_5_7_BASE
# 1.27 30-Dec-2014 jsg

Remove redundant md memcpy.S and memmove.S lines. The mi config
definitions will find the md .S files for these.


# 1.26 09-Oct-2014 deraadt

disassem.c only if ddb; ok miod


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.25 09-May-2013 patrick

Drain the bufs after or before we do a bus space operation on ARMv7.

ok miod@


# 1.24 01-May-2013 patrick

Add a cortex bus which represents the ARM MPCore Complex.
It will attach only to ARM Cortex A9 and A15 SoCs.
The generic interrupt controller and timer will attach to this bus,
later a secondary cache controller can be added.
The base address for those controllers are figured out using
the periphbase register.

ok bmercer@


# 1.23 30-Apr-2013 patrick

Switch from pmap to pmap7.

ok bmercer@


# 1.22 27-Mar-2013 patrick

Move generic armv7 files into arm's file list.

ok bmercer@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.21 08-Nov-2011 deraadt

merge cpu_coredump() back to where it belongs, ok drahn miod


# 1.20 08-Nov-2011 deraadt

compat_13 support died ages ago


# 1.19 08-Nov-2011 deraadt

arm has no need for procfs


# 1.18 22-Sep-2011 miod

None of the mainbus child devices care about getting a bus_space_tag_t from
its parent, because they know better; so don't bother providing one, which
allows more unused code to go to the Attic.

While there, redo the config machinery for mainbus child devices, to bring
it to our current standards. This also allows them to be disabled in UKC,
should there be a need for this in the future.


# 1.17 20-Sep-2011 miod

Late spring cleaning of the arm code for old dusty bits we do not want to
keep:
- remove bootconfig parameter passing feature (unused).
- unifdef __PROG32 and remove all remains of arm26 code.
- remove ARMFPE support (unused).
- remove support for ARM2, ARM2AS, ARM3, ARM6, ARM7, ARM7TDMI and StrongARM
processor families, and the related silicon bug workarounds (especially
the SA-110 STM^ bug).
- remove cpu_functions no longer necessary after previous removals.
- remove ARM32_DISABLE_ALIGNMENT_FAULTS option (unused).
- make FIQ support conditional on option FIQ (unused, but may be eventually).

Discussed with drahn@ and jasper@ long ago, I was sitting on this commit for
no good reason.


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.16 06-Dec-2010 jasper

- remove unused/commented COMPAT_LINUX stuff

ok deraadt@


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.15 08-May-2009 drahn

Pieces of arm11 and armv7 support for newer cpus. This is work in progress
and not complete.


Revision tags: OPENBSD_4_5_BASE
# 1.14 11-Sep-2008 kevlo

add support for arm9e core, taken from NetBSD.
ok drahn@


Revision tags: OPENBSD_4_4_BASE
# 1.13 25-Apr-2008 jmc

neccessary -> necessary; from Pierre Riteau


Revision tags: OPENBSD_4_3_BASE
# 1.12 25-Nov-2007 deraadt

libkern, begone. Move to a new mechanism where config(8)'s "file"
directive can select between MI and MD versions of these files. At
the same time, adjust the boot programs to pick exactly what they need,
instead of the 7 or 8 mechanisms previously used.

There will be some fallout from this, but testing it all by myself is a
ridiculously slow process; it will be finished in-tree.

Various developers were very nice and avoided making fun of me when I
was gibbering in the corner..


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.11 12-Jul-2006 miod

Remove commented out defopt goo.


# 1.10 12-Jul-2006 miod

Turn GetCPSR() into an inline get_cpsr(), and remove more dead code.


# 1.9 12-Jul-2006 miod

Orphaned stuff.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.8 14-Jul-2005 uwe

More netccitt and netns removals; OK henning, brad, mickey


# 1.7 10-May-2005 brad

enable arm optimized in4_cksum

ok drahn@


# 1.6 01-May-2005 brad

To allow for MD override of in4_cksum()...

ok deraadt@


Revision tags: OPENBSD_3_7_BASE
# 1.5 08-Mar-2005 tdeval

Cosmetics...
Mainly remove space between locators parens, replace spaces with tabs
where appropriate and consistently align dependencies.


# 1.4 13-Jan-2005 drahn

dont make this dependant on bus_space_generic, that is bogus.
keep the define for compat for now.


# 1.3 08-Oct-2004 grange

Move dev/cons.c to MI conf/files.

ok miod@


Revision tags: OPENBSD_3_6_BASE
# 1.2 04-Aug-2004 miod

Remove the old fetch(9)/store(9) functions, since they are not used in
OpenBSD. This gives us a simpler and faster cpu_switch() as a bonus.

ok drahn@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.1 01-Feb-2004 drahn

branches: 1.1.2;
Arm port, NetBSD codebase stripped down, 32bit only support.


# 1.48 10-Feb-2018 mpi

Convert armv7 to MI mutex.

Tested by jsg@, ok patrick@


# 1.47 26-Jan-2018 kettenis

Add kernel support for the VFP FPU/SIMD unit. Based on a diff by drahn@.
This allows us to use floating-pointer and vector instructions in userland
code. The current implementation assumes all 32 VFP registers are present.
This should be the case on all armv7 hardware currently supported by
OpenBSD.

ok patrick@


Revision tags: OPENBSD_6_2_BASE
# 1.46 30-Apr-2017 mpi

Unifdef KGDB.

It doesn't compile und hasn't been working during the last decade.

ok kettenis@, deraadt@


# 1.45 27-Apr-2017 kettenis

Bring over the changes to mainbus(4) and simplebus(4) from arm64.


Revision tags: OPENBSD_6_1_BASE
# 1.44 21-Jan-2017 reyk

Move virtio config from files.pci to files.pci

virtio itself is not PCI, it is a paravirtual bus on top of either PCI
or MMIO (arm). This is the first step of moving the virtio files to
dev/pv. No functional change.

arm kernel changes tested by jsg@ and patrick@
no objections from sf@ mlarkin@


# 1.43 02-Jan-2017 jsg

remove unused armv4 and xscale files
ok kettenis@ patrick@


# 1.42 24-Sep-2016 kettenis

Add an implementation of __aeabi_ldivmode() and __aeabi_uldivmod(); clang
generates calls to these functions when compiling an armv7 kernel.

Code from NetBSD's unified userland+kernel implementation, with lots of
irrelevant (for us) #ifdefs removed.

ok patrick@, guenther@


# 1.41 18-Sep-2016 kettenis

Use a locator (named "early") to let designated drivers attach before others.

ok patrick@, jsg@


# 1.40 14-Aug-2016 jsg

Remove code for Intel 80219/80321 xscale processors used by armish.
Generic xscale support and support for pxa2x0 used by zaurus remains.


# 1.39 06-Aug-2016 kettenis

Build ofw_pinctrl.o and ofw_gpio.o on armv7. The latters here from the
generic arm files list. There is no point in building it on armish or
zaurus.

ok patrick@


Revision tags: OPENBSD_6_0_BASE
# 1.38 11-Jul-2016 kettenis

Hook up imxgpio(4) to the FDT gpio framework.

ok visa@, jsg@


# 1.37 23-May-2016 deraadt

Change openprom into a pseudo-device, because not all arm platforms
will have it. This is a bit of a hack. Maybe it should attach off
mainbus as a proper fake device, but that would have more tendrils..
checked by jsg


# 1.36 02-May-2016 patrick

Rework mainbus and implement simplebus to be able to span a tree-like
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.

ok jsg@ kettenis@


# 1.35 22-Mar-2016 patrick

Remove support for ARM10.

ok jsg@


# 1.34 22-Mar-2016 patrick

Remove support for ARM9E. This is another step in the plan to remove
all unused and unmaintained ARM processors from the past.

ok bmercer@ jsg@


# 1.33 19-Mar-2016 patrick

Remove support for the XScale 80200. We don't use it, it didn't compile
and the included headers didn't even exist.

ok jsg@


# 1.32 19-Mar-2016 patrick

Remove support for IXP425. This is another architecture that is not
used and has probably never been used at all. Some included headers
do not even exist.

ok jsg@


# 1.31 19-Mar-2016 patrick

Remove support for StrongARM (SA1) and IXP12x0. Both are ARMv4 and
are not used by any of the arm platforms.

ok jsg@


# 1.30 18-Mar-2016 jsg

Remove support for ARM9T (armv4t). Not used by any of the arm platforms.
From Patrick Wildt.


# 1.29 18-Mar-2016 jsg

Remove support for ARM8, an old armv4 processor without thumb that was
never supported by any arm port and wouldn't have built due to a missing
cpufunc_asm_arm8.S file.

From Patrick Wildt.


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.28 17-Jul-2015 tedu

remove obsolete INET kernel option


Revision tags: OPENBSD_5_7_BASE
# 1.27 30-Dec-2014 jsg

Remove redundant md memcpy.S and memmove.S lines. The mi config
definitions will find the md .S files for these.


# 1.26 09-Oct-2014 deraadt

disassem.c only if ddb; ok miod


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.25 09-May-2013 patrick

Drain the bufs after or before we do a bus space operation on ARMv7.

ok miod@


# 1.24 01-May-2013 patrick

Add a cortex bus which represents the ARM MPCore Complex.
It will attach only to ARM Cortex A9 and A15 SoCs.
The generic interrupt controller and timer will attach to this bus,
later a secondary cache controller can be added.
The base address for those controllers are figured out using
the periphbase register.

ok bmercer@


# 1.23 30-Apr-2013 patrick

Switch from pmap to pmap7.

ok bmercer@


# 1.22 27-Mar-2013 patrick

Move generic armv7 files into arm's file list.

ok bmercer@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.21 08-Nov-2011 deraadt

merge cpu_coredump() back to where it belongs, ok drahn miod


# 1.20 08-Nov-2011 deraadt

compat_13 support died ages ago


# 1.19 08-Nov-2011 deraadt

arm has no need for procfs


# 1.18 22-Sep-2011 miod

None of the mainbus child devices care about getting a bus_space_tag_t from
its parent, because they know better; so don't bother providing one, which
allows more unused code to go to the Attic.

While there, redo the config machinery for mainbus child devices, to bring
it to our current standards. This also allows them to be disabled in UKC,
should there be a need for this in the future.


# 1.17 20-Sep-2011 miod

Late spring cleaning of the arm code for old dusty bits we do not want to
keep:
- remove bootconfig parameter passing feature (unused).
- unifdef __PROG32 and remove all remains of arm26 code.
- remove ARMFPE support (unused).
- remove support for ARM2, ARM2AS, ARM3, ARM6, ARM7, ARM7TDMI and StrongARM
processor families, and the related silicon bug workarounds (especially
the SA-110 STM^ bug).
- remove cpu_functions no longer necessary after previous removals.
- remove ARM32_DISABLE_ALIGNMENT_FAULTS option (unused).
- make FIQ support conditional on option FIQ (unused, but may be eventually).

Discussed with drahn@ and jasper@ long ago, I was sitting on this commit for
no good reason.


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.16 06-Dec-2010 jasper

- remove unused/commented COMPAT_LINUX stuff

ok deraadt@


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.15 08-May-2009 drahn

Pieces of arm11 and armv7 support for newer cpus. This is work in progress
and not complete.


Revision tags: OPENBSD_4_5_BASE
# 1.14 11-Sep-2008 kevlo

add support for arm9e core, taken from NetBSD.
ok drahn@


Revision tags: OPENBSD_4_4_BASE
# 1.13 25-Apr-2008 jmc

neccessary -> necessary; from Pierre Riteau


Revision tags: OPENBSD_4_3_BASE
# 1.12 25-Nov-2007 deraadt

libkern, begone. Move to a new mechanism where config(8)'s "file"
directive can select between MI and MD versions of these files. At
the same time, adjust the boot programs to pick exactly what they need,
instead of the 7 or 8 mechanisms previously used.

There will be some fallout from this, but testing it all by myself is a
ridiculously slow process; it will be finished in-tree.

Various developers were very nice and avoided making fun of me when I
was gibbering in the corner..


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.11 12-Jul-2006 miod

Remove commented out defopt goo.


# 1.10 12-Jul-2006 miod

Turn GetCPSR() into an inline get_cpsr(), and remove more dead code.


# 1.9 12-Jul-2006 miod

Orphaned stuff.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.8 14-Jul-2005 uwe

More netccitt and netns removals; OK henning, brad, mickey


# 1.7 10-May-2005 brad

enable arm optimized in4_cksum

ok drahn@


# 1.6 01-May-2005 brad

To allow for MD override of in4_cksum()...

ok deraadt@


Revision tags: OPENBSD_3_7_BASE
# 1.5 08-Mar-2005 tdeval

Cosmetics...
Mainly remove space between locators parens, replace spaces with tabs
where appropriate and consistently align dependencies.


# 1.4 13-Jan-2005 drahn

dont make this dependant on bus_space_generic, that is bogus.
keep the define for compat for now.


# 1.3 08-Oct-2004 grange

Move dev/cons.c to MI conf/files.

ok miod@


Revision tags: OPENBSD_3_6_BASE
# 1.2 04-Aug-2004 miod

Remove the old fetch(9)/store(9) functions, since they are not used in
OpenBSD. This gives us a simpler and faster cpu_switch() as a bonus.

ok drahn@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.1 01-Feb-2004 drahn

branches: 1.1.2;
Arm port, NetBSD codebase stripped down, 32bit only support.


# 1.47 26-Jan-2018 kettenis

Add kernel support for the VFP FPU/SIMD unit. Based on a diff by drahn@.
This allows us to use floating-pointer and vector instructions in userland
code. The current implementation assumes all 32 VFP registers are present.
This should be the case on all armv7 hardware currently supported by
OpenBSD.

ok patrick@


Revision tags: OPENBSD_6_2_BASE
# 1.46 30-Apr-2017 mpi

Unifdef KGDB.

It doesn't compile und hasn't been working during the last decade.

ok kettenis@, deraadt@


# 1.45 27-Apr-2017 kettenis

Bring over the changes to mainbus(4) and simplebus(4) from arm64.


Revision tags: OPENBSD_6_1_BASE
# 1.44 21-Jan-2017 reyk

Move virtio config from files.pci to files.pci

virtio itself is not PCI, it is a paravirtual bus on top of either PCI
or MMIO (arm). This is the first step of moving the virtio files to
dev/pv. No functional change.

arm kernel changes tested by jsg@ and patrick@
no objections from sf@ mlarkin@


# 1.43 02-Jan-2017 jsg

remove unused armv4 and xscale files
ok kettenis@ patrick@


# 1.42 24-Sep-2016 kettenis

Add an implementation of __aeabi_ldivmode() and __aeabi_uldivmod(); clang
generates calls to these functions when compiling an armv7 kernel.

Code from NetBSD's unified userland+kernel implementation, with lots of
irrelevant (for us) #ifdefs removed.

ok patrick@, guenther@


# 1.41 18-Sep-2016 kettenis

Use a locator (named "early") to let designated drivers attach before others.

ok patrick@, jsg@


# 1.40 14-Aug-2016 jsg

Remove code for Intel 80219/80321 xscale processors used by armish.
Generic xscale support and support for pxa2x0 used by zaurus remains.


# 1.39 06-Aug-2016 kettenis

Build ofw_pinctrl.o and ofw_gpio.o on armv7. The latters here from the
generic arm files list. There is no point in building it on armish or
zaurus.

ok patrick@


Revision tags: OPENBSD_6_0_BASE
# 1.38 11-Jul-2016 kettenis

Hook up imxgpio(4) to the FDT gpio framework.

ok visa@, jsg@


# 1.37 23-May-2016 deraadt

Change openprom into a pseudo-device, because not all arm platforms
will have it. This is a bit of a hack. Maybe it should attach off
mainbus as a proper fake device, but that would have more tendrils..
checked by jsg


# 1.36 02-May-2016 patrick

Rework mainbus and implement simplebus to be able to span a tree-like
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.

ok jsg@ kettenis@


# 1.35 22-Mar-2016 patrick

Remove support for ARM10.

ok jsg@


# 1.34 22-Mar-2016 patrick

Remove support for ARM9E. This is another step in the plan to remove
all unused and unmaintained ARM processors from the past.

ok bmercer@ jsg@


# 1.33 19-Mar-2016 patrick

Remove support for the XScale 80200. We don't use it, it didn't compile
and the included headers didn't even exist.

ok jsg@


# 1.32 19-Mar-2016 patrick

Remove support for IXP425. This is another architecture that is not
used and has probably never been used at all. Some included headers
do not even exist.

ok jsg@


# 1.31 19-Mar-2016 patrick

Remove support for StrongARM (SA1) and IXP12x0. Both are ARMv4 and
are not used by any of the arm platforms.

ok jsg@


# 1.30 18-Mar-2016 jsg

Remove support for ARM9T (armv4t). Not used by any of the arm platforms.
From Patrick Wildt.


# 1.29 18-Mar-2016 jsg

Remove support for ARM8, an old armv4 processor without thumb that was
never supported by any arm port and wouldn't have built due to a missing
cpufunc_asm_arm8.S file.

From Patrick Wildt.


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.28 17-Jul-2015 tedu

remove obsolete INET kernel option


Revision tags: OPENBSD_5_7_BASE
# 1.27 30-Dec-2014 jsg

Remove redundant md memcpy.S and memmove.S lines. The mi config
definitions will find the md .S files for these.


# 1.26 09-Oct-2014 deraadt

disassem.c only if ddb; ok miod


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.25 09-May-2013 patrick

Drain the bufs after or before we do a bus space operation on ARMv7.

ok miod@


# 1.24 01-May-2013 patrick

Add a cortex bus which represents the ARM MPCore Complex.
It will attach only to ARM Cortex A9 and A15 SoCs.
The generic interrupt controller and timer will attach to this bus,
later a secondary cache controller can be added.
The base address for those controllers are figured out using
the periphbase register.

ok bmercer@


# 1.23 30-Apr-2013 patrick

Switch from pmap to pmap7.

ok bmercer@


# 1.22 27-Mar-2013 patrick

Move generic armv7 files into arm's file list.

ok bmercer@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.21 08-Nov-2011 deraadt

merge cpu_coredump() back to where it belongs, ok drahn miod


# 1.20 08-Nov-2011 deraadt

compat_13 support died ages ago


# 1.19 08-Nov-2011 deraadt

arm has no need for procfs


# 1.18 22-Sep-2011 miod

None of the mainbus child devices care about getting a bus_space_tag_t from
its parent, because they know better; so don't bother providing one, which
allows more unused code to go to the Attic.

While there, redo the config machinery for mainbus child devices, to bring
it to our current standards. This also allows them to be disabled in UKC,
should there be a need for this in the future.


# 1.17 20-Sep-2011 miod

Late spring cleaning of the arm code for old dusty bits we do not want to
keep:
- remove bootconfig parameter passing feature (unused).
- unifdef __PROG32 and remove all remains of arm26 code.
- remove ARMFPE support (unused).
- remove support for ARM2, ARM2AS, ARM3, ARM6, ARM7, ARM7TDMI and StrongARM
processor families, and the related silicon bug workarounds (especially
the SA-110 STM^ bug).
- remove cpu_functions no longer necessary after previous removals.
- remove ARM32_DISABLE_ALIGNMENT_FAULTS option (unused).
- make FIQ support conditional on option FIQ (unused, but may be eventually).

Discussed with drahn@ and jasper@ long ago, I was sitting on this commit for
no good reason.


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.16 06-Dec-2010 jasper

- remove unused/commented COMPAT_LINUX stuff

ok deraadt@


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.15 08-May-2009 drahn

Pieces of arm11 and armv7 support for newer cpus. This is work in progress
and not complete.


Revision tags: OPENBSD_4_5_BASE
# 1.14 11-Sep-2008 kevlo

add support for arm9e core, taken from NetBSD.
ok drahn@


Revision tags: OPENBSD_4_4_BASE
# 1.13 25-Apr-2008 jmc

neccessary -> necessary; from Pierre Riteau


Revision tags: OPENBSD_4_3_BASE
# 1.12 25-Nov-2007 deraadt

libkern, begone. Move to a new mechanism where config(8)'s "file"
directive can select between MI and MD versions of these files. At
the same time, adjust the boot programs to pick exactly what they need,
instead of the 7 or 8 mechanisms previously used.

There will be some fallout from this, but testing it all by myself is a
ridiculously slow process; it will be finished in-tree.

Various developers were very nice and avoided making fun of me when I
was gibbering in the corner..


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.11 12-Jul-2006 miod

Remove commented out defopt goo.


# 1.10 12-Jul-2006 miod

Turn GetCPSR() into an inline get_cpsr(), and remove more dead code.


# 1.9 12-Jul-2006 miod

Orphaned stuff.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.8 14-Jul-2005 uwe

More netccitt and netns removals; OK henning, brad, mickey


# 1.7 10-May-2005 brad

enable arm optimized in4_cksum

ok drahn@


# 1.6 01-May-2005 brad

To allow for MD override of in4_cksum()...

ok deraadt@


Revision tags: OPENBSD_3_7_BASE
# 1.5 08-Mar-2005 tdeval

Cosmetics...
Mainly remove space between locators parens, replace spaces with tabs
where appropriate and consistently align dependencies.


# 1.4 13-Jan-2005 drahn

dont make this dependant on bus_space_generic, that is bogus.
keep the define for compat for now.


# 1.3 08-Oct-2004 grange

Move dev/cons.c to MI conf/files.

ok miod@


Revision tags: OPENBSD_3_6_BASE
# 1.2 04-Aug-2004 miod

Remove the old fetch(9)/store(9) functions, since they are not used in
OpenBSD. This gives us a simpler and faster cpu_switch() as a bonus.

ok drahn@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.1 01-Feb-2004 drahn

branches: 1.1.2;
Arm port, NetBSD codebase stripped down, 32bit only support.


Revision tags: OPENBSD_6_2_BASE
# 1.46 30-Apr-2017 mpi

Unifdef KGDB.

It doesn't compile und hasn't been working during the last decade.

ok kettenis@, deraadt@


# 1.45 27-Apr-2017 kettenis

Bring over the changes to mainbus(4) and simplebus(4) from arm64.


Revision tags: OPENBSD_6_1_BASE
# 1.44 21-Jan-2017 reyk

Move virtio config from files.pci to files.pci

virtio itself is not PCI, it is a paravirtual bus on top of either PCI
or MMIO (arm). This is the first step of moving the virtio files to
dev/pv. No functional change.

arm kernel changes tested by jsg@ and patrick@
no objections from sf@ mlarkin@


# 1.43 02-Jan-2017 jsg

remove unused armv4 and xscale files
ok kettenis@ patrick@


# 1.42 24-Sep-2016 kettenis

Add an implementation of __aeabi_ldivmode() and __aeabi_uldivmod(); clang
generates calls to these functions when compiling an armv7 kernel.

Code from NetBSD's unified userland+kernel implementation, with lots of
irrelevant (for us) #ifdefs removed.

ok patrick@, guenther@


# 1.41 18-Sep-2016 kettenis

Use a locator (named "early") to let designated drivers attach before others.

ok patrick@, jsg@


# 1.40 14-Aug-2016 jsg

Remove code for Intel 80219/80321 xscale processors used by armish.
Generic xscale support and support for pxa2x0 used by zaurus remains.


# 1.39 06-Aug-2016 kettenis

Build ofw_pinctrl.o and ofw_gpio.o on armv7. The latters here from the
generic arm files list. There is no point in building it on armish or
zaurus.

ok patrick@


Revision tags: OPENBSD_6_0_BASE
# 1.38 11-Jul-2016 kettenis

Hook up imxgpio(4) to the FDT gpio framework.

ok visa@, jsg@


# 1.37 23-May-2016 deraadt

Change openprom into a pseudo-device, because not all arm platforms
will have it. This is a bit of a hack. Maybe it should attach off
mainbus as a proper fake device, but that would have more tendrils..
checked by jsg


# 1.36 02-May-2016 patrick

Rework mainbus and implement simplebus to be able to span a tree-like
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.

ok jsg@ kettenis@


# 1.35 22-Mar-2016 patrick

Remove support for ARM10.

ok jsg@


# 1.34 22-Mar-2016 patrick

Remove support for ARM9E. This is another step in the plan to remove
all unused and unmaintained ARM processors from the past.

ok bmercer@ jsg@


# 1.33 19-Mar-2016 patrick

Remove support for the XScale 80200. We don't use it, it didn't compile
and the included headers didn't even exist.

ok jsg@


# 1.32 19-Mar-2016 patrick

Remove support for IXP425. This is another architecture that is not
used and has probably never been used at all. Some included headers
do not even exist.

ok jsg@


# 1.31 19-Mar-2016 patrick

Remove support for StrongARM (SA1) and IXP12x0. Both are ARMv4 and
are not used by any of the arm platforms.

ok jsg@


# 1.30 18-Mar-2016 jsg

Remove support for ARM9T (armv4t). Not used by any of the arm platforms.
From Patrick Wildt.


# 1.29 18-Mar-2016 jsg

Remove support for ARM8, an old armv4 processor without thumb that was
never supported by any arm port and wouldn't have built due to a missing
cpufunc_asm_arm8.S file.

From Patrick Wildt.


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.28 17-Jul-2015 tedu

remove obsolete INET kernel option


Revision tags: OPENBSD_5_7_BASE
# 1.27 30-Dec-2014 jsg

Remove redundant md memcpy.S and memmove.S lines. The mi config
definitions will find the md .S files for these.


# 1.26 09-Oct-2014 deraadt

disassem.c only if ddb; ok miod


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.25 09-May-2013 patrick

Drain the bufs after or before we do a bus space operation on ARMv7.

ok miod@


# 1.24 01-May-2013 patrick

Add a cortex bus which represents the ARM MPCore Complex.
It will attach only to ARM Cortex A9 and A15 SoCs.
The generic interrupt controller and timer will attach to this bus,
later a secondary cache controller can be added.
The base address for those controllers are figured out using
the periphbase register.

ok bmercer@


# 1.23 30-Apr-2013 patrick

Switch from pmap to pmap7.

ok bmercer@


# 1.22 27-Mar-2013 patrick

Move generic armv7 files into arm's file list.

ok bmercer@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.21 08-Nov-2011 deraadt

merge cpu_coredump() back to where it belongs, ok drahn miod


# 1.20 08-Nov-2011 deraadt

compat_13 support died ages ago


# 1.19 08-Nov-2011 deraadt

arm has no need for procfs


# 1.18 22-Sep-2011 miod

None of the mainbus child devices care about getting a bus_space_tag_t from
its parent, because they know better; so don't bother providing one, which
allows more unused code to go to the Attic.

While there, redo the config machinery for mainbus child devices, to bring
it to our current standards. This also allows them to be disabled in UKC,
should there be a need for this in the future.


# 1.17 20-Sep-2011 miod

Late spring cleaning of the arm code for old dusty bits we do not want to
keep:
- remove bootconfig parameter passing feature (unused).
- unifdef __PROG32 and remove all remains of arm26 code.
- remove ARMFPE support (unused).
- remove support for ARM2, ARM2AS, ARM3, ARM6, ARM7, ARM7TDMI and StrongARM
processor families, and the related silicon bug workarounds (especially
the SA-110 STM^ bug).
- remove cpu_functions no longer necessary after previous removals.
- remove ARM32_DISABLE_ALIGNMENT_FAULTS option (unused).
- make FIQ support conditional on option FIQ (unused, but may be eventually).

Discussed with drahn@ and jasper@ long ago, I was sitting on this commit for
no good reason.


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.16 06-Dec-2010 jasper

- remove unused/commented COMPAT_LINUX stuff

ok deraadt@


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.15 08-May-2009 drahn

Pieces of arm11 and armv7 support for newer cpus. This is work in progress
and not complete.


Revision tags: OPENBSD_4_5_BASE
# 1.14 11-Sep-2008 kevlo

add support for arm9e core, taken from NetBSD.
ok drahn@


Revision tags: OPENBSD_4_4_BASE
# 1.13 25-Apr-2008 jmc

neccessary -> necessary; from Pierre Riteau


Revision tags: OPENBSD_4_3_BASE
# 1.12 25-Nov-2007 deraadt

libkern, begone. Move to a new mechanism where config(8)'s "file"
directive can select between MI and MD versions of these files. At
the same time, adjust the boot programs to pick exactly what they need,
instead of the 7 or 8 mechanisms previously used.

There will be some fallout from this, but testing it all by myself is a
ridiculously slow process; it will be finished in-tree.

Various developers were very nice and avoided making fun of me when I
was gibbering in the corner..


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.11 12-Jul-2006 miod

Remove commented out defopt goo.


# 1.10 12-Jul-2006 miod

Turn GetCPSR() into an inline get_cpsr(), and remove more dead code.


# 1.9 12-Jul-2006 miod

Orphaned stuff.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.8 14-Jul-2005 uwe

More netccitt and netns removals; OK henning, brad, mickey


# 1.7 10-May-2005 brad

enable arm optimized in4_cksum

ok drahn@


# 1.6 01-May-2005 brad

To allow for MD override of in4_cksum()...

ok deraadt@


Revision tags: OPENBSD_3_7_BASE
# 1.5 08-Mar-2005 tdeval

Cosmetics...
Mainly remove space between locators parens, replace spaces with tabs
where appropriate and consistently align dependencies.


# 1.4 13-Jan-2005 drahn

dont make this dependant on bus_space_generic, that is bogus.
keep the define for compat for now.


# 1.3 08-Oct-2004 grange

Move dev/cons.c to MI conf/files.

ok miod@


Revision tags: OPENBSD_3_6_BASE
# 1.2 04-Aug-2004 miod

Remove the old fetch(9)/store(9) functions, since they are not used in
OpenBSD. This gives us a simpler and faster cpu_switch() as a bonus.

ok drahn@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.1 01-Feb-2004 drahn

branches: 1.1.2;
Arm port, NetBSD codebase stripped down, 32bit only support.