

@308

6 years 
max 
Add a basic syscall entry.



@307

6 years 
max 
Forgot to commit this yesterday.



@299

6 years 
max 
The uspace strcpy function is allowed to fail (not implemented yet).



@298

6 years 
max 
Sync with TSAR.



@293

6 years 
max 
Fix previous. Still don't know where the race comes from…



@292

6 years 
max 
Use different stacks for NMIs and Double Faults.



@290

6 years 
max 
Define prototype.



@285

6 years 
max 
Must be reg_t.



@283

6 years 
max 
horror



@280

6 years 
max 
sync



@276

6 years 
max 
update



@275

6 years 
max 
Add a SRAT parser. For some reason, QEMU does not want to enable the …



@274

6 years 
max 
Add tls_tf.



@272

6 years 
max 
Use local_cxy for GET_PTR, instead of the triple map. This fixes a …



@261

6 years 
max 
Hide soclib_dma.



@259

6 years 
max 
Hide soclib_nic.



@257

6 years 
max 
Hide soclib_mmc.



@256

6 years 
max 
Remove the IRQ line. It will have to be enabled somewhere in the
HAL.



@255

6 years 
max 
Don't route the IRQ for IMPL_TXT_RS2, it is multiplexed in software.



@254

6 years 
max 
Use IMPL_TXT_RS2.



@252

6 years 
max 
Hide IMPL_PIC_.



@250

6 years 
max 
Remove XCU on x86; not sure if it's still useful on TSAR…



@247

6 years 
max 
Rename soclib_tty>txt_rs232.



@245

6 years 
max 
Hide soclib_tty.



@243

6 years 
max 
Mmh, some CPUs can boot with the cache disabled, so explicitly
enable it.



@242

6 years 
max 
add a dumb lock for the console



@241

6 years 
max 
some LAPICs can be disabled



@240

6 years 
max 
Make the secondary CPUs jump into kernel_init().



@237

6 years 
max 
Attach the secondary CPUs, and for now route the keyboard irq to
cpu1 …



@236

6 years 
max 
Launch the secondary CPUs. For now, they all say hello and enter
an …



@235

6 years 
max 
Start adding some code for SMP support



@234

6 years 
max 
style



@233

6 years 
max 
Push the context entirely for an exception.



@226

6 years 
max 
add HAL_32BIT/HAL_64BIT



@225

6 years 
max 
implement hal_gpt_create



@224

6 years 
max 
Create a (virtual) copy of the local cluster in 0xffffe00000000000, …



@220

6 years 
max 
use the asm entry point to save the context



@216

6 years 
max 
dispatch 'impl' in the hal



@215

6 years 
max 
rename the ATA driver



@213

6 years 
max 
hide soclib_bdv



@209

6 years 
max 
add hal_remote_strcpy



@203

6 years 
max 
start moving the APIC code into the PIC driver



@202

6 years 
max 
register the ATA IRQs



@199

6 years 
max 
map the LAPIC and IOAPIC in a separate function



@198

6 years 
max 
mmh, mistakenly removed this



@197

6 years 
max 
rename soclib>apic



@196

6 years 
max 
sync



@195

6 years 
max 
add IOC (ATA)



@193

6 years 
max 
build the context



@192

6 years 
max 
initialize pic



@190

6 years 
max 
hide soclib



@189

6 years 
max 
sync



@187

6 years 
max 
count the number of IOAPICs



@169

6 years 
max 
remove unused var



@168

6 years 
max 
make the TLS initialization percpu



@167

6 years 
max 
define the TLS in hal_segmentation.h



@166

6 years 
max 
identify the cpu features



@165

6 years 
max 
put the percpu structures into one structure



@164

6 years 
max 
we're gonna use an array of TSSs



@163

6 years 
max 
handle the LAPIC override, and count the number of CPUs



@162

6 years 
max 
start making these variables percpu



@155

6 years 
max 
cleanup



@154

6 years 
max 
use a demultiplexer to get the channel on the serial port, and
make …



@153

6 years 
max 
cleanup



@152

6 years 
max 
add a basic RS232 COM1 implementation



@150

6 years 
max 
remove debug and unused code



@148

6 years 
max 
fix a pretty dumb bug; we must not unmap since we use the area for …



@147

6 years 
max 
less magic



@146

6 years 
max 
remove my fake_apic shit from yesterday



@145

6 years 
max 
style



@144

6 years 
max 
remove unused files



@143

6 years 
max 
style



@142

6 years 
max 
remove hal_trap.c, and put its content in hal_interrupt.c and …



@138

6 years 
max 
update



@137

6 years 
max 
improve the APIC implementation



@136

6 years 
max 
Hide a few soclib_xcu_ functions



@135

6 years 
max 
start moving the APIC into the XCU driver



@134

6 years 
max 
fix comment



@130

6 years 
max 
add hal_drivers_xcu_init



@125

6 years 
max 
implement hal_time_stamp and hal_fence



@124

6 years 
max 
rename hal_wbflush>hal_fence



@123

6 years 
max 
unmap the area below the kernel, so that we can find pointer …



@122

6 years 
max 
we will fix nested interrupt contexts later



@119

6 years 
max 
provide pages_nr



@118

6 years 
max 
add hal_restore_irq



@117

6 years 
max 
Calibrate the LAPIC timer with the PIT, with one interrupt per
second …



@116

6 years 
max 
complete hal_ppm_init, to take into account the reserved areas



@115

6 years 
max 
remove duplicate



@114

6 years 
max 
compute the offset for bootinfo



@113

6 years 
max 
add memcmp in libk; these mem* functions should probably be hal …



@112

6 years 
max 
In fact, we need to enter all of the VA space, because we massively …



@111

6 years 
max 
Mmh, update CLUSTER_VA_SIZE, we are calibrated for 64GB



@110

6 years 
max 
add some code for ppm_init



@109

6 years 
max 
don't save/restore %gs for now, we want to use TLS in interrupt …



@105

6 years 
max 
add a few atomic functions



@102

6 years 
max 
update the new hal_get_cycles



@101

6 years 
alain 
euh…



@99

6 years 
max 
add the irq functions; we will forbid nested critical sections, so
the …



@98

6 years 
max 
add the and/or ops



@97

6 years 
max 
(forgot this one in my previous commit)


