Changes between Version 4 and Version 5 of Ticket #32, comment 2
- Timestamp:
- Jan 11, 2016, 12:35:06 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32, comment 2
v4 v5 41 41 is used in RuntimeR0Drv for OS/2 only. Other OS'es use a 'real' implementation. All OS'es also use their own RTMpCpuId() implementation, not just a LAPIC ID. 42 42 43 Also, note that we on OS/2 have DHGETDOSV_TOTALCPUS DosHlp_GetDosVar option (undocumented?), so we can get the no. of CPU's from there. Looking at FreeBSD implementation, I can see that three functions are needed for 'real' implementation: 1) no. of CPU's 2) no. of current CPU 2) CPU rendez ous43 Also, note that we on OS/2 have DHGETDOSV_TOTALCPUS DosHlp_GetDosVar option (undocumented?), so we can get the no. of CPU's from there. Looking at FreeBSD implementation, I can see that three functions are needed for 'real' implementation: 1) no. of CPU's 2) no. of current CPU 2) CPU rendezvous. 44 44