Page MenuHomeFreeBSD

Increase the size of jmp_buf from 33 64-bit values to 32 128-bit ones.
ClosedPublic

Authored by brooks on Oct 21 2015, 12:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 28, 12:42 AM
Unknown Object (File)
Sep 19 2024, 5:03 PM
Unknown Object (File)
Sep 4 2024, 9:16 AM
Unknown Object (File)
Sep 1 2024, 4:22 AM
Unknown Object (File)
Aug 18 2024, 11:06 PM
Unknown Object (File)
Jul 9 2024, 3:01 PM
Unknown Object (File)
Apr 30 2024, 5:55 PM
Unknown Object (File)
Apr 30 2024, 5:55 PM
Subscribers

Details

Summary

This will allow support for possible future CPU extentions with larger
registers.

jmp_buf's size and alignment are baked into the ABI of third party
libraries and thus are very hard to change later so it is best to waste a
small amount of space now.

Test Plan

Someone with hardware should make sure this works.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

brooks retitled this revision from to Increase the size of jmp_buf from 33 64-bit values to 32 128-bit ones..
brooks updated this object.
brooks edited the test plan for this revision. (Show Details)
brooks added reviewers: emaste, andrew.
andrew edited edge metadata.

I don't see any ABI issues with increasing it's size and alignment.

This revision is now accepted and ready to land.Oct 22 2015, 5:11 PM
This revision was automatically updated to reflect the committed changes.