interrupt Questions

2

Solved

I am trying to run a simple multiple processes application in Python. The main thread spawns 1 to N processes and waits until they all done processing. The processes each run an infinite loop, so t...
Voltaism asked 19/5, 2009 at 15:13

4

Solved

I want to understand what exactly an interrupt is for my 6502 work-alike processor project in Logisim. I know that an interrupt does the following steps: Stops the current program from processing ...
Doriedorin asked 21/3, 2019 at 11:31

1

Solved

I have a small kernel which is booted with UEFI. I'm using QEMU for virtualization. I want to write a xHCI driver to support USB keyboards in my kernel. I'm having trouble to find concise and clear...
Willaims asked 9/4, 2021 at 20:54

3

Solved

I am currently working on an assembly program, but I need to make the program wait every once in a while. So, I have been using int 15h/ah = 86h, but for some reason DosBox is giving me a hard tim...
Sasnett asked 3/4, 2017 at 21:6

4

What is the purpose of a processor sending an Inter Processor Interrupt to itself on the IA-32 architecture? According to the Intel IA-32 Architecture Software Developer's Manual, Vol. 3, Ch. 10....
Hager asked 16/11, 2012 at 12:6

1

I am running a STM32F072ZB into standbye mode. The MCU sleeps most of the time (waking up every 1hr to read sensors). As I have the watchdog running, I am using RTC to generate an alarm every 25s (...
Surface asked 18/3, 2021 at 15:10

2

I'm trying to set up an interrupt-handler within a kernel-module that gets triggered by a gpio-interrupt, but it seems that I don't use the request_irq()-function right... I'm getting my irq-number...
Karyogamy asked 9/8, 2016 at 14:40

1

Solved

If we look at a Haswell architectural diagram today we can see that there are PCIe lanes directly connected to the CPU (for graphics) as well as some of them routed to the the platform controller h...
Colossian asked 2/12, 2014 at 8:5

3

Using two USARTs running at 115200 baud on a STM32F2, one to communicate with a radio module and one for serial from a PC. The clock speed is 120MHz. When receiving data from both USARTs simultan...
Lucillalucille asked 15/4, 2014 at 8:52

3

Solved

I was reading the implementation of Linux semaphores. Due to atomicity, signal and wait (up and down in the source code) use spin locks. Then I saw Linux disabled interrupt in spin_lock_irqsave and...
Anselme asked 10/5, 2016 at 18:49

10

Solved

What is the difference between Trap and Interrupt? If the terminology is different for different systems, then what do they mean on x86?
Middlebrow asked 30/6, 2010 at 12:23

9

Solved

Can someone explain what the following assembly code does? int 0x80
Adames asked 30/11, 2009 at 2:17

4

Solved

I am reading Linux Kernel Development recently, and I have a few questions related to disabling preemption. In the "Interrupt Control" section of chapter 7, it says: Moreover, disabling interr...
Ashil asked 25/12, 2013 at 6:32

1

I am working on a crude Arduino simulator. It's main function should be to test simple code consisting of control structures, loops, switches and subroutines. My main idea is to simply provide the ...
Arborization asked 16/8, 2020 at 21:38

2

Solved

How does libuv and the operating system actually schedule timers like setTimeout and setInterval in Node.js? I see that no CPU is used by the node process until a timer fires. Does this mean the OS...
Anabiosis asked 10/11, 2014 at 17:34

3

I have a 64 bit integer variable on a 32 bit Cortex-M3 ARM controller (STM32L1), which can be modified asynchronously by an interrupt handler. volatile uint64_t v; void some_interrupt_handler() { ...
Indebtedness asked 7/3, 2017 at 14:38

2

Solved

I am very new to bare metal programming and have never delt with interrupts before, but I've been learning on a RISC-V FE310-G002 SOC powered dev board. I've been reading about the RISC-V WFI (Wait...
Enlistment asked 19/8, 2020 at 9:41

1

Solved

Introduction: I bought a Longan Nano evaluation board equipped with a GD32VF103 Risc-V MCU. I can run the video player demo, and compile and load working code using VS Code, PlatformIO and the DFU ...
Samuelson asked 4/7, 2020 at 11:48

2

Solved

how to enable external interrupt of 8051?
Calia asked 30/4, 2010 at 13:50

5

Solved

I have a long running task, something like: public void myCancellableTask() { while ( someCondition ) { checkIfCancelRequested(); doSomeWork(); } } The task can be cancelled (a cancel is re...
Courbet asked 16/12, 2009 at 14:14

1

Solved

I'm reading a section of kernel bootloader code (from Stanford's CS140 Pintos OS): # Configure serial port so we can report progress without connected VGA. # See [IntrList] for details. sub %dx, ...
Alleman asked 31/5, 2020 at 20:24

1

I would like to know what are the different kinds of IPIs available for x86_64 in Linux. In particular, I want to find out the different interrupts handlers for IPI interrupts. In Understanding t...
Hageman asked 28/5, 2020 at 15:41

1

Solved

I am looking for how a RISC-V processor processes interrupt requests. I looked at the Instruction Set Manuals and information on the internet. The focus is on explaining exactly what the title set...
Maiduguri asked 20/5, 2020 at 12:30

2

I'm currently working with a USB-enabled low power device that I'm having a bit of trouble with. During normal operation, the system clock is set to a significantly slower speed (since this is a da...
Lheureux asked 11/7, 2014 at 19:1

4

Solved

I've read that in order to temporarily turn off paging according to Intel's system programming guide (volume 3 chapter 9.9) I should disable interrupts before doing anything else. I can easily disa...
Nullifidian asked 28/3, 2019 at 9:52

© 2022 - 2024 — McMap. All rights reserved.