python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Do pushcli() and popcli() in the spinlock of XV6 need atomic?
As learning XV6's spinlock,I thought a problem and don't find answer in google.
In spinlock, pushcli() and popcli() used to insure interrupt handler run currently:
void pushcli(void)
{
int eflags;
...
wcyiming
Votes: 0
Answers: 1
how can I access makefile variable in xv6?
Now I am trying to access makefile variable in my user program in xv6.
In other linux system, it can be easily achieved by doing that
in makefile, define gcc -D MYVARIABLE=1 ...
in my linux user prog...
moon
Votes: 0
Answers: 1
Why return does not exit a process in xv6?
Here is my code for user/sleep.c:
#include "kernel/types.h"
#include "user/user.h"
int
main(int argc, char *argv[])
{
if (argc < 2)
{
printf(&qu...
Maxime Vernier
Votes: 0
Answers: 1
xv6 lazy page allocation
While implementing lazy page allocation in xv6, I noticed while tracing back through gdb that the copyout function needs to be changed in order to make sure it is not writing to a page table entry tha...
genji_god
Votes: 0
Answers: 0