

@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 …



@261

7 years 
max 
Hide soclib_dma.



@259

7 years 
max 
Hide soclib_nic.



@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.



@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.



@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, …



@220

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



@216

7 years 
max 
dispatch 'impl' in the hal



@215

7 years 
max 
rename the ATA driver



@213

7 years 
max 
hide soclib_bdv



@209

7 years 
max 
add hal_remote_strcpy



@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)



@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 percpu



@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 percpu 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 percpu



@155

7 years 
max 
cleanup



@154

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



@153

7 years 
max 
cleanup



@152

7 years 
max 
add a basic RS232 COM1 implementation



@150

7 years 
max 
remove debug and unused code



@148

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



@147

7 years 
max 
less magic



@146

7 years 
max 
remove my fake_apic shit from yesterday



@145

7 years 
max 
style



@144

7 years 
max 
remove unused files



@143

7 years 
max 
style



@142

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



@138

7 years 
max 
update



@137

7 years 
max 
improve the APIC implementation



@136

7 years 
max 
Hide a few soclib_xcu_ functions



@135

7 years 
max 
start moving the APIC into the XCU driver



@134

7 years 
max 
fix comment



@130

7 years 
max 
add hal_drivers_xcu_init



@125

7 years 
max 
implement hal_time_stamp and hal_fence



@124

7 years 
max 
rename hal_wbflush>hal_fence



@123

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



@122

7 years 
max 
we will fix nested interrupt contexts later



@119

7 years 
max 
provide pages_nr



@118

7 years 
max 
add hal_restore_irq



@117

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



@116

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



@115

7 years 
max 
remove duplicate



@114

7 years 
max 
compute the offset for bootinfo



@113

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



@112

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



@111

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



@110

7 years 
max 
add some code for ppm_init



@109

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



@105

7 years 
max 
add a few atomic functions



@102

7 years 
max 
update the new hal_get_cycles



@101

7 years 
alain 
euh…



@99

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



@98

7 years 
max 
add the and/or ops



@97

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


