

@189

4 years 
max 
sync



@188

4 years 
alain 
Redefine the PIC device API.



@187

4 years 
max 
count the number of IOAPICs



@169

4 years 
max 
remove unused var



@168

4 years 
max 
make the TLS initialization percpu



@167

4 years 
max 
define the TLS in hal_segmentation.h



@166

4 years 
max 
identify the cpu features



@165

4 years 
max 
put the percpu structures into one structure



@164

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



@163

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



@162

4 years 
max 
start making these variables percpu



@155

4 years 
max 
cleanup



@154

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



@153

4 years 
max 
cleanup



@152

4 years 
max 
add a basic RS232 COM1 implementation



@151

4 years 
alain 
Move the core specific hal_cpu_context_t & hafpu_context_t structures …



@150

4 years 
max 
remove debug and unused code



@148

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



@147

4 years 
max 
less magic



@146

4 years 
max 
remove my fake_apic shit from yesterday



@145

4 years 
max 
style



@144

4 years 
max 
remove unused files



@143

4 years 
max 
style



@142

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



@141

4 years 
max 
style



@139

4 years 
max 
I'm dumb



@138

4 years 
max 
update



@137

4 years 
max 
improve the APIC implementation



@136

4 years 
max 
Hide a few soclib_xcu_ functions



@135

4 years 
max 
start moving the APIC into the XCU driver



@134

4 years 
max 
fix comment



@133

4 years 
max 
style



@131

4 years 
max 
use hal_drivers_xcu_init



@130

4 years 
max 
add hal_drivers_xcu_init



@129

4 years 
max 
put panics everywhere



@125

4 years 
max 
implement hal_time_stamp and hal_fence



@124

4 years 
max 
rename hal_wbflush>hal_fence



@123

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



@122

4 years 
max 
we will fix nested interrupt contexts later



@121

4 years 
alain 
Fix bugs in hal_remote, hal uspace, hal_special



@119

4 years 
max 
provide pages_nr



@118

4 years 
max 
add hal_restore_irq



@117

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



@116

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



@115

4 years 
max 
remove duplicate



@114

4 years 
max 
compute the offset for bootinfo



@113

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



@112

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



@111

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



@110

4 years 
max 
add some code for ppm_init



@109

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



@108

4 years 
max 
typo



@107

4 years 
max 
reorder the code a bit, to reduce the (future) diff with x86



@106

4 years 
max 
style and typos



@105

4 years 
max 
add a few atomic functions



@102

4 years 
max 
update the new hal_get_cycles



@101

4 years 
alain 
euh…



@100

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



@99

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



@98

4 years 
max 
add the and/or ops



@97

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



@96

4 years 
max 
Mmh, fix the return values



@95

4 years 
alain 
hal_special: replace hal_time_stamp() by hal_get_cycles()
hal_remote : …



@94

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



@92

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



@91

4 years 
max 
retrieve the pressed key, and display it



@90

4 years 
max 
scroll for real, and add %c



@89

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



@88

4 years 
alain 
Remove oldies.



@87

4 years 
alain 
Remove oldies.



@86

4 years 
max 
enable the timer (not yet calibrated)



@85

4 years 
max 
reload the segregs



@84

4 years 
max 
scroll the console



@83

4 years 
max 
we want to have the LAPIC noncacheable



@82

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



@81

4 years 
max 
silence a few warnings



@80

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



@79

4 years 
max 
invalidate the page directly



@78

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



@77

4 years 
max 
Start hiding the architecturespecific drivers behind the …



@76

4 years 
max 
empty out the x86 drivers



@75

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



@74

4 years 
max 
(forgot to commit this)



@73

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



@72

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



@71

4 years 
max 
advance a little



@70

4 years 
max 
start constructing the bootinfo structure



@69

4 years 
max 
use uint8_t instead



@67

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



@64

4 years 
max 
cosmetic and typos



@63

4 years 
max 
move the ldscript into core/ for tsar



@62

4 years 
max 
create the core/ subdirectory for tsar



@61

4 years 
max 
cosmetic



@59

4 years 
max 
remove oldies/



@57

4 years 
max 
move the ldscript into x86_64/



@55

4 years 
max 
remove i386/



@54

4 years 
max 
make it compile on x86



@53

4 years 
alain 
Compilation OK pout TSAR



@51

4 years 
max 
Create the core/ subdirectory for x86_64.



@50

4 years 
alain 
bloup


