| 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @377
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove vestiges.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @376
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove vestiges.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @375
                         
                     | 
                    8 years | 
                    max | 
                    
                        Use panic().
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @374
                         
                     | 
                    8 years | 
                    max | 
                    
                        Use panic().
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @373
                         
                     | 
                    8 years | 
                    max | 
                    
                        Start using panic().
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @372
                         
                     | 
                    8 years | 
                    max | 
                    
                        Add a panic function.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @371
                         
                     | 
                    8 years | 
                    max | 
                    
                        Treat user/kern exceptions differently.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @370
                         
                     | 
                    8 years | 
                    max | 
                    
                        Old can be NULL.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @369
                         
                     | 
                    8 years | 
                    max | 
                    
                        style
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @368
                         
                     | 
                    8 years | 
                    max | 
                    
                        Switch the VM space, and explicitly disable the FPU.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @367
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Change Time unit from cycle to TICK (in millisecond).
Fix several bugs …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @366
                         
                     | 
                    8 years | 
                    max | 
                    
                        Rename to Makefile.tsar.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @365
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove debug function.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @364
                         
                     | 
                    8 years | 
                    max | 
                    
                        Don't include params.mk.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @363
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove vestige.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @362
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove vestiges.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @361
                         
                     | 
                    8 years | 
                    max | 
                    
                        Pass the function argument to the new thread.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @360
                         
                     | 
                    8 years | 
                    max | 
                    
                        Add a panic, for now we are only switching between kernel threads.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @359
                         
                     | 
                    8 years | 
                    max | 
                    
                        Synchronize tls_intr between context switches.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @358
                         
                     | 
                    8 years | 
                    max | 
                    
                        Don't dump the kernel components on TSAR.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @357
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove vestige.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @356
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove vestige.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @355
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove unused include.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @354
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove vestige.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @353
                         
                     | 
                    8 years | 
                    max | 
                    
                        Don't include sys-vfs.h.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @352
                         
                     | 
                    8 years | 
                    max | 
                    
                        Don't compute kcm_page twice.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @351
                         
                     | 
                    8 years | 
                    max | 
                    
                        Simplify bizarre thing.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @350
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove vestige.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @349
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove unused.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @348
                         
                     | 
                    8 years | 
                    max | 
                    
                        We don't support irqbase != 0.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @347
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove soclib_iob on x86.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @346
                         
                     | 
                    8 years | 
                    max | 
                    
                        Hide soclib_iob.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @345
                         
                     | 
                    8 years | 
                    max | 
                    
                        Initialize rsp0 (in both the TSS and the TLS).
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @344
                         
                     | 
                    8 years | 
                    max | 
                    
                        Call core_clock - the computation in this function still needs to
be fixed.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @343
                         
                     | 
                    8 years | 
                    max | 
                    
                        Mmh, skip tf_trapno and tf_err for iretq.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @342
                         
                     | 
                    8 years | 
                    max | 
                    
                        Initialize tf_ss, and don't forget to update tls_thr.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @341
                         
                     | 
                    8 years | 
                    max | 
                    
                        Set %eoi earlier for rescheduling interrupts, otherwise the timer …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @340
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove debug code - it's useless anyway.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @339
                         
                     | 
                    8 years | 
                    max | 
                    
                        Add support for context switch - not tested yet, due to some other …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @338
                         
                     | 
                    8 years | 
                    max | 
                    
                        Not sure what Alain meant to do, but disable this for now.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @337
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Introduce the delayed context switch if current thread has a lock.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @336
                         
                     | 
                    8 years | 
                    max | 
                    
                        Rename curcpu -> curtls.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @335
                         
                     | 
                    8 years | 
                    max | 
                    
                        Separate the CPU context from the trap frame.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @334
                         
                     | 
                    8 years | 
                    max | 
                    
                        Undefined variables.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @333
                         
                     | 
                    8 years | 
                    max | 
                    
                        vfs_user_move() returns an error_t, so don't return a count.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @332
                         
                     | 
                    8 years | 
                    max | 
                    
                        vfs_kernel_move() return error_t, not a count.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @331
                         
                     | 
                    8 years | 
                    max | 
                    
                        style
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @330
                         
                     | 
                    8 years | 
                    max | 
                    
                        style
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @329
                         
                     | 
                    8 years | 
                    max | 
                    
                        Initialize %rbp.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @328
                         
                     | 
                    8 years | 
                    max | 
                    
                        Use vfs_kernel_move(), it's a kernel buffer.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @327
                         
                     | 
                    8 years | 
                    max | 
                    
                        Clean up, and fix several SMP-related issues. The LAPIC timer is still …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @326
                         
                     | 
                    8 years | 
                    max | 
                    
                        This shouldn't be a remote load.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @325
                         
                     | 
                    8 years | 
                    max | 
                    
                        Unused variable.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @324
                         
                     | 
                    8 years | 
                    max | 
                    
                        The process xptr is already local, so no need to do a remote
load.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @323
                         
                     | 
                    8 years | 
                    max | 
                    
                        Clean up, and define strstr() in libk.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @322
                         
                     | 
                    8 years | 
                    max | 
                    
                        Clean up.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @321
                         
                     | 
                    8 years | 
                    max | 
                    
                        We don't care about the base.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @320
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove unused.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @319
                         
                     | 
                    8 years | 
                    max | 
                    
                        Don't forget to unmap the region below the kernel. Useful to
detect …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @318
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Bug fix : we don't need an atomic access to update the …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @317
                         
                     | 
                    8 years | 
                    alain | 
                    
                        1) Introduce the TSAR hal_cpu_context_switch() function.
2) Introduce …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @316
                         
                     | 
                    8 years | 
                    max | 
                    
                        Synchronize with Alain's changes. Still several issues.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @315
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Redefine the fuctions ppm_base2page() / ppm_page2base() / …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @314
                         
                     | 
                    8 years | 
                    max | 
                    
                        Add hal_remote_memset.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @313
                         
                     | 
                    8 years | 
                    alain | 
                    
                        RSeveral modifs in the page-fault handling.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @312
                         
                     | 
                    8 years | 
                    max | 
                    
                        Add a --no-smp option.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @311
                         
                     | 
                    8 years | 
                    max | 
                    
                        Introduce hal_cpu_context_switch.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @310
                         
                     | 
                    8 years | 
                    max | 
                    
                        Use pause().
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @309
                         
                     | 
                    8 years | 
                    max | 
                    
                        Add clts/stts.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @308
                         
                     | 
                    8 years | 
                    max | 
                    
                        Add a basic syscall entry.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @307
                         
                     | 
                    8 years | 
                    max | 
                    
                        Forgot to commit this yesterday.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @306
                         
                     | 
                    8 years | 
                    max | 
                    
                        Terrible typo.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @305
                         
                     | 
                    8 years | 
                    max | 
                    
                        Style, and use hal_strcpy_from_uspace.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @304
                         
                     | 
                    8 years | 
                    max | 
                    
                        Style, and use hal_strcpy_from_uspace.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @303
                         
                     | 
                    8 years | 
                    max | 
                    
                        Style, and use hal_strcpy_from_uspace.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @302
                         
                     | 
                    8 years | 
                    max | 
                    
                        Style, and use hal_strcpy_from_uspace.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @301
                         
                     | 
                    8 years | 
                    max | 
                    
                        Style, and use hal_strcpy_from_uspace.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @300
                         
                     | 
                    8 years | 
                    max | 
                    
                        Passably handle everything in the function itself.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @299
                         
                     | 
                    8 years | 
                    max | 
                    
                        The uspace strcpy function is allowed to fail (not implemented yet).
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @298
                         
                     | 
                    8 years | 
                    max | 
                    
                        Sync with TSAR.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @297
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove unused.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @296
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Several modifs in the generic scheduler and in the hal_context to
fix …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @295
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove vestige.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @294
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove vestige.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @293
                         
                     | 
                    8 years | 
                    max | 
                    
                        Fix previous. Still don't know where the race comes from…
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @292
                         
                     | 
                    8 years | 
                    max | 
                    
                        Use different stacks for NMIs and Double Faults.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @291
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove soclib_xcu.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @290
                         
                     | 
                    8 years | 
                    max | 
                    
                        Define prototype.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @289
                         
                     | 
                    8 years | 
                    max | 
                    
                        Style, in order to appease GCC5.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @288
                         
                     | 
                    8 years | 
                    max | 
                    
                        Re-indent, to appease GCC5 warnings.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @287
                         
                     | 
                    8 years | 
                    max | 
                    
                        Increase the number of reserved areas.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @286
                         
                     | 
                    8 years | 
                    max | 
                    
                        Fix dangerous typos.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @285
                         
                     | 
                    8 years | 
                    max | 
                    
                        Must be reg_t.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @284
                         
                     | 
                    8 years | 
                    max | 
                    
                        Need to use gnu89, otherwise the kernel does not compile on GCC5.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @283
                         
                     | 
                    8 years | 
                    max | 
                    
                        horror
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @282
                         
                     | 
                    8 years | 
                    max | 
                    
                        Don't use CURRENT_THREAD->core, since it is not yet initialized.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @281
                         
                     | 
                    8 years | 
                    max | 
                    
                        The thread has already been registered in thread_user_create, so don't …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @280
                         
                     | 
                    8 years | 
                    max | 
                    
                        sync
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @279
                         
                     | 
                    8 years | 
                    alain | 
                    
                        1) Introduce independant command fields for the various devices in the …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @278
                         
                     | 
                    8 years | 
                    max | 
                    
                        Should be 'next'.
                     | 
                
                
                  | 
                    
                    
                   | 
                   |