equal
deleted
inserted
replaced
22 #define __MEMMODEL_H__ |
22 #define __MEMMODEL_H__ |
23 #include <memmodel/epoc/mmubase/mmubase.h> |
23 #include <memmodel/epoc/mmubase/mmubase.h> |
24 |
24 |
25 #ifdef __SMP__ |
25 #ifdef __SMP__ |
26 // SubScheduler fields for each processor |
26 // SubScheduler fields for each processor |
27 #define i_AliasLinAddr iSubSchedScratch[0] |
27 #define i_AliasLinAddr iExtras[0] |
28 #define i_AliasPdePtr iSubSchedScratch[1] |
28 #define i_AliasPdePtr iExtras[1] |
29 #endif |
29 #endif |
30 |
30 |
31 /******************************************** |
31 /******************************************** |
32 * Dynamic Branch Predictor Support |
32 * Dynamic Branch Predictor Support |
33 ********************************************/ |
33 ********************************************/ |
43 |
43 |
44 /******************************************** |
44 /******************************************** |
45 * RAM Defrag Page Table Moving Support |
45 * RAM Defrag Page Table Moving Support |
46 ********************************************/ |
46 ********************************************/ |
47 |
47 |
48 #ifdef __SMP__ |
|
49 /** |
|
50 @internalComponent |
|
51 */ |
|
52 #define AliasRemapOld ((TPhysAddr&)TheScheduler.iSchedScratch[1]) |
|
53 |
|
54 /** |
|
55 @internalComponent |
|
56 */ |
|
57 #define AliasRemapNew ((TPhysAddr&)TheScheduler.iSchedScratch[2]) |
|
58 |
|
59 #else |
|
60 |
|
61 /** |
48 /** |
62 @internalComponent |
49 @internalComponent |
63 */ |
50 */ |
64 #define AliasRemapOld ((TPhysAddr&)TheScheduler.iExtras[1]) |
51 #define AliasRemapOld ((TPhysAddr&)TheScheduler.iExtras[1]) |
65 |
52 |
66 /** |
53 /** |
67 @internalComponent |
54 @internalComponent |
68 */ |
55 */ |
69 #define AliasRemapNew ((TPhysAddr&)TheScheduler.iExtras[2]) |
56 #define AliasRemapNew ((TPhysAddr&)TheScheduler.iExtras[2]) |
70 #endif |
|
71 |
57 |
72 /******************************************** |
58 /******************************************** |
73 * Thread Control Block |
59 * Thread Control Block |
74 ********************************************/ |
60 ********************************************/ |
75 |
61 |