

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



@139

7 years 
max 
I'm dumb



@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



@129

7 years 
max 
put panics everywhere



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



@100

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



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



@96

7 years 
max 
Mmh, fix the return values



@94

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



@92

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



@91

7 years 
max 
retrieve the pressed key, and display it



@90

7 years 
max 
scroll for real, and add %c



@89

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



@86

7 years 
max 
enable the timer (not yet calibrated)



@85

7 years 
max 
reload the segregs



@84

7 years 
max 
scroll the console



@83

7 years 
max 
we want to have the LAPIC noncacheable



@82

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



@81

7 years 
max 
silence a few warnings



@80

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



@79

7 years 
max 
invalidate the page directly



@78

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



@77

7 years 
max 
Start hiding the architecturespecific drivers behind the …



@76

7 years 
max 
empty out the x86 drivers



@75

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



@74

7 years 
max 
(forgot to commit this)



@73

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



@72

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



@71

7 years 
max 
advance a little



@70

7 years 
max 
start constructing the bootinfo structure



@69

7 years 
max 
use uint8_t instead



@67

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



@61

7 years 
max 
cosmetic



@57

7 years 
max 
move the ldscript into x86_64/



@54

7 years 
max 
make it compile on x86



@51

7 years 
max 
Create the core/ subdirectory for x86_64.



@48

7 years 
max 
Put panics everywhere



@47

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



@46

7 years 
max 
Start implementing TLS.



@45

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



@44

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



@43

7 years 
max 
simplify



@42

7 years 
max 
Explicitly use configurable parameters



@39

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



@38

7 years 
max 
Use 4GB of VA per cluster, and 8GB of PA.



@35

7 years 
max 
Update:
* Introduce a basic VM manager in hal_gpt.c, to create the …



@34

7 years 
max 
Update the types (from i386/).



@32

7 years 
max 
Update. Retrieve and parse the multiboot info, and dump the mmap. Some …



@31

7 years 
max 
Silence a few gcc warnings.



@29

7 years 
max 
Update. The kernel now enables the GDT/IDT, and has trap entries. A …



@25

7 years 
max 
First shot of the x86_64 port. It uses Multiboot V1. Most of the HAL …
