You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Student Name of member 1: Amirhossein Farahani
Student No. of member 1: 97106154
Student Name of member 2: Saba Molaei
Student No. of member 2: 99100947
Read Session Contents.
Section 9.3
I can't understand the question, so I upload screenshot from code:
Printing all linux interrupts
I found the Linux interrupt file according to the available manual and then read it line by line. Then, by running this executable file in C language, I displayed all the interrupts available in the operating system in the output.
This is the output after executing code
Requirements (I can't understand it exactly, but I answer it in general)
access to /proc/interrupts
gcc
access to execute code
Section 9.4
I used this code to make some interrupts by using softirq, but I got an error after trying to makefile. I can't debug it but I guess in Debian 12 (my version of Debian) I can't access interrupts headers.
description:
the first function defines a custom SoftIRQ handler (`my_softirq_handler`) to process the SoftIRQ when raised. The module initializes the SoftIRQ during loading (`my_softirq_init`) using `open_softirq`, raises it with `raise_softirq`, and cleans up the resources during module unloading (`my_softirq_exit`).
also I should mention that, we can't call this interrupt with user level program. this interrupt only manage by kernel.
Adding a new interrupt - in this section i use another method to simulate interrupt with assembly.
- [ ] `I Just use svc for calling an interrupt`
- [ ] `FILL HERE with screenshot of execution`
- [ ] `Requirements: just like the previous section`
The text was updated successfully, but these errors were encountered:
Team Name:
[FILL HERE]
Student Name of member 1:
Amirhossein Farahani
Student No. of member 1:
97106154
Student Name of member 2:
Saba Molaei
Student No. of member 2:
99100947
Section 9.3
I can't understand the question, so I upload screenshot from code:
I found the Linux interrupt file according to the available manual and then read it line by line. Then, by running this executable file in C language, I displayed all the interrupts available in the operating system in the output.
This is the output after executing code
Section 9.4
The text was updated successfully, but these errors were encountered: