

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



@194

6 years 
max 
implement a basic ATA driver



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



@139

6 years 
max 
I'm dumb



@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



@129

6 years 
max 
put panics everywhere



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



@100

6 years 
max 
add a part of the tty driver; not tested yet (due to a NULL deref …



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



@96

6 years 
max 
Mmh, fix the return values



@94

6 years 
max 
remove lw_unc, add a few ops, and update a few things



@92

6 years 
max 
fix the definition of hal_remote_spt, and add the *pt ops on
x86_64



@91

6 years 
max 
retrieve the pressed key, and display it



@90

6 years 
max 
scroll for real, and add %c



@89

6 years 
max 
Parse the IOAPIC structure in ACPI, map the IOAPIC, and enable
the …



@86

6 years 
max 
enable the timer (not yet calibrated)



@85

6 years 
max 
reload the segregs



@84

6 years 
max 
scroll the console



@83

6 years 
max 
we want to have the LAPIC noncacheable



@82

6 years 
max 
Rename a certain number of things, and improve the APIC support.



@81

6 years 
max 
silence a few warnings



@80

6 years 
max 
add the timer vector, for now it doublefaults



@79

6 years 
max 
invalidate the page directly



@78

6 years 
max 
print %rip, and add cli/sti



@77

6 years 
max 
Start hiding the architecturespecific drivers behind the …



@76

6 years 
max 
empty out the x86 drivers



@75

6 years 
max 
Create the drivers/ subdirectory in each hal, and move soclib
into …



@74

6 years 
max 
(forgot to commit this)



@73

6 years 
max 
now that the fields are stable, embed the VA base in XPTR



@72

6 years 
max 
start defining some remote functions, and use uint8_t instead of
char



@71

6 years 
max 
advance a little



@70

6 years 
max 
start constructing the bootinfo structure



@69

6 years 
max 
use uint8_t instead



@67

6 years 
max 
switch to 64GB of VA per cluster, with 256 clusters



@61

6 years 
max 
cosmetic



@57

6 years 
max 
move the ldscript into x86_64/



@54

6 years 
max 
make it compile on x86



@51

6 years 
max 
Create the core/ subdirectory for x86_64.



@48

6 years 
max 
Put panics everywhere



@47

6 years 
max 
Use mcmodel=large, in order to have a kernel image that is located at …



@46

6 years 
max 
Start implementing TLS.



@45

6 years 
max 
Add some code for LAPIC; far from complete, but a good start.



@44

6 years 
max 
Update. We need to use two separate arrays: one for the heap and one …



@43

6 years 
max 
simplify



@42

6 years 
max 
Explicitly use configurable parameters



@39

6 years 
max 
Parse RSDP>RSDT>MADT, and get the LAPIC PA.


