I found kern/processor.h
files that include current_processor().
But I cannot use current_processor()
even i include kern/processor.h
file.
Is there any methods to get current processor id?
Add 030420 : I need any methods that get current processor id and methods should be possible to used in KEXT. current_processor(), cpu_number() doesn't work on KEXT.