Where is the set_c0_status() function defined?
Clash Royale CLAN TAG #URR8PPP Where is the set_c0_status() function defined? The code at: https://github.com/intel/linux-intel-4.9/blob/master/arch/mips/cavium-octeon/octeon-irq.c Uses the function or macro set_c0_status() Where is that defined? If this is built into the GCC MIPS compiler, then where is it documented ? Really puzzling! I'm no kernel expert, but it is the first time I can't find the declaration of a function! – Arash Kazemi 21 mins ago 2 Answers 2 I found this in arch/mips/kvm/kvm_mips.c static void kvm_mips_set_c0_status (void) { uint32_t status = read_c0_status(); if (cpu_has_fpu) status |= (ST0_CU1); if (cpu_has_dsp) status |= (ST0_MX); write_c0_status...