equal
deleted
inserted
replaced
13 // Description: |
13 // Description: |
14 // e32\nkernsmp\x86\ncutilf.cpp |
14 // e32\nkernsmp\x86\ncutilf.cpp |
15 // |
15 // |
16 // |
16 // |
17 |
17 |
18 #include <nk_priv.h> |
18 #include <nkern.h> |
19 |
19 |
|
20 extern "C" { |
|
21 extern SVariantInterfaceBlock* VIB; |
|
22 } |
20 |
23 |
21 /****************************************************************************** |
24 /****************************************************************************** |
22 * Spin lock |
25 * Spin lock |
23 ******************************************************************************/ |
26 ******************************************************************************/ |
24 /** Create a spin lock |
27 /** Create a spin lock |
60 |
63 |
61 /** Get the frequency of counter queried by NKern::Timestamp(). |
64 /** Get the frequency of counter queried by NKern::Timestamp(). |
62 */ |
65 */ |
63 EXPORT_C TUint32 NKern::TimestampFrequency() |
66 EXPORT_C TUint32 NKern::TimestampFrequency() |
64 { |
67 { |
65 return TheScheduler.iVIB->iTimestampFreq; |
68 return VIB->iTimestampFreq; |
66 } |
69 } |
67 |
70 |