The **_entry** function in an operating system kernel like xv6 is called by each CPU core individually
during the boot process, and it initializes the stack for each CPU core separately.
6406532474410.
TRUE
6406532474411.
FALSE
A published solution is not available for this question yet.
If the memory map for the interrupt controller starts from the offset 0x20000000 and has a size of
256 bytes in a 32-bit addressing scheme then what will be the last address in the memory map?
6406532474367.
0x200000FF
6406532474368.
0x20000100
6406532474369.
0x200001FF
6406532474370.
0x20000200
A published solution is not available for this question yet.
What is the correct sequence of tasks that takes place as part of memory initializationof the xv6
kernel before turning on paging?
(i) Creation of page frames
(ii) Creation of page tables for kernel
(iii) Add each chunk of 4KB physical memory to the freelist
(iv) Set the page table bits in the **satp** register
6406532474393.
(i) → (ii) → (iii) → (iv)
6406532474394.
(i) → (iii) → (ii) → (iv)
6406532474395.
(ii) → (i) → (iii) → (iv)
6406532474396.
(ii) → (i) → (iv) → (iii)
A published solution is not available for this question yet.
Select the incorrect statements regarding the **exit** function.
6406532474434.
The **exit** function sets the state of the current process to **ZOMBIE**.
6406532474435.
The **exit** function reparents the child processes to the init process using the
**reparent** function.
6406532474436.
The **exit** function changes the context of the current process to the parent
process by returning the exit status to the **wait** function of the parent.
6406532474437.
The **exit** function is responsible for closing all the opened files using **fileclose**
function.
A published solution is not available for this question yet.
Consider the following lines of code. Identify the TRUE statements.
(i) Output is parent : 0 child : 1
(ii) In the parent process, fork returns child pid, and in the child process, fork returns 0
(iii) **wait** returns the **PID** of an exiting parent process
(iv) When **fork** is called, all pages are easily shared between parent and child by copying the
parent’s page tables
6406532474416.
(i), (ii), and (iii)
6406532474417.
(i), (iii), and (iv)
6406532474418.
(i), (ii), and (iv)
6406532474419.
(ii), (iii), and (iv)
A published solution is not available for this question yet.
Assume process A is waiting for an input, process B is running, and process C was running before
process B and is now waiting for its turn to run. Select all the correct statements from below.
6406532474402.
A is in RUNNABLE state
6406532474403.
A is in SLEEPING state
6406532474404.
C is in RUNNABLE state
6406532474405.
C is in SLEEPING state
A published solution is not available for this question yet.
Consider the following code for **kvminit** function in **vm. c.**
Based on the above data, answer the given subquestions.
What will be the values of the first 5 bits (from the right) of the page table entry after the execution
of **kvmmap(KERNBASE, KERNBASE, (uint64)etext-KERNBASE, PTE_R |PTE_X); .**
6406532474398.
01110
6406532474399.
10111
6406532474400.
01011
6406532474401.
10110
**DL(CV)**
**Section Id :** 64065351460
**Section Number :** 11
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 19
**Number of Questions to be attempted :** 19
**Section Marks :** 36
**Display Number Panel :** Yes
**Section Negative Marks :** 0
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and**
Yes
**Clear Response :**
**Maximum Instruction Time :** 0
A published solution is not available for this question yet.