Page MenuHomeFreeBSD

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

Authored by jhb on Mar 12 2022, 12:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 8 2024, 9:23 PM
Unknown Object (File)
Mar 22 2024, 7:53 PM
Unknown Object (File)
Jan 13 2024, 3:33 AM
Unknown Object (File)
Jan 3 2024, 1:06 PM
Unknown Object (File)
Nov 8 2023, 10:20 PM
Unknown Object (File)
Nov 1 2023, 10:08 PM
Unknown Object (File)
Oct 7 2023, 9:11 PM
Unknown Object (File)
Sep 18 2023, 10:00 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.