Changeset 101969 in vbox for trunk/src/libs/xpcom18a4/nsprpub/pr
- Timestamp:
- Nov 8, 2023 12:52:25 PM (18 months ago)
- svn:sync-xref-src-repo-rev:
- 160066
- Location:
- trunk/src/libs/xpcom18a4/nsprpub/pr
- Files:
-
- 3 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/_darwin.h
r87254 r101969 118 118 #endif 119 119 120 #ifdef VBOX_USE_MORE_IPRT_IN_NSPR121 # include "_iprt_atomic.h"122 #else /* !VBOX_USE_MORE_IPRT_IN_NSPR */123 #if defined(__ppc__)124 #define _PR_HAVE_ATOMIC_OPS125 #define _MD_INIT_ATOMIC()126 extern PRInt32 _PR_DarwinPPC_AtomicIncrement(PRInt32 *val);127 #define _MD_ATOMIC_INCREMENT(val) _PR_DarwinPPC_AtomicIncrement(val)128 extern PRInt32 _PR_DarwinPPC_AtomicDecrement(PRInt32 *val);129 #define _MD_ATOMIC_DECREMENT(val) _PR_DarwinPPC_AtomicDecrement(val)130 extern PRInt32 _PR_DarwinPPC_AtomicSet(PRInt32 *val, PRInt32 newval);131 #define _MD_ATOMIC_SET(val, newval) _PR_DarwinPPC_AtomicSet(val, newval)132 extern PRInt32 _PR_DarwinPPC_AtomicAdd(PRInt32 *ptr, PRInt32 val);133 #define _MD_ATOMIC_ADD(ptr, val) _PR_DarwinPPC_AtomicAdd(ptr, val)134 #elif defined(__i386__)135 #define _PR_HAVE_ATOMIC_OPS136 #define _MD_INIT_ATOMIC()137 extern PRInt32 _PR_Darwin_x86_AtomicIncrement(PRInt32 *val);138 #define _MD_ATOMIC_INCREMENT(val) _PR_Darwin_x86_AtomicIncrement(val)139 extern PRInt32 _PR_Darwin_x86_AtomicDecrement(PRInt32 *val);140 #define _MD_ATOMIC_DECREMENT(val) _PR_Darwin_x86_AtomicDecrement(val)141 extern PRInt32 _PR_Darwin_x86_AtomicSet(PRInt32 *val, PRInt32 newval);142 #define _MD_ATOMIC_SET(val, newval) _PR_Darwin_x86_AtomicSet(val, newval)143 extern PRInt32 _PR_Darwin_x86_AtomicAdd(PRInt32 *ptr, PRInt32 val);144 #define _MD_ATOMIC_ADD(ptr, val) _PR_Darwin_x86_AtomicAdd(ptr, val)145 #endif /* __i386__ */146 #endif /* !VBOX_USE_MORE_IPRT_IN_NSPR */147 148 120 #define USE_SETJMP 149 121 -
trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/_linux.h
r101783 r101969 89 89 #define USE_DLFCN 90 90 91 #include "_iprt_atomic.h"92 93 91 #define USE_SETJMP 94 92 #if defined(__GLIBC__) && __GLIBC__ >= 2 -
trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/_solaris.h
r101810 r101969 178 178 #define _MD_INTERVAL_PER_SEC _MD_Solaris_TicksPerSecond 179 179 180 #include "_iprt_atomic.h"181 182 180 NSPR_API(void) _MD_EarlyInit(void); 183 181 -
trunk/src/libs/xpcom18a4/nsprpub/pr/include/private/primpl.h
r101968 r101969 498 498 extern void _PR_InitNet(void); 499 499 extern void _PR_InitClock(void); 500 extern void _PR_InitAtomic(void);501 500 extern void _PR_InitCPUs(void); 502 501 extern void _PR_InitDtoa(void); -
trunk/src/libs/xpcom18a4/nsprpub/pr/src/misc/prinit.c
r101963 r101969 103 103 104 104 _PR_InitLocks(); 105 _PR_InitAtomic();106 105 _PR_InitClock(); 107 106
Note:
See TracChangeset
for help on using the changeset viewer.