Syscalls for symlink management (XCC)
[akaros.git] / kern / include / ros / procdata.h
index bbea850..2d92cf6 100644 (file)
@@ -6,11 +6,11 @@
 
 #include <ros/memlayout.h>
 #include <ros/ring_syscall.h>
+#include <ros/sysevent.h>
 #include <ros/arch/arch.h>
 #include <ros/common.h>
 #include <ros/procinfo.h>
 #include <ros/notification.h>
-#include <arch/mmu.h>
 
 typedef struct procdata {
        syscall_sring_t                 syscallring;
@@ -18,10 +18,10 @@ typedef struct procdata {
        sysevent_sring_t                syseventring;
        char                                    pad2[SYSEVENTRINGSIZE - sizeof(sysevent_sring_t)];
 #ifdef __i386__
-       segdesc_t                               *ldt; // TODO: bug with this.  needs to go
+       segdesc_t                               *ldt; // TODO: bug with this. (TLSV)
 #endif
-       // TODO: will replace these in a later commit
-       uintptr_t stack_pointers[MAX_NUM_CPUS];
+       /* glibc relies on stuff above this point.  if you change it, you need to
+        * rebuild glibc. */
        struct notif_method             notif_methods[MAX_NR_NOTIF];
        /* Long range, would like these to be mapped in lazily, as the vcores are
         * requested.  Sharing MAX_NUM_CPUS is a bit weird too. */