Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move a prototype to the least wrong place. | phk | 2002-08-02 | 3 | -1/+2 |
| | | | | Suggested by: bde | ||||
* | SYSINIT needs to be SI_SUB_PSEUDO. Add a printf to tell we are here. | phk | 2002-08-02 | 1 | -1/+2 |
| | |||||
* | Add the minimalist elan-mmcr device driver. | phk | 2002-08-02 | 2 | -0/+86 |
| | | | | | This driver allows a userland program to mmap the MMCR of the AMD Elan sc520 CPU. | ||||
* | o Lock page queue accesses by vm_page_deactivate(). | alc | 2002-08-02 | 1 | -3/+15 |
| | |||||
* | Fix the link to the Handbook | blackend | 2002-08-01 | 1 | -1/+1 |
| | |||||
* | Fix a bug about stack manipulation at ACPI wakeup. | iwasaki | 2002-08-01 | 1 | -0/+1 |
| | | | | | | | This should avoid kernel panic on kernel compiled w/o NO_CPU_COPTFLAGS. Suggested by: optimized code by -mcpu=pentiumpro | ||||
* | o Setting PG_MAPPED and PG_WRITEABLE on pages that are mapped and unmapped | alc | 2002-07-31 | 1 | -2/+0 |
| | | | | | | | | | | | | by pmap_qenter() and pmap_qremove() is pointless. In fact, it probably leads to unnecessary pmap_page_protect() calls if one of these pages is paged out after unwiring. Note: setting PG_MAPPED asserts that the page's pv list may be non-empty. Since checking the status of the page's pv list isn't any harder than checking this flag, the flag should probably be eliminated. Alternatively, PG_MAPPED could be set by pmap_enter() exclusively rather than various places throughout the kernel. | ||||
* | The Elan SC520 MMCR is actually 16bit wide, so u_char is inconvenient. | phk | 2002-07-31 | 2 | -2/+2 |
| | |||||
* | Resolve conflicts arising from the ACPI CA 20020725 import. | iwasaki | 2002-07-30 | 1 | -0/+125 |
| | |||||
* | o Lock page queue accesses by pmap_release_free_page(). | alc | 2002-07-30 | 1 | -0/+2 |
| | |||||
* | Create a new header <machine/_stdint.h> for storing MD parts of | mike | 2002-07-29 | 4 | -231/+171 |
| | | | | | | | | | <stdint.h>. Previously, parts were defined in <machine/ansi.h> and <machine/limits.h>. This resulted in two problems: (1) Defining macros in <machine/ansi.h> gets in the way of that header only defining types. (2) Defining C99 limits in <machine/limits.h> adds pollution to <limits.h>. | ||||
* | o Pass VM_ALLOC_WIRED to vm_page_grab() rather than calling vm_page_wire() | alc | 2002-07-29 | 1 | -13/+5 |
| | | | | | in pmap_new_thread(), pmap_pinit(), and vm_proc_new(). o Lock page queue accesses by vm_page_free() in pmap_object_init_pt(). | ||||
* | Unwind the syscall_with_err_pushed tweak that jake did some time back. | peter | 2002-07-28 | 2 | -3/+17 |
| | | | | OK'ed by: jake | ||||
* | Catch up to rev 1.339 of src/sys/conf/options (PCI_ENABLE_IO_MODES is | mike | 2002-07-27 | 1 | -5/+0 |
| | | | | now a sysctl and is enabled by default). | ||||
* | Add some locking asserts and some comments | julian | 2002-07-24 | 1 | -0/+1 |
| | |||||
* | de-count pci | peter | 2002-07-23 | 4 | -4/+4 |
| | |||||
* | Add unit counts for the i4b stuff where it still uses NFOO etc. | peter | 2002-07-21 | 1 | -13/+13 |
| | |||||
* | Add static unit count for 'card' | peter | 2002-07-21 | 1 | -1/+1 |
| | |||||
* | Add static unit count for pci here as well. | peter | 2002-07-21 | 2 | -2/+2 |
| | |||||
* | Add explicit unit count on 'device pci' for ahc/ahd | peter | 2002-07-21 | 2 | -2/+2 |
| | |||||
* | The following devices do not take a static unit 'count' argument: | peter | 2002-07-21 | 1 | -1/+1 |
| | | | | ar, fe, lnc, sr, wl, fpa, bktr, sbni | ||||
* | style(9)ize the whole file | imp | 2002-07-21 | 2 | -948/+984 |
| | | | | Approved in concept a long time ago by: msmith | ||||
* | Fix more abuse of __FreeBSD__ to detect version. | imp | 2002-07-21 | 1 | -63/+0 |
| | |||||
* | Stop abusing NPCI for code that doesn't even work. Emit a warning. | peter | 2002-07-21 | 1 | -5/+1 |
| | |||||
* | Move SWTCH_OPTIM_STATS related code out of cpufunc.h. (This sort of stat | peter | 2002-07-21 | 3 | -13/+9 |
| | | | | gathering is not an x86 cpu feature) | ||||
* | Infrastructure tweaks to allow having both an Elf32 and an Elf64 executable | peter | 2002-07-20 | 4 | -6/+48 |
| | | | | | | | | | | | | | | | handler in the kernel at the same time. Also, allow for the exec_new_vmspace() code to build a different sized vmspace depending on the executable environment. This is a big help for execing i386 binaries on ia64. The ELF exec code grows the ability to map partial pages when there is a page size difference, eg: emulating 4K pages on 8K or 16K hardware pages. Flesh out the i386 emulation support for ia64. At this point, the only binary that I know of that fails is cvsup, because the cvsup runtime tries to execute code in pages not marked executable. Obtained from: dfr (mostly, many tweaks from me). | ||||
* | o Use vm_page_alloc(... | VM_ALLOC_WIRED) in place of vm_page_wire(). | alc | 2002-07-19 | 1 | -4/+2 |
| | |||||
* | Add support for probing secondary buses on the ServerWorks Grand Champion | gallatin | 2002-07-19 | 1 | -0/+11 |
| | | | | | | | | chipset used for P4-Xeon machines PR: kern/38894 Tested-by: "Marc G. Fournier" <scrappy@hub.org> Submitted-by: Mark Tinguely (partially) | ||||
* | Beautify. This has the side effect of improving portability and | markm | 2002-07-18 | 1 | -39/+31 |
| | | | | | | making lint work cleaner. Inspired to do this by: jhb | ||||
* | Add initialization code for the AMD Elan sc520 which maps the MMCR | phk | 2002-07-18 | 4 | -4/+53 |
| | | | | into KVM and sets the i8254 frequency to the correct value. | ||||
* | Add an entry for the AMD Elan SC520 hostbridge. I do not belive we can | phk | 2002-07-18 | 1 | -0/+3 |
| | | | | | | identify this gadget on the CPUID result alone, so I intend to activate the necessary magic (i8254 frequency for instance) for it based on the precense of the on-chip host to PCI bridge. | ||||
* | Use pmap_kenter() rather than vtopte() and bashing the page tables | peter | 2002-07-18 | 1 | -14/+3 |
| | | | | directly. | ||||
* | Avoid trying to set PG_G on the first 4MB when we set up the 4MB page. | peter | 2002-07-17 | 1 | -0/+6 |
| | | | | | | | This solves the SMP panic for at least one system. I'd still like to know why my xeon works though. Tested by: bmilekic | ||||
* | Clean up the syntax WRT semicolons at the end of function-like-macros, and ↵ | markm | 2002-07-17 | 1 | -23/+74 |
| | | | | protect GCCisms from non-GNU compilers and lint. | ||||
* | Qualify comment on machdep.cpu_idle_hlt. Turning this on on a SMP | dillon | 2002-07-17 | 1 | -3/+10 |
| | | | | | | | machine will result in approximately a 4.2% loss of performance (buildworld) and approximately a 5% reduction in power consumption (when idle). Add XXX note on how to really make hlt work (send an IPI to wakeup HLTed cpus on a thread-schedule event? Generate an interrupt somehow?). | ||||
* | Various comment and minor style fixes. No actual content changes. | jhb | 2002-07-16 | 1 | -8/+8 |
| | | | | Inspired by: bde | ||||
* | Retire the perl gethints.conf in favour of an awk version. Move | markm | 2002-07-16 | 2 | -100/+116 |
| | | | | | | the awk version to a central place for maintenance. Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> | ||||
* | The pmap_invalidate_all() here is definately not a good idea. We are | peter | 2002-07-15 | 1 | -2/+2 |
| | | | | | | | running with interrupts disabled, other cpus locked down, and only making a temporary local mapping that we immediately back out again. Tested by: gallatin | ||||
* | Add a new VM options section. Move KSTACK_PAGES there from the MI NOTES | jhb | 2002-07-15 | 1 | -3/+25 |
| | | | | | file and better document it. Add better documentation for the DISABLE_PSE option. Add the missing DISABLE_PG_G option and document it. | ||||
* | The EISA_SLOTS option appears to be i386-only. | jhb | 2002-07-15 | 1 | -0/+8 |
| | |||||
* | COMPAT_OLDISA is only used on i386. | jhb | 2002-07-15 | 1 | -0/+1 |
| | |||||
* | makeLINT.send has been moved to sys/conf so we can build LINT on other | jhb | 2002-07-15 | 2 | -9/+2 |
| | | | | architectures besides i386. | ||||
* | Move ACPI device and options from MI NOTES to the i386 MD NOTES file. | jhb | 2002-07-15 | 1 | -0/+15 |
| | |||||
* | Wrap GNU specific code in ifdefs, and help lint out by providing | markm | 2002-07-15 | 1 | -2/+18 |
| | | | | some alternative definitions. | ||||
* | Cast to prevent "signed/unsigned comparison" warnings. | markm | 2002-07-15 | 1 | -2/+2 |
| | |||||
* | Warnings and lint-assisting fixes; mark unused function parameters as | markm | 2002-07-15 | 1 | -18/+58 |
| | | | | unused; wrap GNUisms (asm code) in appropriate #ifdefs. | ||||
* | o Lock page queue accesses by vm_page_wire(). | alc | 2002-07-14 | 1 | -0/+4 |
| | |||||
* | Quick fix for high resolution kernel profiling on i386's. Use | bde | 2002-07-13 | 1 | -0/+4 |
| | | | | | | | | | | | -finstrument-functions instead of -mprofiler-epilogue. The former works essentially the same as the latter but has a higher overhead (about 22 more bytes per function for passing unused args to the profiling functions). Removed all traces of the IDENT Makefile variable, which had been reduced to just a place for holding profiling's contribution to CFLAGS (the IDENT that gives the kernel identity was renamed to KERN_IDENT). | ||||
* | Two invlpg's slipped through that were not protected from I386_CPU | peter | 2002-07-13 | 1 | -0/+8 |
| | | | | Pointed out by: dillon | ||||
* | invlpg() does not work too well on i386 cpus. Add token i386 support | peter | 2002-07-13 | 1 | -1/+12 |
| | | | | back in to the pmap_zero_page* stuff. |