| 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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 …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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 …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @299
                         
                     | 
                    8 years | 
                    max | 
                    
                        The uspace strcpy function is allowed to fail (not implemented yet).
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @298
                         
                     | 
                    8 years | 
                    max | 
                    
                        Sync with TSAR.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @290
                         
                     | 
                    8 years | 
                    max | 
                    
                        Define prototype.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @285
                         
                     | 
                    8 years | 
                    max | 
                    
                        Must be reg_t.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @283
                         
                     | 
                    8 years | 
                    max | 
                    
                        horror
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @280
                         
                     | 
                    8 years | 
                    max | 
                    
                        sync
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @240
                         
                     | 
                    8 years | 
                    max | 
                    
                        Make the secondary CPUs jump into kernel_init().
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @237
                         
                     | 
                    8 years | 
                    max | 
                    
                        Attach the secondary CPUs, and for now route the keyboard irq to
cpu1 …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @236
                         
                     | 
                    8 years | 
                    max | 
                    
                        Launch the secondary CPUs. For now, they all say hello and enter
an …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @235
                         
                     | 
                    8 years | 
                    max | 
                    
                        Start adding some code for SMP support
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @234
                         
                     | 
                    8 years | 
                    max | 
                    
                        style
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @233
                         
                     | 
                    8 years | 
                    max | 
                    
                        Push the context entirely for an exception.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @226
                         
                     | 
                    8 years | 
                    max | 
                    
                        add HAL_32BIT/HAL_64BIT
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @225
                         
                     | 
                    8 years | 
                    max | 
                    
                        implement hal_gpt_create
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @224
                         
                     | 
                    8 years | 
                    max | 
                    
                        Create a (virtual) copy of the local cluster in 0xffffe00000000000, …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @221
                         
                     | 
                    8 years | 
                    max | 
                    
                        use panic instead
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @220
                         
                     | 
                    8 years | 
                    max | 
                    
                        use the asm entry point to save the context
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @217
                         
                     | 
                    8 years | 
                    max | 
                    
                        remove soclib_hba on x86
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @216
                         
                     | 
                    8 years | 
                    max | 
                    
                        dispatch 'impl' in the hal
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @215
                         
                     | 
                    8 years | 
                    max | 
                    
                        rename the ATA driver
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @213
                         
                     | 
                    8 years | 
                    max | 
                    
                        hide soclib_bdv
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @211
                         
                     | 
                    8 years | 
                    max | 
                    
                        hide the fields
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @210
                         
                     | 
                    8 years | 
                    max | 
                    
                        advance a bit, and panic on error
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @209
                         
                     | 
                    8 years | 
                    max | 
                    
                        add hal_remote_strcpy
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @208
                         
                     | 
                    8 years | 
                    max | 
                    
                        sync
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @203
                         
                     | 
                    8 years | 
                    max | 
                    
                        start moving the APIC code into the PIC driver
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @202
                         
                     | 
                    8 years | 
                    max | 
                    
                        register the ATA IRQs
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @199
                         
                     | 
                    8 years | 
                    max | 
                    
                        map the LAPIC and IOAPIC in a separate function
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @198
                         
                     | 
                    8 years | 
                    max | 
                    
                        mmh, mistakenly removed this
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @197
                         
                     | 
                    8 years | 
                    max | 
                    
                        rename soclib->apic
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @196
                         
                     | 
                    8 years | 
                    max | 
                    
                        sync
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @195
                         
                     | 
                    8 years | 
                    max | 
                    
                        add IOC (ATA)
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @194
                         
                     | 
                    8 years | 
                    max | 
                    
                        implement a basic ATA driver
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @193
                         
                     | 
                    8 years | 
                    max | 
                    
                        build the context
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @192
                         
                     | 
                    8 years | 
                    max | 
                    
                        initialize pic
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @190
                         
                     | 
                    8 years | 
                    max | 
                    
                        hide soclib
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @189
                         
                     | 
                    8 years | 
                    max | 
                    
                        sync
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @187
                         
                     | 
                    8 years | 
                    max | 
                    
                        count the number of IOAPICs
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @169
                         
                     | 
                    8 years | 
                    max | 
                    
                        remove unused var
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @168
                         
                     | 
                    8 years | 
                    max | 
                    
                        make the TLS initialization per-cpu
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @167
                         
                     | 
                    8 years | 
                    max | 
                    
                        define the TLS in hal_segmentation.h
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @166
                         
                     | 
                    8 years | 
                    max | 
                    
                        identify the cpu features
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @165
                         
                     | 
                    8 years | 
                    max | 
                    
                        put the per-cpu structures into one structure
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @164
                         
                     | 
                    8 years | 
                    max | 
                    
                        we're gonna use an array of TSSs
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @163
                         
                     | 
                    8 years | 
                    max | 
                    
                        handle the LAPIC override, and count the number of CPUs
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @162
                         
                     | 
                    8 years | 
                    max | 
                    
                        start making these variables per-cpu
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @155
                         
                     | 
                    8 years | 
                    max | 
                    
                        cleanup
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @154
                         
                     | 
                    8 years | 
                    max | 
                    
                        use a demultiplexer to get the channel on the serial port, and
make …
                     | 
                
                
                  | 
                    
                    
                   | 
                   |