diff options
Diffstat (limited to 'src/include/usr/targeting/common/util.H')
| -rw-r--r-- | src/include/usr/targeting/common/util.H | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/include/usr/targeting/common/util.H b/src/include/usr/targeting/common/util.H index edc67b79e..479cdfa75 100644 --- a/src/include/usr/targeting/common/util.H +++ b/src/include/usr/targeting/common/util.H @@ -158,12 +158,26 @@ bool is_avp_load(void); /** * @brief Utility function to obtain the highest known address in the system */ -uint64_t get_top_mem_addr(void); +uint64_t get_top_mem_addr(); + +/** + * @brief Utility function to obtain the highest known address in a given proc + * + * @param[in] i_proc: Proc that we want to calculate the top address for + */ +uint64_t get_top_mem_addr(Target* i_proc); /** * @brief Utility function to obtain the lowest known address in the system */ -uint64_t get_bottom_mem_addr(void); +uint64_t get_bottom_mem_addr(); + +/** + * @brief Utility function to obtain the lowest known address in a given proc + * + * @param[in] i_proc: Proc that we want to calculate the bottom address for + */ +uint64_t get_bottom_mem_addr(Target* i_proc); /** * Order two processor targets by NODE_ID then CHIP_ID. |

