diff options
author | Vas Crabb <vas@vastheman.com> | 2021-01-06 01:25:58 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2021-01-06 02:18:04 +1100 |
commit | 4eca05fe67e6a61a30af9d168590f3f3aaf9f639 (patch) | |
tree | 8ca9d1878d84d54ffaa11d0bafe43ea28b638f33 /src/osd/osdcore.h | |
parent | 7b22d972aea2dca442de9b8fb58687504e4444bc (diff) |
cpu: Allow recompilers to work with W^X policy
Diffstat (limited to 'src/osd/osdcore.h')
-rw-r--r-- | src/osd/osdcore.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/osd/osdcore.h b/src/osd/osdcore.h index dd6ab5837d5..a7f652470db 100644 --- a/src/osd/osdcore.h +++ b/src/osd/osdcore.h @@ -342,27 +342,6 @@ void osd_work_item_release(osd_work_item *item); MISCELLANEOUS INTERFACES ***************************************************************************/ -/// \brief Allocate memory that can contain executable code -/// -/// Allocated memory must be both writable and executable. Allocated -/// memory must be freed by calling #osd_free_executable passing the -/// same size. -/// \param [in] size Number of bytes to allocate. -/// \return Pointer to allocated memory, or nullptr if allocation -/// failed. -/// \sa osd_free_executable -void *osd_alloc_executable(size_t size); - - -/// \brief Free memory allocated by osd_alloc_executable -/// -/// \param [in] ptr Pointer returned by #osd_alloc_executable. -/// \param [in] size Number of bytes originally requested. Must match -/// the value passed to #osd_alloc_executable. -/// \sa osd_alloc_executable -void osd_free_executable(void *ptr, size_t size); - - /// \brief Break into host debugger if attached /// /// This function is called when a fatal error occurs. If a debugger is |