| 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @411
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Introduce hal_vmm.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @409
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Fix bugs in exec
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @408
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Fix several bugs in the fork() syscall.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @407
                         
                     | 
                    8 years | 
                    alain | 
                    
                        First implementation of fork/exec.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @406
                         
                     | 
                    8 years | 
                    alain | 
                    
                        This version executed successfully the user "init" process on a …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @405
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove XXX, it's fine.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @404
                         
                     | 
                    8 years | 
                    max | 
                    
                        Explain a bit.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @403
                         
                     | 
                    8 years | 
                    max | 
                    
                        Sync with TSAR.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @402
                         
                     | 
                    8 years | 
                    max | 
                    
                        Mmh, refix this bug (mistakenly reverted by alain).
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @401
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Few bugs in VMM
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @397
                         
                     | 
                    8 years | 
                    max | 
                    
                        Use panic().
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @392
                         
                     | 
                    8 years | 
                    max | 
                    
                        Start handling page faults. Not tested.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @391
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Simplify the hal_mmu_exception() function.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @387
                         
                     | 
                    8 years | 
                    max | 
                    
                        Handle the return from exception.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @386
                         
                     | 
                    8 years | 
                    max | 
                    
                        Implement several GPT functions.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @384
                         
                     | 
                    8 years | 
                    max | 
                    
                        Fix a pretty dumb mistake I made in my last commit.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @383
                         
                     | 
                    8 years | 
                    max | 
                    
                        Use constant flags.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @382
                         
                     | 
                    8 years | 
                    max | 
                    
                        Sync with TSAR.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @381
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Add missing defines in the TSAR exception handler.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @380
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Remove the generic kernel/kern/do_exception files to handle exceptions …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @371
                         
                     | 
                    8 years | 
                    max | 
                    
                        Treat user/kern exceptions differently.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @370
                         
                     | 
                    8 years | 
                    max | 
                    
                        Old can be NULL.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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 …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @365
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove debug function.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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 …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @329
                         
                     | 
                    8 years | 
                    max | 
                    
                        Initialize %rbp.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @327
                         
                     | 
                    8 years | 
                    max | 
                    
                        Clean up, and fix several SMP-related issues. The LAPIC timer is still …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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 …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @296
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Several modifs in the generic scheduler and in the hal_context to
fix …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @285
                         
                     | 
                    8 years | 
                    max | 
                    
                        Must be reg_t.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @283
                         
                     | 
                    8 years | 
                    max | 
                    
                        horror
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @280
                         
                     | 
                    8 years | 
                    max | 
                    
                        sync
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @279
                         
                     | 
                    8 years | 
                    alain | 
                    
                        1) Introduce independant command fields for the various devices in the …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @276
                         
                     | 
                    8 years | 
                    max | 
                    
                        update
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @275
                         
                     | 
                    8 years | 
                    max | 
                    
                        Add a SRAT parser. For some reason, QEMU does not want to enable the …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @274
                         
                     | 
                    8 years | 
                    max | 
                    
                        Add tls_tf.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @272
                         
                     | 
                    8 years | 
                    max | 
                    
                        Use local_cxy for GET_PTR, instead of the triple map. This fixes a …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @269
                         
                     | 
                    8 years | 
                    max | 
                    
                        Mmh, fix previous.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @268
                         
                     | 
                    8 years | 
                    max | 
                    
                        Mmh, the wait must be done for each block, not for each operation.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @266
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Implement vfs_lseek() function.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @265
                         
                     | 
                    8 years | 
                    alain | 
                    
                        Fix several bugs in VFS.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @264
                         
                     | 
                    8 years | 
                    max | 
                    
                        empty out
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @263
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove soclib_fbf on x86.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @262
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove soclib_dma on x86.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @261
                         
                     | 
                    8 years | 
                    max | 
                    
                        Hide soclib_dma.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @260
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove soclib_nic on x86.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @259
                         
                     | 
                    8 years | 
                    max | 
                    
                        Hide soclib_nic.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @258
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove soclib_mmc on x86.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @257
                         
                     | 
                    8 years | 
                    max | 
                    
                        Hide soclib_mmc.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @256
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove the IRQ line. It will have to be enabled somewhere in the
HAL.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @255
                         
                     | 
                    8 years | 
                    max | 
                    
                        Don't route the IRQ for IMPL_TXT_RS2, it is multiplexed in software.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @254
                         
                     | 
                    8 years | 
                    max | 
                    
                        Use IMPL_TXT_RS2.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @253
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove unused files.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @252
                         
                     | 
                    8 years | 
                    max | 
                    
                        Hide IMPL_PIC_.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @250
                         
                     | 
                    8 years | 
                    max | 
                    
                        Remove XCU on x86; not sure if it's still useful on TSAR…
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @247
                         
                     | 
                    8 years | 
                    max | 
                    
                        Rename soclib_tty->txt_rs232.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @245
                         
                     | 
                    8 years | 
                    max | 
                    
                        Hide soclib_tty.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @244
                         
                     | 
                    8 years | 
                    max | 
                    
                        Hide the fields.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @243
                         
                     | 
                    8 years | 
                    max | 
                    
                        Mmh, some CPUs can boot with the cache disabled, so explicitly
enable it.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @242
                         
                     | 
                    8 years | 
                    max | 
                    
                        add a dumb lock for the console
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @241
                         
                     | 
                    8 years | 
                    max | 
                    
                        some LAPICs can be disabled
                     | 
                
                
                  | 
                    
                    
                   | 
                   |