summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
AgeCommit message (Collapse)Author
2004-07-24Use '=' not '==' with test. While ksh accepts '==' as a synomym for '=',Todd C. Miller
it is not valid in sh.
2004-07-22Change a printf+Debugger pair into a panic.Artur Grabowski
Debugger calls in the middle of the code are evil because they don't respect the ddb.panic sysctl and might leave critical machines hung instead of quickly rebooting them. requested by tedu@
2004-07-22Use mutex instead of SIMPLELOCK for locking the tlb shootdown queuesArtur Grabowski
and related structures. tedu@ ok
2004-07-22mutex instead of SIMPLELOCK for mp ddb.Artur Grabowski
"reads good" niklas@ "looks good" andreas@ "works" tedu@
2004-07-22Fix access to direct mapped memory through /dev/kmem.Artur Grabowski
2004-07-20MD mutex implementation on amd64.Artur Grabowski
2004-07-19Implement __HAVE_PMAP_DIRECT on amd64 using large pages. At this momentArtur Grabowski
it's limited to 512GB (one L4 page table entry) physical memory. Only used carefully at this moment, but more improvements are in the pipeline. tested by many, deraadt@ ok.
2004-07-15"mib[4] is too much and mib[3] would be enough" (left over from whenTom Cosgrove
another sysctl() - which did require mib[4] - was removed). From Andrey Matveev - andrushock (at) vniigim (dot) ru - via mickey@. ok mickey@
2004-07-15put int into a typeTheo de Raadt
2004-07-13errno changes, lib major version bumps, and general flag dayMarco S Hyman
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
2004-07-11Fix ldmxcsr asm macro.Mark Kettenis
ok deraadt@
2004-07-11add sf. ok deraadt@Ted Unangst
2004-07-10Keep mxcsr and mxcsr_mask across the fake init in process_read_fpregs.Mark Kettenis
ok deraadt@
2004-07-10From NetBSD:Artur Grabowski
date: 2004/06/28 09:13:11; author: fvdl; state: Exp; lines: +6 -5 Updaing ci_ilevel and testing ci_ipending must be done with all interrupts off, or priority inversion can occur, which can lead to IPI deadlocks. Leaves interrupts off for a bit longer, sadly, but with no noticeable effects on the systems I tested on. From YAMAMOTO Takashi. Fixes the IPI rendezvous panics for me.
2004-07-08enclose some MP-only things in #ifdef MULTIPROCESSORDavid Krause
ok deraadt@ niklas@; testing by pvalchev@
2004-07-03Check return value instead of uninitialized variable.Mark Kettenis
ok deraadt@
2004-06-28pass pin instead of level out to userlandTheo de Raadt
2004-06-28Use new event counter API for interrupt counting on amd64. Based in partTheo de Raadt
on some changes in the i386 codebase.
2004-06-27quieter boot requested by artTheo de Raadt
2004-06-26pop is quad in 64-bit modeAndreas Gunnarsson
2004-06-26deinline splraise, spllower and setsoftint.Artur Grabowski
Makes the kernel smaller and faster. deraadt@ ok
2004-06-25'machine cpuinfo' and 'machine ddbcpu' in ddb for amd64Andreas Gunnarsson
2004-06-25prettyTheo de Raadt
2004-06-25SMP support. Big parts from NetBSD, but with some really serious debuggingArtur Grabowski
done by me, niklas and others. Especially wrt. NXE support. Still needs some polishing, especially in dmesg messages, but we're now building kernel faster than ever.
2004-06-24A little better but still work in progress.Andreas Gunnarsson
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@
2004-06-24Work in progress, early check-in requested by niklas@Andreas Gunnarsson
2004-06-22Switch amd64 to __HAVE_CPUINFOArtur Grabowski
deraadt@ ok
2004-06-21Pure luck has protected us from this bug until now: locore.SNiklas Hallqvist
%r9 are not saved over function calls and more we did not even want &proc0 as the old process in switch_search, but zero. Fixes bsd.rd.
2004-06-14de-__PTheo de Raadt
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-06-09Minor sync from the SMP branch.Artur Grabowski
NVRAM_RESET_SOFT -> NVRAM_RESET_JUMP ok deraadt@
2004-06-06remove Realtek 8139C+ from re(4) line commentPeter Valchev
2004-06-05re(4) on all mediaTheo de Raadt
2004-06-04nsclpcsio can't be find on any amd64 board.Alexander Yurchenko
2004-06-04grange: if you keep commiting stuff you did not test, you will run into troubleTheo de Raadt
2004-05-30Enable hotplug, tested by tedu@.Alexander Yurchenko
2004-05-30Devices hot plugging support.Alexander Yurchenko
The hotplug pseudo-device passes device attachment and detachment events to userland. When a device attaches or detaches, the corresponding event is queued. The events can then be obtained from the queue through the read(2) call on the /dev/hotplug device file. Each event consists of event type (attach/detach), device class (DV_*) and device name (sd1 e.g.). We have hotplug pseudo-device on alpha, amd64, i386, macppc and sparc64. Since it was tested only on i386 other archs has it commented out in GENERIC until tested. The idea liked peter@ tedu@ drahn@ millert@ marco@ henning@. Ok deraadt@.
2004-05-29Enable vga0 at isa? (makes krw's vga appear).Tom Cosgrove
ok krw@ deraadt@
2004-05-25enable rl; works according to kent@ripco.comTheo de Raadt
2004-05-23Enable ehci on amd64 also. ok deraadt@ pval@Dale Rahn
2004-05-23Adjust the link address to elinate the nearly 1MB of pad which was gettingDale Rahn
added to amd64 kernel. ok deraadt@
2004-05-20Make MINGDTSIZ a multiple of PAGE_SIZE to avoid destroying the gdt table.Thomas Nordin
ok tom@ toby@
2004-05-20Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpcMark Kettenis
and m68k. ok drahn@, millert@
2004-05-17Work arounda behaviour change in binutils-2.14, now -m<...> -nostdlibDale Rahn
removes /usr/libdata from the script search path. add it back with a -L
2004-05-13activate systrace on amd64, while here get rid of syscall_{plain,fancy}Nikolay Sturm
instead use syscall() as everywhere else ok mickey, tested and ok tedu@
2004-05-13Fix userland profiling on amd64, update to new NetBSD version of file.Dale Rahn
kernel profiling does not yet work. ok marc@
2004-05-10auich for amd64. OK deraadt@Marco S Hyman
2004-05-07spllower should return the previous level, to match other archs.Ted Unangst
"looks right" miod
2004-05-05write cpuhdr with info needed by libkvm to crash dumps.Marco S Hyman