summaryrefslogtreecommitdiffstats
path: root/etc/services
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-04-29 09:50:03 +0000
committermarcel <marcel@FreeBSD.org>2003-04-29 09:50:03 +0000
commit397de08118ab5679a64fcf145e932c07c94c2e1e (patch)
treea0eaeddac4ea925787e6789ab651046f10c9bd10 /etc/services
parent050a9aad942e91481033f2d67c50d3fd608596c2 (diff)
downloadFreeBSD-src-397de08118ab5679a64fcf145e932c07c94c2e1e.zip
FreeBSD-src-397de08118ab5679a64fcf145e932c07c94c2e1e.tar.gz
Revamp the newbus functions:
o do not use the in* and out* functions. These functions are used by legacy drivers and thus must have ia32 compatible behaviour. Hence, they need to have fences. Using these functions for newbus would then pessimize performance. o remove the conditional compilation of PIO and/or MEMIO support. It's a PITA without having any significant benefit. We always support them both. Since there are no I/O ports on ia64 (they are simulated by the chipset by translating memory mapped I/O to predefined uncacheable memory regions) the only difference between PIO and MEMIO is in the address calculation. There should be enough ILP that can be exploited here that making these computations compile-time conditional is not worth it. We now also don't use the read* and write* functions. o Add the missing *_8 variants. They were missing, although not missed. It's for completeness. o Do not add the fences that were present in the low-level support functions here. We're using uncacheable memory, which means that accesses are in program order. Change the barrier implementation to not only do a memory fence, but also an acceptance fence. This should more reliably synchronize drivers with the hardware. The memory fence enforces ordering, but does not imply visibility (ie the access does not necessarily have happened). This is what the acceptance deals with. cpufunc.h cleanup: o Remove the low-level memory mapped I/O support functions. They are not used. Keep the low-level I/O port access functions for legacy drivers and add fences to ensure ia32 compatibility. o Remove the syscons specific functions now that we have moved the proper definitions where they belong. o Replace the ia64_port_address() and ia64_memory_address() functions with macros. There's a bigger change inline functions get inlined when there aren't function callsi and the calculations are simply enough to do it with macros. Replace the one reference to ia64_memory address in mp_machdep.c to use the macro.
Diffstat (limited to 'etc/services')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud