kernel_read_system_state needs to be called with type. Moved it to antivirus.if.