Changeset 100307 in vbox for trunk/include
- Timestamp:
- Jun 28, 2023 10:17:34 AM (18 months ago)
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mangling.h
r100171 r100307 2434 2434 # define RTSymlinkRead RT_MANGLER(RTSymlinkRead) 2435 2435 # define RTSymlinkReadA RT_MANGLER(RTSymlinkReadA) 2436 # define RTSystemGetPageSize RT_MANGLER(RTSystemGetPageSize) 2437 # define RTSystemGetPageOffsetMask RT_MANGLER(RTSystemGetPageOffsetMask) 2438 # define RTSystemGetPageShift RT_MANGLER(RTSystemGetPageShift) 2439 # define RTSystemPageAlignSize RT_MANGLER(RTSystemPageAlignSize) 2436 2440 # define RTSystemQueryFirmwareType RT_MANGLER(RTSystemQueryFirmwareType) 2437 2441 # define RTSystemQueryFirmwareBoolean RT_MANGLER(RTSystemQueryFirmwareBoolean) -
trunk/include/iprt/system.h
r98103 r100307 163 163 */ 164 164 RTDECL(int) RTSystemQueryUnavailableRam(uint64_t *pcb); 165 166 /** 167 * Returns the page size in bytes of the system. 168 * 169 * @returns Page size in bytes. 170 */ 171 RTDECL(uint32_t) RTSystemGetPageSize(void); 172 173 /** 174 * Returns the page shift in bits of the system. 175 * 176 * @returns Page shift in bits. 177 */ 178 RTDECL(uint32_t) RTSystemGetPageShift(void); 179 180 /** 181 * Returns the page offset mask of the system. 182 * 183 * @returns Page offset maske. 184 */ 185 RTDECL(uintptr_t) RTSystemGetPageOffsetMask(void); 186 187 /** 188 * Aligns the given size to the systems page size. 189 * 190 * @returns Byte size aligned to the systems page size. 191 * @param cb The size in bytes to align. 192 */ 193 RTDECL(size_t) RTSystemPageAlignSize(size_t cb); 165 194 166 195
Note:
See TracChangeset
for help on using the changeset viewer.