Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Do not try to derefence current
Trammell Hudson [Wed, 22 Oct 2008 01:04:21 +0000 (20:04 -0500)]
kitten/arch/x86_64/kernel/show.c

index 5e785a6..c74f62e 100644 (file)
@@ -70,8 +70,13 @@ show_registers(struct pt_regs * regs)
        bool user_fault = (regs->rip < PAGE_OFFSET);
        char namebuf[128];
 
+/*
        printk("Task ID: %d   Task Name: %s   UTS_RELEASE: %s\n",
-               current->id, current->name, UTS_RELEASE);
+               current ? current->id : -1,
+               current ? current->name : "BAD CURRENT",
+               UTS_RELEASE
+       );
+*/
        printk("RIP: %04lx:%016lx (%s)\n", regs->cs & 0xffff, regs->rip,
               (user_fault) ? "user-context"
                            : kallsyms_lookup(regs->rip, NULL, NULL, namebuf));