Age | Commit message (Collapse) | Author |
|
space and not noticing because they only test on amd64. So enforce alignment
there as well, at least for a little while such that we find those bugs and
force people to fix them.
|
|
space and not noticing because they only test on amd64. So enforce alignment
there as well, at least for a little while such that we find those bugs and
force people to fix them.
|
|
they apply.
ok oga@ deraadt@
|
|
accessors or the byte-swapped accessors, depending upon the byteswap setting
of the device we are trying to attach.
This allows for the removal of byteswap knowledge from ioc(4) and iof(4)
drivers.
While there, build pci_chipset_t md structs by bcopy'ing a template and
filling the few runtime fields, instead of assigning every field of them.
|
|
This mandatory function will get invoked in pci_probe_device(), and allows
a pci host driver to alter the pci_attach_args passed to a device when
attaching.
This function will also, if returning non-zero, cause the device to be
skipped completely during all the phases of the PCI device discovery
(i.e. ressource enumeration, ressource assignment, and actual attachment).
This particular feature is experimental and might be reverted in the future
(or the scope narrowed to device attachment only).
A dummy #define pci_probe_device_hook() 0 is added to all platforms except
sgi, where real functions (currently only returning 0) are added; real meat
will be added shortly.
Discussed at s2k11, no objection from the usual suspects.
|
|
pointed out by Loganaden Velvindron/brad
|
|
reject non-padded files with an irrelevant error message, and newer firmware
won't mind the extra bytes.
|
|
the VBR page (quick workaround until the VBR page is relocated as has been
done on mvme88k)
|
|
|
|
control, and enjoy the joys of write back (16% performance improvement for
non-cpu bound workloads).
While there, there is no need to map the page tables cache inhibited on
88100 systems; they only need to be write-through, and snooping will do the
rest.
Kernel WB is still disabled on 88110 SMP kernels, until the last MP bootstrap
bug is understood and fixed.
|
|
and use function pointers to invoke them (if they can't be choosen at
compile-time depending upon the kernel configuration).
The routines now get the new pte value as an extra argument; they don't use
it yet, but code I am working on will soon on 88110.
|
|
|
|
performed much earlier in the processor startup.
No visible change, paves the way for the much important diff three commits
from here.
|
|
discussed with jsing and millert
|
|
ok miod
|
|
vge(4)
discussed at length with jsg
|
|
after the bus_{addr,size}_t type definition change.
|
|
genassym script, instead of relying upon <sys/disklabel.h> to provide them
as proper .set statements if _LOCORE is defined.
Requested by weingart@ long ago; ok jsing@ krw@
|
|
compile.
|
|
which stops the MI com code from probing it as a 16550a.
hopefully this will prevent the awesome faults on the mainboard from
locking the system up.
ok kettenis@
|
|
uint64_t, depending upon the platform; this makes the declaration of these
types consistent accross all our supported platform, and we do not intend
to support a platform where bus_addr_t could be larger than the size of the
cpu register. Requested by deraadt@ during s2k11
|
|
deraadt@ and jsing@ noticed hppa64 label_t was too short; amazing this did not
get noticed earlier.
|
|
maintaining our own free lists. No functional change.
|
|
- only handle a machine check as caused by badaddr() if the local `memtest'
variable is nonzero, instead of abusing `cold'. And be sure to clear
`memtest' upon returning from badaddr, of course.
- do not write to the MCESR register on microVAX II and SOC processors, as
this register is not implemented on those models.
- get rid of the `write the SBIFS and EHSR registers depending upon the
cpu model' chunk, since these only matter on true 11/780 and 86x0 models,
support for which has been removed recently.
|
|
detected upon failure to transmit if it is indeed lost), so that `ifconfig ze0'
reports the correct state of the link instead of always pretending it is up.
|
|
for talking to the disk driver snuck in.
ok mlarkin
|
|
|
|
|
|
its parent, because they know better; so don't bother providing one, which
allows more unused code to go to the Attic.
While there, redo the config machinery for mainbus child devices, to bring
it to our current standards. This also allows them to be disabled in UKC,
should there be a need for this in the future.
|
|
ok ariane@
|
|
ok miod@
|
|
so that important differences can be spotted easier.
|
|
|
|
Add a diagnostic for interrupt handler IPL levels.
|
|
files is ridiculous. Remove it.
|
|
|
|
ok kettenis@
|
|
response to some i386 ramdiskA bloat that has struck unexpectedly.
|
|
|
|
|
|
|
|
|
|
MI/MD parts. This also introduces a chunk placement routine that was
originally developed at c2k11 with help from drahn and ariane.
There are still a few more things to do for hibernate, but those can be
worked on in-tree. This code is disabled by default, and not yet called.
ok deraadt@ (and deraadt@ said kettenis@ also ok'ed it :) )
|
|
no longer an option.
|
|
keep:
- remove bootconfig parameter passing feature (unused).
- unifdef __PROG32 and remove all remains of arm26 code.
- remove ARMFPE support (unused).
- remove support for ARM2, ARM2AS, ARM3, ARM6, ARM7, ARM7TDMI and StrongARM
processor families, and the related silicon bug workarounds (especially
the SA-110 STM^ bug).
- remove cpu_functions no longer necessary after previous removals.
- remove ARM32_DISABLE_ALIGNMENT_FAULTS option (unused).
- make FIQ support conditional on option FIQ (unused, but may be eventually).
Discussed with drahn@ and jasper@ long ago, I was sitting on this commit for
no good reason.
|
|
|
|
|
|
for this machine is good'ol'GPX.
|
|
from tree. ok oga@
|
|
three, since this has to match libc/arch/hppa64/SYS.h.
ok miod@
|