History log of /freebsd/sys/arm64/linux/linux.h (Results 1 – 25 of 31)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/14.0.0
# 270e01d4 17-Aug-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Fix leftovers after 2ff63af9


# 2ff63af9 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .h pattern

Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/


# 3d0addcd 18-May-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Make ptrace_pokeusr machine dependent

Differential Revision: https://reviews.freebsd.org/D40096
MFC after: 1 week


# dd2a6cd7 18-May-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Make ptrace_peekusr machine dependend

And partially implement it for x86_64.

Differential Revision: https://reviews.freebsd.org/D40095
MFC after: 1 week


# 19973638 28-Apr-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Move dev_t type declaration under /compat/linux

As of version 2.6.0 of the Linux kernel, dev_t is a 32-bit unsigned integer
on all platforms. Move it into the MI linux.h under /compat/linu

linux(4): Move dev_t type declaration under /compat/linux

As of version 2.6.0 of the Linux kernel, dev_t is a 32-bit unsigned integer
on all platforms. Move it into the MI linux.h under /compat/linux.

show more ...


# e0bfe0d6 28-Apr-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Make struct newstat to match actual Linux one

In the struct stat the st_dev, st_rdev are unsigned long.


# 56c5230a 22-Apr-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Fix LINUX_AT_COUNT comments

Differential Revision: https://reviews.freebsd.org/D39645
MFC after: 1 month


Revision tags: release/13.2.0
# cabbfb60 04-Mar-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Reduce code duplication between MD files

Move struct ifnet definitions under compat/linux.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D38791


# 575e48f1 01-Feb-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Deduplicate MI futex structures.

MFC after: 1 week


Revision tags: release/12.4.0
# d416ee86 22-Jun-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): To reuse MD linux.h hide kernel dependencies unde _KERNEL constraint

MFC after: 2 weeks


# 2ca34847 30-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Reduce duplication between MD parts of the Linuxulator

Move sigprocmask actions defines under compat/linux,
they are identical across all Linux architectures.

MFC after: 2 weeks


# 390c9ea0 15-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Add AT_MINSIGSTKSZ to arm64 port

MFC after: 2 weeks


# c56480a8 15-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Implement signal trampoline for arm64 in a FreeBSD-way

The implemenation differs from others Linuxulators.
For unwinders Linux ucontext_t is stored, however native machine context
is used

linux(4): Implement signal trampoline for arm64 in a FreeBSD-way

The implemenation differs from others Linuxulators.
For unwinders Linux ucontext_t is stored, however native machine context
is used to store/restore process state to avoid code duplication.

As DWARF Aarch64 does not define a register number for PC and provides no
direct way to encode the PC of the previous frame, CFI cannot describe a
signal trampoline frame. So, modified the vdso linker script to discard
unused sections.

Extensions are not implemented.

MFC after: 2 weeks

show more ...


# af557e64 15-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Rework the definition of struct siginfo to match Linux actual one

Rework the defintion of struct siginfo so that the array padding
struct siginfo to SI_MAX_SIZE can be placed in a union al

linux(4): Rework the definition of struct siginfo to match Linux actual one

Rework the defintion of struct siginfo so that the array padding
struct siginfo to SI_MAX_SIZE can be placed in a union along side of the
rest of the struct siginfo members. The result is that we no longer need
the __ARCH_SI_PREAMBLE_SIZE or SI_PAD_SIZE definitions.

Move struct siginfo definition under /compat/linux to reduce MD part.
To avoid headers polution include linux_siginfo.h in the MD linux.h

MFC after: 2 weeks

show more ...


# 21f24617 15-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Move sigframe definitions to separate headers

The signal trampoine-related definitions are used only in the MD part
of code, wherefore moved from everywhere used linux.h to separate MD
hea

linux(4): Move sigframe definitions to separate headers

The signal trampoine-related definitions are used only in the MD part
of code, wherefore moved from everywhere used linux.h to separate MD
headers.

MFC after: 2 weeks

show more ...


Revision tags: release/13.1.0, release/12.3.0
# 0bf8d5d5 09-Nov-2021 Edward Tomasz Napierala <trasz@FreeBSD.org>

linux: Replace ifdefs in ptrace with per-architecture callbacks

It's a cleanup; no (intended) functional changes.

Sponsored By: EPSRC
Reviewed By: kib
Differential Revision: https://reviews.freebsd

linux: Replace ifdefs in ptrace with per-architecture callbacks

It's a cleanup; no (intended) functional changes.

Sponsored By: EPSRC
Reviewed By: kib
Differential Revision: https://reviews.freebsd.org/D32888

show more ...


# 6f397bc0 06-Nov-2021 Edward Tomasz Napierala <trasz@FreeBSD.org>

linux: Implement linux_to_bsd_regset() on arm64

This will be used by ptrace.

Sponsored By: EPSRC


# 3417c298 23-Oct-2021 Edward Tomasz Napierala <trasz@FreeBSD.org>

linux: Constify bsd_to_linux_regset()

No functional changes.

Reviewed By: emaste
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D32599


# fc37be24 12-Aug-2021 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Plug in aarch64 fcntl flags.

Fixes opendir() libc function.

Differential Revision: https://reviews.freebsd.org/D31357
MFC after: 2 weeks


# ccc510b4 25-Jul-2021 Edward Tomasz Napierala <trasz@FreeBSD.org>

linux: implement signal delivery on arm64

Note that this still uses FreeBSD-style sigframe;
this will be addressed later.

Reviewed By: dchagin
Sponsored By: EPSRC
Differential Revision: https://rev

linux: implement signal delivery on arm64

Note that this still uses FreeBSD-style sigframe;
this will be addressed later.

Reviewed By: dchagin
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D31258

show more ...


# 1ca6b15b 20-Jul-2021 Dmitry Chagin <dchagin@FreeBSD.org>

Drop "All rights reserved" from my copyright statements.

Add email and fixup years while here.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D30912
MFC after: 2 weeks


# 45d99014 03-Jul-2021 Edward Tomasz Napierala <trasz@FreeBSD.org>

linux(4): implement coredumps on arm64

Previously they only worked on amd64.

Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D30975


# 19593f77 31-May-2021 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4); Retire unnecessary __packed attribute from some struct's
definition.

Differential Revision: https://reviews.freebsd.org/D30482
MFC after: 2 weeks


Revision tags: release/13.0.0
# 95e1f42e 08-Dec-2020 Mitchell Horne <mhorne@FreeBSD.org>

arm64: fix struct l_sigaction_t layout

The definition was copied from amd64, but the layout of the struct
differs slightly between these platforms. This fixes spurious
`unsupported sigaction flag 0x

arm64: fix struct l_sigaction_t layout

The definition was copied from amd64, but the layout of the struct
differs slightly between these platforms. This fixes spurious
`unsupported sigaction flag 0xXXXXXXXX` messages when executing some
Linux binaries on arm64.

Reviewed by: emaste
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27460

show more ...


Revision tags: release/12.2.0
# 308e194c 27-Jun-2020 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add proper types for linux message queue syscalls; mostly taken
from 32-bit Linuxulator.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2

Add proper types for linux message queue syscalls; mostly taken
from 32-bit Linuxulator.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D25386

show more ...


12