#
fdafd315 |
|
24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Automated cleanup of cdefs and other formatting Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
|
#
685dc743 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
95ee2897 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
#
4d846d26 |
|
10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
|
#
af3dc4a7 |
|
27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys/arm: further adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
|
#
75f48c23 |
|
11-Jul-2017 |
Andrew Turner <andrew@FreeBSD.org> |
Add external PLATFORM access on arm, and use it in the pl310 driver. This allows multiple instances of SoCs that use the pl310 driver to be built within the same kernel: * Add access to the platform_t object from outside platform.c * Use this with the pl310 driver There is a new platform_pl310 interface to replace the existing code. SoCs need to implement the init method, and if they have special requirements to write to the two registers we care about will also need to implement the write_ctrl and write_debug methods. Differential Revision: https://reviews.freebsd.org/D11546
|
#
3185adf0 |
|
10-Jul-2017 |
Andrew Turner <andrew@FreeBSD.org> |
Start to move the arm *_mp.h to be names *_machdep.h. These will be used by the reworked pl310 driver interface in https://reviews.freebsd.org/D11546
|
#
57521c21 |
|
04-Jul-2017 |
Andrew Turner <andrew@FreeBSD.org> |
Add a delay count to the last few places. This will help make MULTIDELAY a requirement on armv6 with PLATFORM.
|
#
dc59c854 |
|
03-Jun-2017 |
Andrew Turner <andrew@FreeBSD.org> |
Port the Xilinx code to use PLATFORM and PLATFORM_SMP. This will help move it to be part of the armv6 GENERIC kernel.
|
#
59249a51 |
|
13-Dec-2016 |
Andrew Turner <andrew@FreeBSD.org> |
Add the missing void to function signatures in much of the arm code. Sponsored by: ABT Systems Ltd
|
#
df767535 |
|
14-Nov-2016 |
Andrew Turner <andrew@FreeBSD.org> |
Stop including fdt_common.h from the arm code when it's unneeded. Sponsored by: ABT Systems Ltd
|
#
639e9907 |
|
11-Nov-2016 |
Andrew Turner <andrew@FreeBSD.org> |
Remove more unneeded users of the fdt_pic_decode_t table. Sponsored by: ABT Systems Ltd
|
#
0a4c0732 |
|
23-Sep-2016 |
Andrew Turner <andrew@FreeBSD.org> |
Restrict where we need to define fdt_fixup_table to just PowerPC and Marvell. Sponsored by: ABT Systems Ltd
|
#
c35b5d83 |
|
22-Sep-2016 |
Andrew Turner <andrew@FreeBSD.org> |
Remove bus_dma_get_range and bus_dma_get_range_nb on armv6. We only need this on a few earlier arm SoCs. Reviewed by: manu (earlier version) Sponsored by: ABT Systems Ltd
|
#
30b72b68 |
|
26-Apr-2016 |
Ruslan Bukin <br@FreeBSD.org> |
Move arm's devmap to some generic place, so it can be used by other architectures. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D6091 Sponsored by: DARPA, AFRL Sponsored by: HEIF5
|
#
59c3cb81 |
|
15-Apr-2016 |
Andrew Turner <andrew@FreeBSD.org> |
Rename ARM_INTRNG and MIPS_INTRNG to INTRNG. This will help with machine independent code that needs to know about INTRNG such as PCI drivers. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
|
#
647a3bac |
|
11-Feb-2016 |
Andrew Turner <andrew@FreeBSD.org> |
Stop defining fdt_pic_table when building for ARM_INTRNG.
|
#
40e6bdaf |
|
18-Nov-2014 |
Warner Losh <imp@FreeBSD.org> |
opt_global.h is included automatically in the build. No need to explicitly include it in these places. Sponsored by: Netflix
|
#
27521ff8 |
|
17-May-2014 |
Andrew Turner <andrew@FreeBSD.org> |
Add the start of the ARM platform code. This is based on the PowerPC platform code, it is expected these will be merged in the future when the ARM code is more complete. Until more boards can be tested only use this with the Raspberry Pi and rrename the functions on the other SoCs. Reviewed by: ian@
|
#
4c053598 |
|
30-Apr-2014 |
Ian Lepore <ian@FreeBSD.org> |
Convert the Zynq SoC support to the new routines for static device mapping.
|
#
515cbe86 |
|
04-Nov-2013 |
Ian Lepore <ian@FreeBSD.org> |
Call initarm_lastaddr() later in the init sequence, after establishing static device mappings, rather than as the first of the initializations that a platform can hook into. This allows a platform to allocate KVA from the top of the address space downwards for things like static device mapping, and return the final "last usable address" result after that and other early init work is done. Because some platforms were doing work in initarm_lastaddr() that needs to be done early, add a new initarm_early_init() routine and move the early init code to that routine on those platforms. Rename platform_devmap_init() to initarm_devmap_init() to match all the other init routines called from initarm() that are designed to be implemented by platform code. Add a comment block that explains when these routines are called and the type of work expected to be done in each of them.
|
#
3110e7ee |
|
04-Nov-2013 |
Ian Lepore <ian@FreeBSD.org> |
Move remaining code and data related to static device mapping into the new devmap.[ch] files. Emphasize the MD nature of these things by using the prefix arm_devmap_ on the function and type names (already a few of these things found their way into MI code, hopefully it will be harder to do by accident in the future).
|
#
99af02e3 |
|
26-Oct-2013 |
Ian Lepore <ian@FreeBSD.org> |
Retire arm_remap_nocache() and the data and constants associated with it. The only remaining user was the code that allocates bounce pages for armv4 busdma. It's not clear why bounce pages would need uncached memory, but if that ever changes, kmem_alloc_attr() would be the way to get it.
|
#
64894120 |
|
26-Oct-2013 |
Ian Lepore <ian@FreeBSD.org> |
Remove #include <machine/frame.h> from all the arm code that doesn't really need it. That would be almost everywhere it was included. Add it in a couple files that really do need it and were previously getting it by accident via another header.
|
#
69d75558 |
|
26-Oct-2013 |
Ian Lepore <ian@FreeBSD.org> |
Remove all #include <machine/pmap.h> from arm code. It's already included by vm/pmap.h, which is a prerequisite for arm/machine/pmap.h so there's no reason to ever include it directly. Thanks to alc@ for pointing this out.
|
#
40713190 |
|
28-Apr-2013 |
Wojciech A. Koszek <wkoszek@FreeBSD.org> |
Bring copyright changes with the agreement of Thomas Skibo. Communication on src-commiters, Sat, 27 Apr 2013 22:09:06 -0700, Subject was: "Re: svn commit: r249997" As I'm here, fix the style main block comments in files' headers.
|
#
a9caca6a |
|
27-Apr-2013 |
Wojciech A. Koszek <wkoszek@FreeBSD.org> |
Add Xilinx Zynq ARM/FPGA SoC support to FreeBSD/arm port. Submitted by: Thomas Skibo <ThomasSkibo (at) sbcglobal.net> Reviewed by: wkoszek, freebsd-arm@ (no objections raised)
|