- static inline bool guids_equal(const unsigned long *guid1,
- const unsigned long *guid2)
- {
- return (guid1[0] == guid2[0] &&
- guid1[1] == guid2[1] &&
- (sizeof(long) == 8 ||
- (guid1[2] == guid2[2] &&
- guid1[3] == guid2[3])));
- }
-
- // Return the caller's PC. It'd be nice if GCC had a builtin for
- // the current PC, so that a simple relocation could be used rather
- // than a function call. OPT: put this in lowlevel-lib, so that
- // architectures can provide a faster version.
-
- unsigned long get_pc();
-
- struct ParamInfoBlock {
- uintptr_t buffer_size;
- uintptr_t *objlist_ptr;
- uintptr_t objlist_len;
- uintptr_t num_segments;
+ namespace Priv {
+ // Return the caller's PC. It'd be nice if GCC had a builtin for
+ // the current PC, so that a simple relocation could be used rather
+ // than a function call. OPT: put this in lowlevel-lib, so that
+ // architectures can provide a faster version.
+
+ unsigned long get_pc();