| 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @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 …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @153
                         
                     | 
                    8 years | 
                    max | 
                    
                        cleanup
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @152
                         
                     | 
                    8 years | 
                    max | 
                    
                        add a basic RS232 COM1 implementation
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @150
                         
                     | 
                    8 years | 
                    max | 
                    
                        remove debug and unused code
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @148
                         
                     | 
                    8 years | 
                    max | 
                    
                        fix a pretty dumb bug; we must not unmap since we use the area for …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @147
                         
                     | 
                    8 years | 
                    max | 
                    
                        less magic
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @146
                         
                     | 
                    8 years | 
                    max | 
                    
                        remove my fake_apic shit from yesterday
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @145
                         
                     | 
                    8 years | 
                    max | 
                    
                        style
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @144
                         
                     | 
                    8 years | 
                    max | 
                    
                        remove unused files
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @143
                         
                     | 
                    8 years | 
                    max | 
                    
                        style
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @142
                         
                     | 
                    8 years | 
                    max | 
                    
                        remove hal_trap.c, and put its content in hal_interrupt.c and …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @139
                         
                     | 
                    8 years | 
                    max | 
                    
                        I'm dumb
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @138
                         
                     | 
                    8 years | 
                    max | 
                    
                        update
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @137
                         
                     | 
                    8 years | 
                    max | 
                    
                        improve the APIC implementation
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @136
                         
                     | 
                    8 years | 
                    max | 
                    
                        Hide a few soclib_xcu_ functions
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @135
                         
                     | 
                    8 years | 
                    max | 
                    
                        start moving the APIC into the XCU driver
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @134
                         
                     | 
                    8 years | 
                    max | 
                    
                        fix comment
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @130
                         
                     | 
                    8 years | 
                    max | 
                    
                        add hal_drivers_xcu_init
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @129
                         
                     | 
                    8 years | 
                    max | 
                    
                        put panics everywhere
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @125
                         
                     | 
                    8 years | 
                    max | 
                    
                        implement hal_time_stamp and hal_fence
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @124
                         
                     | 
                    8 years | 
                    max | 
                    
                        rename hal_wbflush->hal_fence
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @123
                         
                     | 
                    8 years | 
                    max | 
                    
                        unmap the area below the kernel, so that we can find pointer …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @122
                         
                     | 
                    8 years | 
                    max | 
                    
                        we will fix nested interrupt contexts later
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @119
                         
                     | 
                    8 years | 
                    max | 
                    
                        provide pages_nr
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @118
                         
                     | 
                    8 years | 
                    max | 
                    
                        add hal_restore_irq
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @117
                         
                     | 
                    8 years | 
                    max | 
                    
                        Calibrate the LAPIC timer with the PIT, with one interrupt per
second …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @116
                         
                     | 
                    8 years | 
                    max | 
                    
                        complete hal_ppm_init, to take into account the reserved areas
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @115
                         
                     | 
                    8 years | 
                    max | 
                    
                        remove duplicate
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @114
                         
                     | 
                    8 years | 
                    max | 
                    
                        compute the offset for bootinfo
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @113
                         
                     | 
                    8 years | 
                    max | 
                    
                        add memcmp in libk; these mem* functions should probably be hal- …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @112
                         
                     | 
                    8 years | 
                    max | 
                    
                        In fact, we need to enter all of the VA space, because we massively …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @111
                         
                     | 
                    8 years | 
                    max | 
                    
                        Mmh, update CLUSTER_VA_SIZE, we are calibrated for 64GB
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @110
                         
                     | 
                    8 years | 
                    max | 
                    
                        add some code for ppm_init
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @109
                         
                     | 
                    8 years | 
                    max | 
                    
                        don't save/restore %gs for now, we want to use TLS in interrupt …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @105
                         
                     | 
                    8 years | 
                    max | 
                    
                        add a few atomic functions
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @102
                         
                     | 
                    8 years | 
                    max | 
                    
                        update the new hal_get_cycles
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @101
                         
                     | 
                    8 years | 
                    alain | 
                    
                        euh…
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @100
                         
                     | 
                    8 years | 
                    max | 
                    
                        add a part of the tty driver; not tested yet (due to a NULL deref …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @99
                         
                     | 
                    8 years | 
                    max | 
                    
                        add the irq functions; we will forbid nested critical sections, so
the …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @98
                         
                     | 
                    8 years | 
                    max | 
                    
                        add the and/or ops
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @97
                         
                     | 
                    8 years | 
                    max | 
                    
                        (forgot this one in my previous commit)
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @96
                         
                     | 
                    8 years | 
                    max | 
                    
                        Mmh, fix the return values
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @94
                         
                     | 
                    8 years | 
                    max | 
                    
                        remove lw_unc, add a few ops, and update a few things
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @92
                         
                     | 
                    8 years | 
                    max | 
                    
                        fix the definition of hal_remote_spt, and add the *pt ops on
x86_64
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @91
                         
                     | 
                    8 years | 
                    max | 
                    
                        retrieve the pressed key, and display it
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @90
                         
                     | 
                    8 years | 
                    max | 
                    
                        scroll for real, and add %c
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @89
                         
                     | 
                    8 years | 
                    max | 
                    
                        Parse the IOAPIC structure in ACPI, map the IOAPIC, and enable
the …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @86
                         
                     | 
                    8 years | 
                    max | 
                    
                        enable the timer (not yet calibrated)
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @85
                         
                     | 
                    8 years | 
                    max | 
                    
                        reload the segregs
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @84
                         
                     | 
                    8 years | 
                    max | 
                    
                        scroll the console
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @83
                         
                     | 
                    8 years | 
                    max | 
                    
                        we want to have the LAPIC non-cacheable
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @82
                         
                     | 
                    8 years | 
                    max | 
                    
                        Rename a certain number of things, and improve the APIC support.
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @81
                         
                     | 
                    8 years | 
                    max | 
                    
                        silence a few warnings
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @80
                         
                     | 
                    8 years | 
                    max | 
                    
                        add the timer vector, for now it double-faults
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @79
                         
                     | 
                    8 years | 
                    max | 
                    
                        invalidate the page directly
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @78
                         
                     | 
                    8 years | 
                    max | 
                    
                        print %rip, and add cli/sti
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @77
                         
                     | 
                    8 years | 
                    max | 
                    
                        Start hiding the architecture-specific drivers behind the …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @76
                         
                     | 
                    8 years | 
                    max | 
                    
                        empty out the x86 drivers
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @75
                         
                     | 
                    8 years | 
                    max | 
                    
                        Create the drivers/ sub-directory in each hal, and move soclib
into …
                     | 
                
                
                  | 
                    
                    
                   | 
                    
                      
                        
                        
                      
                     | 
                    
                      
                        @74
                         
                     | 
                    8 years | 
                    max | 
                    
                        (forgot to commit this)
                     | 
                
                
                  | 
                    
                    
                   | 
                   |