Core: Use an enum for indicating CPU cores