Author: andrew
Date: Mon May 11 18:52:06 2015
New Revision: 282776
URL: https://svnweb.freebsd.org/changeset/base/282776
Log:
List both registers to use in the 64-bit atomic instructions. We will need
these to build for Thumb-2.
Modified:
head/sys/arm/include/atomic.h
Modified:
Author: andrew
Date: Mon May 11 19:04:32 2015
New Revision: 282778
URL: https://svnweb.freebsd.org/changeset/base/282778
Log:
Mark thumb entry points as such when building for thumb, otherwise mark
them as arm.
Modified:
head/sys/arm/include/asm.h
Modified: head/sys/arm/include/asm.h
Author: andrew
Date: Mon May 11 19:00:02 2015
New Revision: 282777
URL: https://svnweb.freebsd.org/changeset/base/282777
Log:
Use the Thumb compliant version of the add instruction. We can only use
add Rd, Rn, Rm from within an IT (if-then) block.
Modified:
head/sys/arm/include/asm.h
Author: andrew
Date: Mon May 11 19:20:30 2015
New Revision: 282779
URL: https://svnweb.freebsd.org/changeset/base/282779
Log:
Add the kernel support for Thumb-2. It is only supported on ARMv7 as the
main ARMv6 target, the Raspberry Pi, doesn't support Thumb-2.
This as been tested with a
Author: andrew
Date: Mon May 11 20:33:46 2015
New Revision: 282782
URL: https://svnweb.freebsd.org/changeset/base/282782
Log:
Use the GOT_* macros to help simplify the code, these work with both pic
and non-pic code, and to build for Thumb.
Modified:
head/lib/libc/arm/sys/brk.S
Author: andrew
Date: Tue May 5 10:35:29 2015
New Revision: 282471
URL: https://svnweb.freebsd.org/changeset/base/282471
Log:
Copy new attribute types when linking. bfd will copy attributes as needed,
however it will fail to output them if the type is not set correctly. This
can happen when
On Tue, 5 May 2015 10:33:00 + (UTC)
Andrew Turner and...@freebsd.org wrote:
Author: andrew
Date: Tue May 5 10:32:59 2015
New Revision: 282470
URL: https://svnweb.freebsd.org/changeset/base/282470
Log:
When cross-building ${LIBSTAND} may be set to the host copy. Point
Author: andrew
Date: Tue May 5 10:32:59 2015
New Revision: 282470
URL: https://svnweb.freebsd.org/changeset/base/282470
Log:
When cross-building ${LIBSTAND} may be set to the host copy. Point to the
version built with the toolchain.
Differential Revision:
Author: andrew
Date: Tue May 5 11:00:50 2015
New Revision: 282474
URL: https://svnweb.freebsd.org/changeset/base/282474
Log:
Disable the use of floating-point and vector registers in the loader. They
need the vfp unit to be enabled which may not be the case.
Modified:
Author: andrew
Date: Tue May 5 11:07:43 2015
New Revision: 282477
URL: https://svnweb.freebsd.org/changeset/base/282477
Log:
Add FDT to the list of known GUIDs.
Modified:
head/sys/boot/efi/loader/main.c
Modified: head/sys/boot/efi/loader/main.c
Author: andrew
Date: Tue May 5 11:13:16 2015
New Revision: 282480
URL: https://svnweb.freebsd.org/changeset/base/282480
Log:
Move the point we attach the ofw driver on arm64 to nexus.c. This will
allow us to have a single place to decide to use ofw or acpi.
Modified:
Author: andrew
Date: Thu May 7 12:38:23 2015
New Revision: 282576
URL: https://svnweb.freebsd.org/changeset/base/282576
Log:
Clean up the ARM kernel configs to use 'includespacetabfile'.
Modified:
head/sys/arm/conf/AML8726
head/sys/arm/conf/APALIS-IMX6
head/sys/arm/conf/ARMADAXP
Author: andrew
Date: Tue May 12 10:03:14 2015
New Revision: 282816
URL: https://svnweb.freebsd.org/changeset/base/282816
Log:
Teach bits of libc about Thumb. This adds the if-then instructions needed
to handle the ARM conditional execution.
While here fix a bug found by this in the
Author: andrew
Date: Thu May 14 12:43:39 2015
New Revision: 282896
URL: https://svnweb.freebsd.org/changeset/base/282896
Log:
Remove OUTPUT_FORMAT from theARM EFI linker script, it breaks building
for big-endian arm.
Modified:
head/sys/boot/efi/loader/arch/arm/ldscript.arm
Modified:
Author: andrew
Date: Mon May 18 08:12:08 2015
New Revision: 283052
URL: https://svnweb.freebsd.org/changeset/base/283052
Log:
Clean up the style to be includespacetab and remove options already
in std.armv6.
Modified:
head/sys/arm/conf/ALPINE
Modified: head/sys/arm/conf/ALPINE
Author: andrew
Date: Wed May 13 16:02:55 2015
New Revision: 282864
URL: https://svnweb.freebsd.org/changeset/base/282864
Log:
Use the correct node wen reading the compatible property.
Modified:
head/sys/dev/ofw/ofw_bus_subr.c
Modified: head/sys/dev/ofw/ofw_bus_subr.c
On Mon, 4 May 2015 12:42:53 + (UTC)
Cy Schubert c...@freebsd.org wrote:
Author: cy
Date: Mon May 4 12:42:52 2015
New Revision: 282415
URL: https://svnweb.freebsd.org/changeset/base/282415
Log:
Restore CPU dependent compile time conditionals.
MFC after: 1 month (with r281143
Author: andrew
Date: Sun May 17 18:35:58 2015
New Revision: 283034
URL: https://svnweb.freebsd.org/changeset/base/283034
Log:
Clean up struct syscall_args:
1. Align to a 64-bit address so 64-bit data will be correctly aligned.
2. Add a comment explaining why.
3. Remove an unneeded
Author: andrew
Date: Mon May 18 11:04:07 2015
New Revision: 283057
URL: https://svnweb.freebsd.org/changeset/base/283057
Log:
Clean up the Amlogic interrupt controller driver to handle the case where
we have both the Amlogic pic and a GIC. This may be the case in some
configurations.
Author: andrew
Date: Wed Apr 15 14:20:12 2015
New Revision: 281556
URL: https://svnweb.freebsd.org/changeset/base/281556
Log:
Use the correct value to get the offset of the objects tls data.
Sponsored by: The FreeBSD Foundation
Modified:
head/libexec/rtld-elf/aarch64/reloc.c
Modified:
Author: andrew
Date: Wed Apr 15 14:18:25 2015
New Revision: 281554
URL: https://svnweb.freebsd.org/changeset/base/281554
Log:
Ensure the userland thread and floating-point state has been saved before
copying the pcb. These values may have been changed just before the call
to fork and
Author: andrew
Date: Wed Apr 15 14:30:07 2015
New Revision: 281557
URL: https://svnweb.freebsd.org/changeset/base/281557
Log:
Enter a critical section when storing the vfp registers, we don't want to
be preempted here as this will enter back into this function, but the
hardware could be in
Author: andrew
Date: Fri Apr 17 09:14:58 2015
New Revision: 281647
URL: https://svnweb.freebsd.org/changeset/base/281647
Log:
Use cp15_ifar_get to get the instruction fault address. When using Thumb-2
the instruction may be over two pages so the program counter could point
to the wrong
Author: andrew
Date: Fri Apr 17 09:17:35 2015
New Revision: 281648
URL: https://svnweb.freebsd.org/changeset/base/281648
Log:
Remove support for reading the syscall code in OABI. This is unneeded now
we can only build for EABI.
Modified:
head/sys/arm/arm/vm_machdep.c
Modified:
Author: andrew
Date: Fri Apr 17 12:58:09 2015
New Revision: 281654
URL: https://svnweb.freebsd.org/changeset/base/281654
Log:
Use the address of fsu_intr_fault, not the first two instructions in it as
the address to check if we are handling a trap for fuswintr or suswintr.
Sponsored by:
On Thu, 9 Apr 2015 21:38:02 +1000 (EST)
Bruce Evans b...@optusnet.com.au wrote:
On Thu, 9 Apr 2015, Andrew Turner wrote:
Log:
Print error values with hex to make it easier to find the EFI
error type.
Modified:
head/sys/boot/efi/boot1/boot1.c
Modified: head/sys/boot/efi/boot1
2015
(r281494)
@@ -0,0 +1,90 @@
+/*-
+ * Copyright (c) 2015 The FreeBSD Foundation
+ * All rights reserved.
+ *
+ * This software was developed by Andrew Turner under
+ * sponsorship from the FreeBSD Foundation.
+ *
+ * Redistribution and use in source and binary forms, with or without
Author: andrew
Date: Mon Apr 13 13:21:27 2015
New Revision: 281493
URL: https://svnweb.freebsd.org/changeset/base/281493
Log:
Update the arm devmap code to also work with arm64.
There are a few differences between the two. On arm we need to provide a
list of addresses we may be mapping
)
@@ -0,0 +1,49 @@
+/*-
+ * Copyright (c) 2013, 2014 Robin Randhawa
+ * Copyright (c) 2015 The FreeBSD Foundation
+ * All rights reserved.
+ *
+ * This software was developed by Andrew Turner under
+ * sponsorship from the FreeBSD Foundation.
+ *
+ * Redistribution and use in source and binary forms
Author: andrew
Date: Mon Apr 13 16:00:09 2015
New Revision: 281496
URL: https://svnweb.freebsd.org/changeset/base/281496
Log:
Create the correct symlinks for the machine directory, and only create the
x86 symlink on i386 and amd64. Before this incorrect symlinks were being
created on armi
Author: andrew
Date: Sat Apr 11 10:21:26 2015
New Revision: 281433
URL: https://svnweb.freebsd.org/changeset/base/281433
Log:
Move reloc.c to the top level Makefile as it has become generic.
Modified:
head/sys/boot/efi/loader/Makefile
head/sys/boot/efi/loader/arch/amd64/Makefile.inc
Author: andrew
Date: Sat Apr 11 11:00:53 2015
New Revision: 281435
URL: https://svnweb.freebsd.org/changeset/base/281435
Log:
Add fdt support to the arm loader.efi
Modified:
head/sys/boot/efi/loader/arch/arm/Makefile.inc
Modified: head/sys/boot/efi/loader/arch/arm/Makefile.inc
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/arm/qemu/virt_common.c Sat Apr 11 17:52:47 2015
(r281439)
@@ -0,0 +1,45 @@
+/*-
+ * Copyright (c) 2015 Andrew Turner
+ * All rights reserved.
+ *
+ * Redistribution and use
Author: andrew
Date: Sat Apr 11 17:16:23 2015
New Revision: 281438
URL: https://svnweb.freebsd.org/changeset/base/281438
Log:
Add support for the uart classes to set their default register shift value.
This is needed with the pl011 driver. Before this change it would default
to a shift of
Author: andrew
Date: Sun Apr 12 08:10:18 2015
New Revision: 281459
URL: https://svnweb.freebsd.org/changeset/base/281459
Log:
Switch to the new v6 pmap code to increase its testing. It will now be
built as part of universe.
Modified:
head/sys/arm/conf/VIRT
Modified: head/sys/arm/conf/VIRT
added)
+++ head/sys/dev/psci/psci_arm.SSun Apr 12 13:00:58 2015
(r281466)
@@ -0,0 +1,47 @@
+/*-
+ * Copyright (c) 2015 Andrew Turner
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided
Author: andrew
Date: Sat Apr 11 10:36:48 2015
New Revision: 281434
URL: https://svnweb.freebsd.org/changeset/base/281434
Log:
Only add -fPIC to CFLAGS and -Wl,-znocombreloc to LDFLAGS on x86, they
shouldn't be used on arm.
Modified:
head/sys/boot/efi/loader/Makefile
Author: andrew
Date: Sat Apr 11 10:07:58 2015
New Revision: 281431
URL: https://svnweb.freebsd.org/changeset/base/281431
Log:
Update the arm efi ldscript to generate a valid efi binary
Modified:
head/sys/boot/efi/loader/arch/arm/ldscript.arm
Modified:
(r281526)
@@ -0,0 +1,165 @@
+/*-
+ * Copyright (c) 2014 Andrew Turner
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must
On Tue, 14 Apr 2015 13:55:02 + (UTC)
Andrew Turner and...@freebsd.org wrote:
Author: andrew
Date: Tue Apr 14 13:55:01 2015
New Revision: 281526
URL: https://svnweb.freebsd.org/changeset/base/281526
Log:
Add support for arm64 to loader.efi and boot1.efi
Reviewed
Author: andrew
Date: Tue Apr 14 14:15:14 2015
New Revision: 281527
URL: https://svnweb.freebsd.org/changeset/base/281527
Log:
* Remove the wfi when the efi loader returns, it's unneeded and is not
available on older designs.
* Enable the efi loader on arm
Modified:
Author: andrew
Date: Mon Apr 6 19:58:28 2015
New Revision: 281169
URL: https://svnweb.freebsd.org/changeset/base/281169
Log:
Make global variabled only used in this file static.
Modified:
head/sys/boot/efi/boot1/boot1.c
Modified: head/sys/boot/efi/boot1/boot1.c
:14 2015(r281197)
@@ -0,0 +1,63 @@
+/*-
+ * Copyright (c) 2014 Andrew Turner
+ * Copyright (c) 2015 The FreeBSD Foundation
+ * All rights reserved.
+ *
+ * This software was developed by Andrew Turner under
+ * sponsorship from the FreeBSD Foundation.
+ *
+ * Redistribution and use in source
Author: andrew
Date: Tue Apr 7 12:42:06 2015
New Revision: 281200
URL: https://svnweb.freebsd.org/changeset/base/281200
Log:
Fix uart_fdt_get_clock. It should have beed using the cell variable passed
in, not value on the stack.
Modified:
head/sys/dev/uart/uart_bus_fdt.c
Modified:
Author: andrew
Date: Fri Apr 3 19:33:26 2015
New Revision: 281048
URL: https://svnweb.freebsd.org/changeset/base/281048
Log:
More ARM EABI object attributes in binutils. This adds support to binutils
to include the Unaligned Access and Floating-point Half-precision
attributes. the former
On Fri, 3 Apr 2015 19:33:27 + (UTC)
Andrew Turner and...@freebsd.org wrote:
Author: andrew
Date: Fri Apr 3 19:33:26 2015
New Revision: 281048
URL: https://svnweb.freebsd.org/changeset/base/281048
Log:
More ARM EABI object attributes in binutils. This adds support to
This should say
Author: andrew
Date: Mon Apr 6 08:37:40 2015
New Revision: 281141
URL: https://svnweb.freebsd.org/changeset/base/281141
Log:
Respect DESTDIR when creating the directory structure when NO_ROOT is set.
Reviewed by: bapt
MFC after:1 Week
Modified:
head/etc/Makefile
Modified:
@@
+/*-
+ * Copyright (c) 2014, 2015 Andrew Turner
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice
Author: andrew
Date: Mon Apr 6 16:27:22 2015
New Revision: 281157
URL: https://svnweb.freebsd.org/changeset/base/281157
Log:
Split out the _acq and _rel functions. These were the same, but there is
no need for them to be this strong, we only need to provide one or the
other.
While
Author: andrew
Date: Tue Apr 7 13:17:28 2015
New Revision: 281201
URL: https://svnweb.freebsd.org/changeset/base/281201
Log:
We will have fueword on arm64, mark as such in machine/param.h.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/arm64/include/param.h
Modified:
Author: andrew
Date: Tue Apr 7 15:12:03 2015
New Revision: 281204
URL: https://svnweb.freebsd.org/changeset/base/281204
Log:
Get the fdt uart driver working on arm64, there is no machine/fdt.h, and
the default shift should be 2 for the SoCs we support.
Sponsored by: The FreeBSD
Author: andrew
Date: Sat Apr 4 09:57:52 2015
New Revision: 281074
URL: https://svnweb.freebsd.org/changeset/base/281074
Log:
Remove the extra copy of uart_fdt_get_clock and uart_fdt_get_shift. While
here also use OF_getencprop in uart_fdt_get_clock.
Sponsored by: The FreeBSD Foundation
Author: andrew
Date: Sat Apr 4 09:07:31 2015
New Revision: 281072
URL: https://svnweb.freebsd.org/changeset/base/281072
Log:
Add support for arm64 to the existing arm generic timer driver:
- Add macros to handle the differences in accessing these registers on arm
and arm64.
- Use
Author: andrew
Date: Sat Apr 4 09:21:56 2015
New Revision: 281073
URL: https://svnweb.freebsd.org/changeset/base/281073
Log:
Use OF_getencprop over OF_getprop and fdt32_to_cpu. The latter may give
us the wrong data in the failure case if shift was not zero.
Sponsored by: The FreeBSD
Author: andrew
Date: Sat Apr 4 18:45:25 2015
New Revision: 281077
URL: https://svnweb.freebsd.org/changeset/base/281077
Log:
Move uart_fdt_get_clock and uart_fdt_get_shift to uart_bus_fdt.c, we may
not build uart_cpu_fdt.c in all configs.
Modified:
head/sys/dev/uart/uart_bus_fdt.c
Author: andrew
Date: Sun Apr 5 09:50:22 2015
New Revision: 281106
URL: https://svnweb.freebsd.org/changeset/base/281106
Log:
dev/ofw/openfirm.h is not needed in the arm machine/fdt.h
Modified:
head/sys/arm/include/fdt.h
Modified: head/sys/arm/include/fdt.h
Author: andrew
Date: Sun Apr 5 18:37:39 2015
New Revision: 281114
URL: https://svnweb.freebsd.org/changeset/base/281114
Log:
Add FDT support to loader.efi. This will be used on arm and arm64.
Differential Revision:https://reviews.freebsd.org/D2219
Modified:
Author: andrew
Date: Sun Apr 5 18:42:43 2015
New Revision: 281115
URL: https://svnweb.freebsd.org/changeset/base/281115
Log:
Spell MACHINE_CPUARCH correctly
Modified:
head/sys/boot/efi/Makefile
Modified: head/sys/boot/efi/Makefile
Author: andrew
Date: Sun Apr 5 18:57:58 2015
New Revision: 281117
URL: https://svnweb.freebsd.org/changeset/base/281117
Log:
Move boot1.efi to the global CLEANFILES list, it's not x86 specific.
Modified:
head/sys/boot/efi/boot1/Makefile
Modified: head/sys/boot/efi/boot1/Makefile
Author: andrew
Date: Thu Apr 2 17:03:02 2015
New Revision: 280992
URL: https://svnweb.freebsd.org/changeset/base/280992
Log:
Only use the CROSS_BINUTILS_PREFIX tool if it exists.
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Modified:
head/Makefile.inc1
Modified:
Author: andrew
Date: Thu Apr 2 17:06:15 2015
New Revision: 280993
URL: https://svnweb.freebsd.org/changeset/base/280993
Log:
Exclude the floating-point functions from libgcc_s on arm64, they are
unneeded and will be provided by compiler-rt.
Sponsored by: The FreeBSD Foundation
added)
+++ head/lib/libkvm/kvm_aarch64.c Thu Apr 2 17:30:19 2015
(r280997)
@@ -0,0 +1,64 @@
+/*-
+ * Copyright (c) 2014 The FreeBSD Foundation
+ * All rights reserved.
+ *
+ * This software was developed by Andrew Turner under
+ * sponsorship from the FreeBSD Foundation
Author: andrew
Date: Sat Apr 4 22:05:43 2015
New Revision: 281087
URL: https://svnweb.freebsd.org/changeset/base/281087
Log:
Move the definition of fdt_localbus_devmap to a Marvell specific file as
it's only used there.
Modified:
head/sys/arm/include/fdt.h
head/sys/arm/mv/mv_localbus.c
Author: andrew
Date: Sat Apr 4 22:22:04 2015
New Revision: 281089
URL: https://svnweb.freebsd.org/changeset/base/281089
Log:
Don't include unneeded files in the arm machine/fdt.h. While here, remove
it from more files.
Modified:
head/sys/arm/arm/intr.c
head/sys/arm/arm/mpcore_timer.c
Author: andrew
Date: Sat Apr 4 21:34:26 2015
New Revision: 281085
URL: https://svnweb.freebsd.org/changeset/base/281085
Log:
Stop using machine/fdt.h in the arm kernel code when we don't need it.
Modified:
head/sys/arm/allwinner/a10_clk.c
head/sys/arm/allwinner/a10_common.c
Author: andrew
Date: Sat Apr 4 23:00:37 2015
New Revision: 281091
URL: https://svnweb.freebsd.org/changeset/base/281091
Log:
Include machine/intr.h for arm_post_filter.
Modified:
head/sys/arm/at91/at91_common.c
Modified: head/sys/arm/at91/at91_common.c
The FreeBSD Foundation
+ * All rights reserved.
+ *
+ * This software was developed by Andrew Turner under
+ * sponsorship from the FreeBSD Foundation.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
Author: andrew
Date: Sat Apr 4 23:03:11 2015
New Revision: 281092
URL: https://svnweb.freebsd.org/changeset/base/281092
Log:
Include vm/pmap.h for pmap_kextract.
Modified:
head/sys/arm/allwinner/a20/a20_mp.c
head/sys/arm/altera/socfpga/socfpga_mp.c
Author: andrew
Date: Sat Apr 4 23:10:13 2015
New Revision: 281093
URL: https://svnweb.freebsd.org/changeset/base/281093
Log:
Re-add machine/bus.h to machine/fdt.h on arm, it's still needed.
Modified:
head/sys/arm/include/fdt.h
Modified: head/sys/arm/include/fdt.h
Author: andrew
Date: Thu Apr 9 10:15:47 2015
New Revision: 281307
URL: https://svnweb.freebsd.org/changeset/base/281307
Log:
Print error values with hex to make it easier to find the EFI error type.
Modified:
head/sys/boot/efi/boot1/boot1.c
Modified: head/sys/boot/efi/boot1/boot1.c
Author: andrew
Date: Thu Apr 9 10:08:10 2015
New Revision: 281300
URL: https://svnweb.freebsd.org/changeset/base/281300
Log:
Only use -fPIC when building boot1.efi for x86.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/boot/efi/boot1/Makefile
Modified:
Author: andrew
Date: Thu Apr 9 10:00:26 2015
New Revision: 281297
URL: https://svnweb.freebsd.org/changeset/base/281297
Log:
Add the arm64 machine dependent parts of ficl. This is not machine
dependent, as most copies of these files are identical, but unfortunately
this is still needed.
Author: andrew
Date: Thu Apr 9 10:28:05 2015
New Revision: 281308
URL: https://svnweb.freebsd.org/changeset/base/281308
Log:
Add R_AARCH64_NONE, the null relocation.
Modified:
head/sys/sys/elf_common.h
Modified: head/sys/sys/elf_common.h
Author: andrew
Date: Mon Jun 22 19:43:08 2015
New Revision: 284707
URL: https://svnweb.freebsd.org/changeset/base/284707
Log:
Add a workaround to correctly align the stack before calling into C code.
When enough time has passed for users to update their userland the kernel
fix will be
)
+++ head/lib/libc/aarch64/gen/fpgetmask.c Thu Jun 25 08:22:25 2015
(r284807)
@@ -0,0 +1,47 @@
+/*-
+ * Copyright (c) 2015 The FreeBSD Foundation
+ * All rights reserved.
+ *
+ * This software was developed by Andrew Turner under
+ * sponsorship from the FreeBSD Foundation
Author: andrew
Date: Thu Jun 25 08:15:47 2015
New Revision: 284806
URL: https://svnweb.freebsd.org/changeset/base/284806
Log:
Export __flt_rounds from the arm64 libc.so
Modified:
head/lib/libc/aarch64/Symbol.map
Modified: head/lib/libc/aarch64/Symbol.map
Author: andrew
Date: Thu Jun 25 16:47:11 2015
New Revision: 284815
URL: https://svnweb.freebsd.org/changeset/base/284815
Log:
Sort the cpu architectures by name rather than a combination of
alphabetical order and appending new architectures to the end of the list.
Obtained from:
Author: andrew
Date: Wed Jun 24 12:19:49 2015
New Revision: 284751
URL: https://svnweb.freebsd.org/changeset/base/284751
Log:
Fix the floating-point exception values to line up with the hardware
register bits. Nothing in base uses these as they are deprecated, however
third-party
Author: andrew
Date: Wed Jun 24 16:15:32 2015
New Revision: 284768
URL: https://svnweb.freebsd.org/changeset/base/284768
Log:
Set the alignment of the setjmp magic values correctly. The alignment needs
to be before the lavel, otherwise an extra word may be added between the
label and the
(empty, because file is newly added)
+++ head/lib/libc/aarch64/gen/fpsetmask.c Wed Jun 24 16:18:58 2015
(r284769)
@@ -0,0 +1,52 @@
+/*-
+ * Copyright (c) 2015 The FreeBSD Foundation
+ * All rights reserved.
+ *
+ * This software was developed by Andrew Turner under
+ * sponsorship
Author: andrew
Date: Tue Jun 23 10:32:26 2015
New Revision: 284725
URL: https://svnweb.freebsd.org/changeset/base/284725
Log:
Also save x8. It may be passed into a function as the indirect result
location pointer when the return value doesn't fit in a register, e.g. when
returning a struct.
Author: andrew
Date: Fri Jun 26 09:02:40 2015
New Revision: 284871
URL: https://svnweb.freebsd.org/changeset/base/284871
Log:
pc_curpmap is only in the armv6 pcpu data.
Modified:
head/sys/arm/arm/genassym.c
Modified: head/sys/arm/arm/genassym.c
Author: andrew
Date: Thu Jun 11 14:02:23 2015
New Revision: 284266
URL: https://svnweb.freebsd.org/changeset/base/284266
Log:
Pass the ACPI table pointer to the arm64 kernel from loader.efi.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/boot/efi/loader/arch/arm64/exec.c
Author: andrew
Date: Thu Jun 11 13:54:18 2015
New Revision: 284264
URL: https://svnweb.freebsd.org/changeset/base/284264
Log:
Fix the spelling of __ARM_ARCH = 6 in sys/arm/arm.
Modified:
head/sys/arm/arm/bcopyinout.S
head/sys/arm/arm/bcopyinout_xscale.S
head/sys/arm/arm/copystr.S
Author: andrew
Date: Thu Jun 11 13:58:40 2015
New Revision: 284265
URL: https://svnweb.freebsd.org/changeset/base/284265
Log:
Stop using VFP in pcpu.h when we mean ARMv6 and later.
Modified:
head/sys/arm/include/pcpu.h
Modified: head/sys/arm/include/pcpu.h
Author: andrew
Date: Tue Jun 16 16:40:25 2015
New Revision: 284451
URL: https://svnweb.freebsd.org/changeset/base/284451
Log:
Export the ARM __aeabi_mem* functions from libc, they are needed by the gcc
from ports as it doesn't include these in the copy of libgcc it installs
uses.
Author: andrew
Date: Tue Jun 16 17:27:53 2015
New Revision: 284453
URL: https://svnweb.freebsd.org/changeset/base/284453
Log:
Add a comment to the end of the world and kernel cases in the universe
target to help follow the make magic.
Obtained from:ABT Systems Ltd
Modified:
Author: andrew
Date: Tue Jun 16 18:43:08 2015
New Revision: 284456
URL: https://svnweb.freebsd.org/changeset/base/284456
Log:
Add a universe_${target}_worlds target to simplify the logic to find when
to start building kernels.
Obtained from:ABT Systems Ltd
Modified:
Author: andrew
Date: Tue Jun 16 21:11:31 2015
New Revision: 284469
URL: https://svnweb.freebsd.org/changeset/base/284469
Log:
Remove unneeded dependencies, these are now handled through the _done
target.
Obtained from:ABT Systems Ltd
Modified:
head/Makefile
Modified:
Author: andrew
Date: Tue Jun 16 17:24:20 2015
New Revision: 284452
URL: https://svnweb.freebsd.org/changeset/base/284452
Log:
Write to the PRRR (Primary Region Remap Register) rather than reading from
it during the early boot.
Found By: Patrick Wildt patr...@bitrig.org
Sponsored
Author: andrew
Date: Tue Jun 16 21:29:46 2015
New Revision: 284471
URL: https://svnweb.freebsd.org/changeset/base/284471
Log:
Move the universe done dependency on the worlds completing out of the
loop, we only need to add it once.
Obtained from:ABT Systems Ltd
Modified:
Author: andrew
Date: Tue Jun 16 19:23:34 2015
New Revision: 284457
URL: https://svnweb.freebsd.org/changeset/base/284457
Log:
Add a new target universe_${target}_done to print the completion message.
Without this we could print this message in the wrong place when building
with
Author: andrew
Date: Wed Jul 1 17:27:44 2015
New Revision: 285014
URL: https://svnweb.freebsd.org/changeset/base/285014
Log:
Fix the logic for when to restore the VFP registers. It should restore
them when a different thread last used them, or when the thread was last
run on a different
Author: andrew
Date: Thu Jul 2 13:42:57 2015
New Revision: 285036
URL: https://svnweb.freebsd.org/changeset/base/285036
Log:
Set MACHINE_CPU to arm64 when building for arm64. This is needed by the
ports tree as they check this value in a number of ports.
PR: 201259
Sponsored
Author: andrew
Date: Thu Jul 2 14:00:07 2015
New Revision: 285038
URL: https://svnweb.freebsd.org/changeset/base/285038
Log:
Save restore the floating-pont argument registers before calling
_rtld_bind. The compiler may generate code using these registers and not
save them. Unfortunately,
Author: andrew
Date: Thu Jul 2 15:02:59 2015
New Revision: 285044
URL: https://svnweb.freebsd.org/changeset/base/285044
Log:
Force the dynamic linker to resolve _end early so we pick up the correct
copy.
Sponsored by: ABT Systems Ltd
Modified:
head/lib/csu/aarch64/crt1.c
Modified:
Author: andrew
Date: Thu Jul 2 15:26:40 2015
New Revision: 285047
URL: https://svnweb.freebsd.org/changeset/base/285047
Log:
Remove an old comment, the cache is enabled.
Obtained from:ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/arm64/arm64/pmap.c
Author: andrew
Date: Thu Jul 2 14:54:21 2015
New Revision: 285043
URL: https://svnweb.freebsd.org/changeset/base/285043
Log:
Cleanup brk and sbrk to use the same code to find curbrk and minbrk when
both compiling for PIC and non-PIC.
Sponsored by: ABT Systems Ltd
Modified:
Author: andrew
Date: Thu Jul 2 15:17:30 2015
New Revision: 285045
URL: https://svnweb.freebsd.org/changeset/base/285045
Log:
Use pmap_load to load table entries. This simplifies finding places where
we access the tables.
Obtained from:ABT Systems Ltd
Sponsored by: The fReeBSD
Author: andrew
Date: Thu Jul 2 14:35:30 2015
New Revision: 285040
URL: https://svnweb.freebsd.org/changeset/base/285040
Log:
Enable kernel debugging on arm64, other than GDB as it fails to build.
Sponsored by: ABT Systems Ltd
Modified:
head/sys/arm64/conf/GENERIC
Modified:
501 - 600 of 1739 matches
Mail list logo