That gave me errors: error: can't find a register in class 'BREG' while reloading 'asm'Įrror: 'asm' operand has impossible constraints static inline voidĭo_cpuid(uint32_t selector, uint32_t *data) But the function do_cpuid, which is what I think I want to use, is defined inline, so I tried just copying that into my source. That produced kern/kern_types.h: No such file or directory I found the cpuid.h header in amework, so I added amework to my project and included in my source file. I want to use the cpuid instruction to identify features of an Intel CPU.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |