I'm currently programming an x86-64 kernel and need to set the APIC mode to symmetric I/O Mode. The Multiprocessor Specification from Intel at Page 31 says that to enable this mode you have to write 01H to the IMCR register. The problem is that this register (has to be accessed over outb/inb) doesn't seem to be documented. How can I read and write to the IMCR?
How can I read and write to the IMCR register?
303 Views Asked by Qubasa At
1
There are 1 best solutions below
Related Questions in X86
- How to call a C language function from x86 assembly code?
- the difference between two style of inline ASM
- Understanding the differences between mov and lea instructions in x86 assembly
- ARM Assembly code is not executing in Vitis IDE
- x86 - compare numbers and push the result onto the stack
- Seeking for the the method for adding the DL (data register) value to DX register
- link.exe unresolved external symbol _mainCRTStartup
- x86 Wrote a boot loader that prints a message to the screen but the characters are completely different to what I expected
- How does CPU tell between MMIO(Memory Mapped IO) and normal memory access in x86 architecture
- Why do register arg values need to be re-assigned in NASM after an int 0x80 system call?
- Why does LLVM-MCA measure an execution stall?
- Why does shr eax, 32 not do anything?
- Evaluating this in Assembly (A % B) % (C % D)
- Understanding throughput of simd sum implementation x86
- Making portable execution errors
Related Questions in KERNEL
- Simulate WeChat scanning short connection redirection, but the QQ display result is different from WeChat?
- Validating a client from kernel in Windows
- Yocto kernel patch fails with git am
- Nuke BlinkScript: Why does the convolution kernel scale down the image?
- EKS AMI kernel debug symbols
- Unexpected OS Shutdown
- create_ap wlan0: Could not connect to kernel driver
- QEMU i386 pmio addresses
- Simple programming of VGA cursor
- How to compile and install kernel modules with dependencies and device tree?
- android camera driver rotate 90°
- Is there any way to get the WiFi contention window (CW) min and max value in Linux 80211 subsystem?
- How to reduce cached memory used by Linux kernel on embedded linux platform
- How can I get current cpufreq in kernel code?
- Print Inode or file data, using path name
Related Questions in INTERRUPT
- the end of the I/O operation is notified to the system by an interrupt.how much system time do the mentioned operations occupy?
- Unable to set an interrupt affinity in linux?
- fastLED degrades PWM outputs Arduino
- Difficulty understanding virtual LPIs in GICv3
- IRQ interrupt obtaining abnormal possibilities
- MKL02Z32xxx4 (FRDM-KL02Z Board) Timer overflow interrupt not firing
- Interrupt handling with push buttons in ARMv7
- Ultrasonic range finder HC-SR04 using one timer
- Does the Direct Memory Access (DMA) interfere with the execution of user program execution?
- How to write the external interrupt callback function of Linux kernel v3.10?
- Interaction with a thread from ISR using C++ Standard Library on ESP32
- Global variable value doesn't change in ISR in C
- The module first installed the alarm when it started
- ATTiny1606 Timer TCA0 interrupt not triggering
- RT linux isr routine
Related Questions in OSDEV
- Seeking for the the method for adding the DL (data register) value to DX register
- "Config.guess failed to determine the host type" when trying build binutils-2.7 with Cygwin
- LLVM code generation causes problems with pointer arithmetic
- Maximum CPU Voltage reading
- Purpose of stack register(s) in holding 0x7c00
- Behavior of the adress 0x7e00 in different sectors and their alternatives
- General Protection Fault encountered when executing SYSRET
- Bootloader are really in sector 0?
- Is heap memory in Linux contiguous?
- How to define different [global_allocator]s for a monolithic os kernel and its applications
- QEMU: address of grub module has zeros if not referenced directly in the code
- Assembly draw line function
- "Cannot find bounds of current function" error in GDB while debugging bootloader code
- Confusion regarding CS and DS segment registers during bootloading process
- Rust tell the compiler to not trust the registers?
Related Questions in APIC
- x86: Interrupt when IF flag = 0. Where is this interrupt "held for later"?
- VMX virtual apic interrupt
- Removing hyphens in form data in DataPower gateway
- streaming pdf files in datapower gateway
- I want to read a file which is in datapower through api gateway v10
- Product Subscription in API Connect v2018
- Reducing Timer Softirq and local interrupts
- Intel IO APIC "Established APIC Programming Model"
- Documentation on MSI Address/Data register content expectations for AMD cpus?
- How can a 32-bit APIC ID fit inside 4 bits out of an 8-bit IOAPIC destination field?
- XSLT in API connect version 10 Reserved instance
- Can SIPI be sent from a BSP running in long mode?
- Ansible fetch module cannot find file although it exists
- Migration Process In API Connect v5 to v10
- Adding Two Versions of Same API to Product in APIC
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
As @MichaelPetch pointed out in the comments the IMCR register is defined at pdf page 28, somehow I missed it. Quote:
however
The MP float tables are deprecated so checking the flag in these tables should be avoided. Instead parse the ACPI MADT table and check if the PIC flag bit is set in there