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)
Tue, Oct 1, 1:53 AM
Unknown Object (File)
Thu, Sep 19, 5:33 AM
Unknown Object (File)
Wed, Sep 18, 7:19 PM
Unknown Object (File)
Wed, Sep 18, 8:34 AM
Unknown Object (File)
Wed, Sep 18, 2:30 AM
Unknown Object (File)
Mon, Sep 16, 9:21 PM
Unknown Object (File)
Sun, Sep 15, 9:00 PM
Unknown Object (File)
Sun, Sep 15, 12:54 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.