We're finding more undocumented bits. So the bit set test is failing.
[akaros.git] / tests / vmm / virtiopiocons.c
index e1e60db..b7b51ce 100644 (file)
@@ -70,11 +70,11 @@ int nr_threads = 2;
 int main(int argc, char **argv)
 {
        int nr_gpcs = 1;
-       int fd = open("#c/sysctl", O_RDWR), ret;
+       int fd = open("#cons/sysctl", O_RDWR), ret;
        void * x;
        static char cmd[512];
        if (fd < 0) {
-               perror("#c/sysctl");
+               perror("#cons/sysctl");
                exit(1);
        }
        if (ros_syscall(SYS_setup_vmm, nr_gpcs, 0, 0, 0, 0, 0) != nr_gpcs) {
@@ -98,7 +98,7 @@ int main(int argc, char **argv)
 
                pthread_can_vcore_request(FALSE);       /* 2LS won't manage vcores */
                pthread_need_tls(FALSE);
-               pthread_lib_init();                                     /* gives us one vcore */
+               pthread_mcp_init();                                     /* gives us one vcore */
                vcore_request(nr_threads - 1);          /* ghetto incremental interface */
                for (int i = 0; i < nr_threads; i++) {
                        x = __procinfo.vcoremap;