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, Oct 4, 1:38 PM
Unknown Object (File)
Sat, Oct 4, 1:02 PM
Unknown Object (File)
Sat, Oct 4, 11:35 AM
Unknown Object (File)
Sat, Oct 4, 10:46 AM
Unknown Object (File)
Sat, Oct 4, 9:54 AM
Unknown Object (File)
Sat, Oct 4, 9:46 AM
Unknown Object (File)
Sat, Oct 4, 9:14 AM
Unknown Object (File)
Sat, Oct 4, 8:55 AM
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.