aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/mem
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* sys/modules: normalize .CURDIR-relative paths to SRCTOPEnji Cooper2017-03-041-4/+4
| | | | | | | | | | | This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314651
* Merge i386 and amd64 mtrr drivers.Konstantin Belousov2017-02-171-2/+5
| | | | | | | | | | Reviewed by: royger, jhb Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D9648 Notes: svn path=/head/; revision=313898
* Disconnect sun4v architecture from the three.Attilio Rao2011-05-141-14/+0
| | | | | | | | | | | | Some files keep the SUN4V tags as a code reference, for the future, if any rewamped sun4v support wants to be added again. Reviewed by: marius Tested by: sbruno Approved by: re Notes: svn path=/head/; revision=221869
* Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set().Jung-uk Kim2011-01-171-4/+1
| | | | | | | | | | | | Compile sys/dev/mem/memutil.c for all supported platforms and remove now unnecessary dev_mem_md_init(). Consistently define mem_range_softc from mem.c for all platforms. Add missing #include guards for machine/memdev.h and sys/memrange.h. Clean up some nearby style(9) nits. MFC after: 1 month Notes: svn path=/head/; revision=217515
* Unbreak build.Antoine Brodin2010-10-031-1/+1
| | | | Notes: svn path=/head/; revision=213388
* Add a memory-range interface to /dev/mem on PowerPC using PAT attributes.Nathan Whitehorn2010-10-031-1/+1
| | | | | | | | | | | | Unlike actual MTRR, this only controls the mapping attributes for subsequent mmap() of /dev/mem. Nonetheless, the support is sufficiently MTRR-like that Xorg can use it, which translates into an enormous increase in graphics performance on PowerPC. MFC after: 2 weeks Notes: svn path=/head/; revision=213383
* MFtbemd:Warner Losh2010-08-231-4/+4
| | | | | | | | | | | | Use MACHINE_CPUARCH in preference to MACHINE_ARCH. The former is the source code location of the machine, the latter the binary output. In general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless we're tesitng for a specific target. The isn't even moot for i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86, although a specific cleanup for that likely would be needed... Notes: svn path=/head/; revision=211690
* Prefer the opt_global.h from KERNBUILDDIR if existent so we obtain allMarius Strobl2008-07-241-0/+5
| | | | | | | macros that might be relevant. Notes: svn path=/head/; revision=180781
* For sun4v ensure there is an opt_global.h with SUN4V defined included,Marius Strobl2008-07-221-0/+9
| | | | | | | even for the stand-alone build. Notes: svn path=/head/; revision=180686
* Add a .PATH entry to search for sources in the ${MACHINE}/${MACHINE}John Birrell2006-10-161-0/+1
| | | | | | | | | | | | | directory before the ${MACHINE_ARCH}/${MACHINE_ARCH} directory so that machine-specific files take precedence of architecture-specific ones. This fixes the build on sun4v which doesn't use the sparc64 version of mem.c. Tested by: make universe Notes: svn path=/head/; revision=163444
* No need to generate vnode_if.h anymoreWarner Losh2004-12-291-1/+1
| | | | Notes: svn path=/head/; revision=139398
* Add the memrange bits to the loadable module.Mark Murray2004-09-281-0/+6
| | | | | | | MT5 after: 3 days Notes: svn path=/head/; revision=135870
* Fix module builds for i386 and amd64.Mark Murray2004-08-041-0/+3
| | | | Notes: svn path=/head/; revision=133129
* Break out the MI part of the /dev/[k]mem and /dev/io drivers intoMark Murray2004-08-011-0/+10
their own directory and module, leaving the MD parts in the MD area (the MD parts _are_ part of the modules). /dev/mem and /dev/io are now loadable modules, thus taking us one step further towards a kernel created entirely out of modules. Of course, there is nothing preventing the kernel from having these statically compiled. Notes: svn path=/head/; revision=132956