|
|
@345
|
7 years |
max |
Initialize rsp0 (in both the TSS and the TLS).
|
|
|
@344
|
7 years |
max |
Call core_clock - the computation in this function still needs to
be fixed.
|
|
|
@343
|
7 years |
max |
Mmh, skip tf_trapno and tf_err for iretq.
|
|
|
@342
|
7 years |
max |
Initialize tf_ss, and don't forget to update tls_thr.
|
|
|
@341
|
7 years |
max |
Set %eoi earlier for rescheduling interrupts, otherwise the timer …
|
|
|
@340
|
7 years |
max |
Remove debug code - it's useless anyway.
|
|
|
@339
|
7 years |
max |
Add support for context switch - not tested yet, due to some other …
|
|
|
@336
|
7 years |
max |
Rename curcpu -> curtls.
|
|
|
@335
|
7 years |
max |
Separate the CPU context from the trap frame.
|
|
|
@329
|
7 years |
max |
Initialize %rbp.
|
|
|
@327
|
7 years |
max |
Clean up, and fix several SMP-related issues. The LAPIC timer is still …
|
|
|
@323
|
7 years |
max |
Clean up, and define strstr() in libk.
|
|
|
@322
|
7 years |
max |
Clean up.
|
|
|
@321
|
7 years |
max |
We don't care about the base.
|
|
|
@320
|
7 years |
max |
Remove unused.
|
|
|
@319
|
7 years |
max |
Don't forget to unmap the region below the kernel. Useful to
detect …
|
|
|
@316
|
7 years |
max |
Synchronize with Alain's changes. Still several issues.
|
|
|
@315
|
7 years |
alain |
Redefine the fuctions ppm_base2page() / ppm_page2base() / …
|
|
|
@314
|
7 years |
max |
Add hal_remote_memset.
|
|
|
@312
|
7 years |
max |
Add a --no-smp option.
|
|
|
@311
|
7 years |
max |
Introduce hal_cpu_context_switch.
|
|
|
@310
|
7 years |
max |
Use pause().
|
|
|
@309
|
7 years |
max |
Add clts/stts.
|
|
|
@308
|
7 years |
max |
Add a basic syscall entry.
|
|
|
@307
|
7 years |
max |
Forgot to commit this yesterday.
|
|
|
@299
|
7 years |
max |
The uspace strcpy function is allowed to fail (not implemented yet).
|
|
|
@298
|
7 years |
max |
Sync with TSAR.
|
|
|
@293
|
7 years |
max |
Fix previous. Still don't know where the race comes from…
|
|
|
@292
|
7 years |
max |
Use different stacks for NMIs and Double Faults.
|
|
|
@290
|
7 years |
max |
Define prototype.
|
|
|
@285
|
7 years |
max |
Must be reg_t.
|
|
|
@283
|
7 years |
max |
horror
|
|
|
@280
|
7 years |
max |
sync
|
|
|
@276
|
7 years |
max |
update
|
|
|
@275
|
7 years |
max |
Add a SRAT parser. For some reason, QEMU does not want to enable the …
|
|
|
@274
|
7 years |
max |
Add tls_tf.
|
|
|
@272
|
7 years |
max |
Use local_cxy for GET_PTR, instead of the triple map. This fixes a …
|
|
|
@269
|
7 years |
max |
Mmh, fix previous.
|
|
|
@268
|
7 years |
max |
Mmh, the wait must be done for each block, not for each operation.
|
|
|
@264
|
7 years |
max |
empty out
|
|
|
@263
|
7 years |
max |
Remove soclib_fbf on x86.
|
|
|
@262
|
7 years |
max |
Remove soclib_dma on x86.
|
|
|
@261
|
7 years |
max |
Hide soclib_dma.
|
|
|
@260
|
7 years |
max |
Remove soclib_nic on x86.
|
|
|
@259
|
7 years |
max |
Hide soclib_nic.
|
|
|
@258
|
7 years |
max |
Remove soclib_mmc on x86.
|
|
|
@257
|
7 years |
max |
Hide soclib_mmc.
|
|
|
@256
|
7 years |
max |
Remove the IRQ line. It will have to be enabled somewhere in the
HAL.
|
|
|
@255
|
7 years |
max |
Don't route the IRQ for IMPL_TXT_RS2, it is multiplexed in software.
|
|
|
@254
|
7 years |
max |
Use IMPL_TXT_RS2.
|
|
|
@253
|
7 years |
max |
Remove unused files.
|
|
|
@252
|
7 years |
max |
Hide IMPL_PIC_.
|
|
|
@250
|
7 years |
max |
Remove XCU on x86; not sure if it's still useful on TSAR…
|
|
|
@247
|
7 years |
max |
Rename soclib_tty->txt_rs232.
|
|
|
@245
|
7 years |
max |
Hide soclib_tty.
|
|
|
@244
|
7 years |
max |
Hide the fields.
|
|
|
@243
|
7 years |
max |
Mmh, some CPUs can boot with the cache disabled, so explicitly
enable it.
|
|
|
@242
|
7 years |
max |
add a dumb lock for the console
|
|
|
@241
|
7 years |
max |
some LAPICs can be disabled
|
|
|
@240
|
7 years |
max |
Make the secondary CPUs jump into kernel_init().
|
|
|
@237
|
7 years |
max |
Attach the secondary CPUs, and for now route the keyboard irq to
cpu1 …
|
|
|
@236
|
7 years |
max |
Launch the secondary CPUs. For now, they all say hello and enter
an …
|
|
|
@235
|
7 years |
max |
Start adding some code for SMP support
|
|
|
@234
|
7 years |
max |
style
|
|
|
@233
|
7 years |
max |
Push the context entirely for an exception.
|
|
|
@226
|
7 years |
max |
add HAL_32BIT/HAL_64BIT
|
|
|
@225
|
7 years |
max |
implement hal_gpt_create
|
|
|
@224
|
7 years |
max |
Create a (virtual) copy of the local cluster in 0xffffe00000000000, …
|
|
|
@221
|
7 years |
max |
use panic instead
|
|
|
@220
|
7 years |
max |
use the asm entry point to save the context
|
|
|
@217
|
7 years |
max |
remove soclib_hba on x86
|
|
|
@216
|
7 years |
max |
dispatch 'impl' in the hal
|
|
|
@215
|
7 years |
max |
rename the ATA driver
|
|
|
@213
|
7 years |
max |
hide soclib_bdv
|
|
|
@211
|
7 years |
max |
hide the fields
|
|
|
@210
|
7 years |
max |
advance a bit, and panic on error
|
|
|
@209
|
7 years |
max |
add hal_remote_strcpy
|
|
|
@208
|
7 years |
max |
sync
|
|
|
@203
|
7 years |
max |
start moving the APIC code into the PIC driver
|
|
|
@202
|
7 years |
max |
register the ATA IRQs
|
|
|
@199
|
7 years |
max |
map the LAPIC and IOAPIC in a separate function
|
|
|
@198
|
7 years |
max |
mmh, mistakenly removed this
|
|
|
@197
|
7 years |
max |
rename soclib->apic
|
|
|
@196
|
7 years |
max |
sync
|
|
|
@195
|
7 years |
max |
add IOC (ATA)
|
|
|
@194
|
7 years |
max |
implement a basic ATA driver
|
|
|
@193
|
7 years |
max |
build the context
|
|
|
@192
|
7 years |
max |
initialize pic
|
|
|
@190
|
7 years |
max |
hide soclib
|
|
|
@189
|
7 years |
max |
sync
|
|
|
@187
|
7 years |
max |
count the number of IOAPICs
|
|
|
@169
|
7 years |
max |
remove unused var
|
|
|
@168
|
7 years |
max |
make the TLS initialization per-cpu
|
|
|
@167
|
7 years |
max |
define the TLS in hal_segmentation.h
|
|
|
@166
|
7 years |
max |
identify the cpu features
|
|
|
@165
|
7 years |
max |
put the per-cpu structures into one structure
|
|
|
@164
|
7 years |
max |
we're gonna use an array of TSSs
|
|
|
@163
|
7 years |
max |
handle the LAPIC override, and count the number of CPUs
|
|
|
@162
|
7 years |
max |
start making these variables per-cpu
|
|
|
@155
|
7 years |
max |
cleanup
|
|
|