summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2006-05-25Remove unused struct cfdriver field from genericconf struct, as on cats.Miod Vallat
2006-05-25When looping over va ranges, do not compute the same sdt pointer more thanMiod Vallat
once.
2006-05-25gas will error out with a number of "Error: unassigned file number 1"Brad Smith
messages when compiling with gcc3, so to appease gas I have added ".file 1 __FILE__" at the top of locore. now a kernel will compile using gcc3. thanks to jason@ for pointing out the fix via this URL.. http://sourceware.org/ml/binutils/2001-05/msg00043.html ok deraadt@
2006-05-24Cleanup and simplify the EST detection:Dimitry Andric
- Fix yet another rounding problem, in the ID16 macro this time. Luckily the resulting table was not affected by this. - Remove unnecessary fqlist::id32 field. This saves error-prone duplication of (MHz, mV) pairs in the source, and makes the table smaller. - Put fqlist members in bit fields, this also saves lots of space. These fields are not accessed in performance-critical code anyway. Tested by a bunch of people, ok brad@
2006-05-22move VM_NFREELIST out of ifdef kernel for nowTheo de Raadt
2006-05-21Fix AV_IEN() computation for cpu #2 and #3.Miod Vallat
2006-05-21kvtopte() is not used anymore.Miod Vallat
2006-05-21some diskless pointers; ok deraadtJason McIntyre
2006-05-21Move common definitions shared by the various 88100-based designs to theirMiod Vallat
own header file, and slowly make most of the code board-independent. No functional change.
2006-05-21Check for stale flags in the DMA map.Brad Smith
From thorpej NetBSD
2006-05-21- _bus_dmamap_load_buffer_direct_common -> _bus_dmamap_load_buffer_directBrad Smith
- fix _bus_dmamap_load_(uio/mbuf)_direct panic messages. - s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message. From NetBSD
2006-05-21Fix a couple of comments.Brad Smith
From NetBSD
2006-05-21Pay attention to BUS_DMA_READ; don't need to allocate a spillBrad Smith
page if it is set. From NetBSD
2006-05-21Implement dmamap_load_uio for SGMAPs.Brad Smith
From NetBSD
2006-05-20Let the bootloader pass esym to the kernel, and let the kernel make good useMiod Vallat
of this if it finds out it has not been directly loaded by the PROM; not tested yet.
2006-05-20Detect BOOTARG_BOOTMAC coming from PXE; search for interface and attemptTheo de Raadt
to boot from it. At the same time add -a support for network interface selection; tested by reyk, mk, deraadt on i386, cloned code applied to amd64 and tested a little bit less
2006-05-20handle BOOTARG_BOOTMAC from boot block; tested by reykTheo de Raadt
2006-05-20Lower load address 128KB, to cope with the PROM data area on 8MB machines.Miod Vallat
2006-05-20push a BOOTARG_BOOTMAC (what PXE says is the MAC address of the interfaceTheo de Raadt
we are booting from) out towards the kernel; tested by reyk crank the version too
2006-05-20add bios_bootmac_t and BOOTARG_BOOTMACTheo de Raadt
2006-05-20No need to define two page freelists since we'll only populate one; testedMiod Vallat
by robert@
2006-05-20Crank VM_MAX_ADDRESS to 4GB minus one page now that pmap will accept it.Miod Vallat
2006-05-20Make sure pmap copes with address wraparounds when operating on ranges.Miod Vallat
This removes the dependency for VM_MAX_ADDRESS to be aligned on a segment boundary. While there, remove a few internal pmap macros from mmu.h.
2006-05-20NFSCLIENT can obviously fit on hereTheo de Raadt
2006-05-20Directly pass a pmap to flush_atc_entry() instead of individual fields of it.Miod Vallat
No functional change.
2006-05-20Do not wait until Lstart2 to reset the HP MMU command register on modelsMiod Vallat
which need it. This allows up to free a1 for general use much earlier.
2006-05-20Put explicit barriers in in-line spl functions.Miod Vallat
2006-05-20Some more EST improvements:Dimitry Andric
- Add Pentium M 710, 730, 740, 750, 760; preliminary, not all table values are known yet, thanks to incomplete Intel documentation. - Change Pentium M 770 to 133 MHz system bus clock. - Fix rounding, so 133 MHz bus clock based CPU speeds like 1733, 1866, 2133 show up correcly, instead of 1729, 1862, 2128 as before. If you have any of the 7[1-7]0 models, and it doesn't get detected properly yet, please let me know. It might be you have a slightly different variant from what is in the tables. Tested by a lot of people; ok brad@, slap it in deraadt@
2006-05-20Hints and commented out lines about future work.Miod Vallat
2006-05-20This file was not supposed to be imported initially, but it might as wellMiod Vallat
be a GENERIC-without-other-models support template (hence, for now, identical).
2006-05-20Introduce a ``struct board'' platform abstraction, to be able to supportMiod Vallat
more AViiON designs in the future. Heuristics to tell designs apart in aviion_identify() are likely too weak, but this is a start and AV400 still gets identified as AV400 (-:
2006-05-20Try and use the CPUCONFIG PROM call even if we did not detect 88204 CMMUs,Miod Vallat
recent PROM might have it implemented, and for 6:1 processor boards on 530 models, this is the only way we'll get to know the split scheme in use, for now.
2006-05-20Save the PROM VBR on startup, rather than assuming the PROM (and thus itsMiod Vallat
VBR) will always reside at the same address. Also, when querying the PROM for the memory size, ask it for the ``user'' size - i.e. with the PROM data area taken out.
2006-05-20delete old #ifdef INSTALL chunkTheo de Raadt
2006-05-20do not even match on unsupported hw (instead of return from attach); from 710Michael Shalayeff
2006-05-19Get rid of ``maxmem'' and fix the descriptive comment for ``physmem''.Miod Vallat
Either maxmem is not used (mac68k), or the position of the physical memory is set in stone so we don't need to know the top of the memory (MAXADDR on hp300, physmem on mvme68k) it was pointing to. Plus this gets rid of unused lowram on mvme68k - all the m68k world is not an hp300, after all.
2006-05-19INTSTACK_SIZE is not used anymore.Miod Vallat
2006-05-19clean out some NetBSD cruft from the pmap code.Brad Smith
ok mickey@ deraadt@
2006-05-19Reimplement the Enhanced SpeedStep CPU detection by using theDimitry Andric
quintuplet { vendor, MHz_hi, mV_hi, MHz_lo, mV_lo }, which works much better than parsing the branding string. It also makes it easier to add new models later. Shouldn't break any CPU's which previously worked okay with EST; if there's any trouble, please let me know! Also adds quite a number of VIA C7-M models, and a few more Pentium M models, all from FreeBSD. "go for it" deraadt@
2006-05-19Add acpitz, commented outCan Erkin Acar
2006-05-19Smbios cleanupGordon Willem Klok
Improve the heuristics a little and extend them to the version and serial number fields. Clean the strings of leading/trailing space and deal with strings which consist entirely of space. Use fixed buffers for strings instead of using pointers into the table. ok deraadt@, and tested by many.
2006-05-19since mfi is pretty small, it fits on some mediaTheo de Raadt
2006-05-19disable azalia here too.Brad Smith
2006-05-19no, azalia may not be on. Why? You did not ASK ME, brad. And thereTheo de Raadt
is an outstanding PR which makes it obvious that it should not be enabled yet!
2006-05-18Just finished testing mfi on amd64 so add it here too.Marco Peereboom
2006-05-18Enable mfi.Marco Peereboom
2006-05-18Enable detection of SpeedStep support for the VIA Esther CPU's. NoteDimitry Andric
this won't identify the possible speeds yet. Add some KNF while there. ok deraadt
2006-05-18Use standard swap16() and swap32() functions instead of abusing <db.h> to getMiod Vallat
similar M_xx_SWAP().
2006-05-18Move otherwise unused <machine/vid.h> to stand/Miod Vallat
2006-05-18enable azalia(4) so we can get some more feedback.Brad Smith