XRT
XRT copied to clipboard
VITIS-11384 - Process elf section "preempt_save" and "preempt_restore"
Problem solved by the commit
Assembler added new sections in elf file called ".preempt_save" and ".preempt_restore" to support preempt. This PR adds support to process the added new sections. Without the new code, exception will happen which says "Invalid section name"
Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered
How problem was solved, alternative solutions (if any) and why they were rejected
Adding support in Function initialize_arg_patchers for new sections
Risks (if any) associated the changes in the commit
None
What has been tested and how, request additional testing if necessary
Compile and run xrt_elf_test
Documentation impact (if any)
So this PR only cache the save and restore TXN ctrl code in local buffer, while the allocation of scratch-pad-memory and patching the save/restore will be in future PR, right?
So this PR only cache the save and restore TXN ctrl code in local buffer, while the allocation of scratch-pad-memory and patching the save/restore will be in future PR, right?
Yes. That is correct.
retest this please