Page MenuHomeFreeBSD

<sys/reg.h>: Add ELF32_REGSET.
ClosedPublic

Authored by jhb on Mar 12 2022, 12:44 AM.
Tags
None
Referenced Files
F103040165: D34536.diff
Wed, Nov 20, 3:57 AM
Unknown Object (File)
Thu, Nov 14, 6:21 PM
Unknown Object (File)
Sun, Nov 10, 6:28 PM
Unknown Object (File)
Sun, Nov 10, 4:58 PM
Unknown Object (File)
Sat, Nov 9, 10:57 PM
Unknown Object (File)
Oct 3 2024, 2:42 AM
Unknown Object (File)
Oct 3 2024, 2:34 AM
Unknown Object (File)
Oct 1 2024, 1:53 AM
Subscribers

Details

Summary

This permits adding a register set for FREEBSD32 ABIs.

While here, include <sys/linker_set.h> to make this header more
self-contained in the kernel.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Mar 12 2022, 12:44 AM
sys/sys/reg.h
61

Do we need this? It will just declare one of the below sets that could be moved up.

sys/sys/reg.h
61

We still end up sing ELF_REGSET rather than ELF<nn>_REGSET in most places. But I guess it's true that we might not need the SET_DECLARE, per se. Possibly I should just add ELF32_REGSET under COMPAT_FREEBSD32 and leave ELF64_REGSET for use in CheriBSD for now.

This revision is now accepted and ready to land.Mar 14 2022, 10:15 PM
jhb retitled this revision from <sys/reg.h>: Add ELF32_REGSET and ELF64_REGSET. to <sys/reg.h>: Add ELF32_REGSET..Mar 17 2022, 9:57 PM
jhb edited the summary of this revision. (Show Details)
  • Just add ELF32_REGSET for now.
This revision now requires review to proceed.Mar 17 2022, 9:58 PM
This revision is now accepted and ready to land.Mar 17 2022, 10:33 PM
This revision was automatically updated to reflect the committed changes.