KScheduler: Difference between revisions

Bond697 (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Kernel objects]]
[[Category:Kernel objects]]
class [[KScheduler]] extends [[KSchedulableInterruptEvent]];


Size : 0x228 bytes  
Size : 0x228 bytes  


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 11: Line 12:
|-
|-
| 0x0
| 0x0
| u32
| void **
| Pointer to  vtable
| Pointer to  vtable
|-
|-
| 0x4
| 0x4
| u32
| [[KSynchronizationObject]] *
| Unused, may have been for reference count
| Inherited field. Unused.
|-
|-
| 0x8
| 0x8
Line 91: Line 92:


There is 1 KScheduler object per core.
There is 1 KScheduler object per core.
KScheduler instances are mapped to SGI #8. The interrupt handler/callback returns 1, which triggers a post-interrupt rescheduling and context switch (like all the other handlers not returning NULL), but does nothing else in particular.
The second virtual method is stubbed.