| History log of /src/sys/arch/evbarm/adi_brh |
| Revision | Date | Author | Comments |
| 1.5 | 27-Oct-2012 |
chs | split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
| 1.4 | 01-Jul-2011 |
dyoung | branches: 1.4.2; 1.4.12; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.3 | 11-Dec-2005 |
christos | merge ktrace-lwp.
|
| 1.2 | 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
| 1.1 | 25-Jan-2003 |
thorpej | branches: 1.1.2; Add support for ADI Engineering's "Big Red Head" i80200 evaluation and development board, based around their BECC companion chip. Despite its name, the board can run in big- or little-endian mode (we currently run only in the latter).
|
| 1.1.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.1.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.1.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.4.12.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.4.2.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.6 | 12-Nov-2012 |
skrll | C99 types
|
| 1.5 | 01-Jul-2011 |
dyoung | branches: 1.5.2; 1.5.12; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.4 | 24-Dec-2005 |
perry | Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
|
| 1.3 | 11-Dec-2005 |
christos | merge ktrace-lwp.
|
| 1.2 | 15-Jul-2003 |
lukem | branches: 1.2.16; __KERNEL_RCSID()
|
| 1.1 | 25-Jan-2003 |
thorpej | branches: 1.1.2; Add support for ADI Engineering's "Big Red Head" i80200 evaluation and development board, based around their BECC companion chip. Despite its name, the board can run in big- or little-endian mode (we currently run only in the latter).
|
| 1.1.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.1.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.1.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.2.16.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.5.12.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.5.2.1 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.56 | 20-Feb-2024 |
andvar | Fix format specifier for physmem from %d to 0x%"PRIxPSIZE" in multiple places.
Should fix VERBOSE_INIT_ARM for various evbarm kernel configs. Also add 0x prefix in few previously fixed places to improve readability.
|
| 1.55 | 26-Dec-2023 |
andvar | Replace %ld/%lx format specifiers with PRIx{SIZE,ADDR} for better portability.
From Nick Hudson.
|
| 1.54 | 23-Dec-2023 |
andvar | Fix physmem printf format specifier %d->%ld.
Fixes VERBOSE_INIT_ARM enabled build for ADI_BRH kernel config.
|
| 1.53 | 12-Oct-2023 |
skrll | Fix non-DIAGNOSTIC builds
|
| 1.52 | 20-Apr-2023 |
skrll | Provide a shared pmap_devmap implementation and convert all pmap_devmap arrays to use DEVMAP_ENTRY{,_END}
|
| 1.51 | 17-Aug-2021 |
andvar | branches: 1.51.4; fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected.
|
| 1.50 | 18-Apr-2020 |
skrll | PMAP_DEBUG has been deleted on arm
|
| 1.49 | 18-Apr-2020 |
skrll | Trailing whitespace
|
| 1.48 | 16-Jul-2019 |
skrll | branches: 1.48.8; Consistently use vaddr_t as initarm and friends return type.
Makes no difference to binaries except for aarch64 where it's required
|
| 1.47 | 28-Oct-2018 |
skrll | Fix a commit
|
| 1.46 | 21-Sep-2018 |
skrll | Centralise defparam CONSADDR, CONSPEED, CONMODE and CONADDR into opt_console.h and adjust.
|
| 1.45 | 31-Jul-2018 |
skrll | Sprinkle #include "opt_arm_debug.h" where VERBOSE_INIT_ARM is used
|
| 1.44 | 22-Dec-2016 |
cherry | branches: 1.44.14; 1.44.16; switch all ports to use uvm_init.c:uvm_md_init()
uvm_setpagesize() is now subsumed within this funciton.
|
| 1.43 | 13-Sep-2014 |
matt | branches: 1.43.2; 1.43.4; Replace more vm_offset_t, vm_size_t with vaddr_t, vsize_t Use paddr_t for msgbufphys
|
| 1.42 | 18-Aug-2013 |
matt | <arm/locore.h> fallout (fixes some include ordering errors)
|
| 1.41 | 22-Sep-2012 |
matt | branches: 1.41.2; Don't use an asm in pmap_activate to update the TTBR, use cpu_setttb instead but add a second argument to it to indicate whether the TLB/caches need to be flushed. Default cortex to pmap_needs_fixup = 1. But check the MMFR3 field to see if the fixed can be skipped. Use a cf_flag bit 0 to indicate whether the A9 L2 cache should disable (bit 0 = 1) or enabeld (bit = 0).
With these changes, the A9 MMU can use traverse caches to do MMU tablewalks Also, make sure all memory has the shareable bit for the A9.
|
| 1.40 | 16-Aug-2012 |
matt | branches: 1.40.2; Move the standard definitions of the {UND,IRQ,FIQ,ABT}_STACK_SIZE to <arm32/machdep.h> Move the extern for cpu_reset_address to the same file. Add cpu_reset_address_paddr. Kill cpu_reset_v4_MMU_disable. if cpu_reset_address is NULL, then the MMU will be disabled.
|
| 1.39 | 29-Jul-2012 |
matt | Fix more -fno-common fallout. Move more variables to common locations.
|
| 1.38 | 01-Jul-2011 |
dyoung | branches: 1.38.2; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.37 | 30-Jun-2011 |
wiz | dependant -> dependent
|
| 1.36 | 26-Dec-2009 |
uebayasi | Use cpu_* prefix to call cpu_* functions (setttb() -> cpu_setttb()); no functional changes.
|
| 1.35 | 26-Dec-2009 |
uebayasi | Garbage collect an unused global, vm_offset_t pagetables_start.
|
| 1.34 | 27-Nov-2009 |
rmind | - Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr. - Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb(). - Amend assembly in ports where it accesses PCB via struct user. - Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
|
| 1.33 | 26-Nov-2009 |
matt | Kill proc0paddr. Use lwp0.l_addr instead.
|
| 1.32 | 11-Aug-2009 |
matt | Remove all declarations of physmem from sys/arch. Add an include of <sys/systm.h> to the one file that did not already contain it. This now means that physmem can be changed by updating systm.h and uvm_page.c (excluding fixing printfs)
|
| 1.31 | 30-Nov-2008 |
martin | As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap phases, so move the initialization of the ksyms mutex back into main via a function called ksyms_init. Rename the existing (but quite different) ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit() and adapt machdep code accordingly.
|
| 1.30 | 12-Nov-2008 |
ad | Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
|
| 1.29 | 11-Nov-2008 |
dyoung | It is not appropriate to call pmf_system_shutdown(9) from doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9) expect to be called with interrupts disabled, but shutdown hooks registered with pmf_device_register1(9) expect to be called with interrupts enabled. So I have made two changes:
1 Do not call pmf_system_shutdown() from doshutdownhooks(). Instead, change every call to doshutdownhooks() to a call to doshutdownhooks() followed by a call to pmf_system_shutdown(). No functional change is intended by this change.
2 Make i386 re-enable interrupts briefly while it calls pmf_system_shutdown(). I leave it to others either to fix the other ports, or to factor out some MI shutdown code, as joerg@ suggests, and fix that. Note that a functional change *is* intended by this change.
I hope that this patch will stop us from flip-flopping between calling doshutdownhooks() and pmf_system_shutdown() sometimes with and sometimes without interrupts enabled.
|
| 1.28 | 27-Apr-2008 |
matt | branches: 1.28.6; 1.28.8; Merge kernel changes in matt-armv6 to HEAD.
|
| 1.27 | 19-Jan-2008 |
chris | branches: 1.27.6; 1.27.8; 1.27.10; Remove arm support for IPKDB.
It hasn't worked since arm was broken out from arm32 in Jan 2001, and no-one has noticed or cared to fix it.
|
| 1.26 | 24-Nov-2006 |
wiz | branches: 1.26.24; 1.26.28; 1.26.34; 1.26.42; s/independant/independent/, from Zafer.
|
| 1.25 | 16-May-2006 |
mrg | branches: 1.25.8; 1.25.10; redo the previous. GCC4 wants both pv_pa and pv_va initialised.
|
| 1.24 | 16-May-2006 |
mrg | move the initialiser for kernel_l1pt.pv_va to pacify GCC4.
|
| 1.23 | 24-Dec-2005 |
perry | branches: 1.23.4; 1.23.6; 1.23.8; 1.23.12; Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
|
| 1.22 | 11-Dec-2005 |
christos | merge ktrace-lwp.
|
| 1.21 | 12-Dec-2004 |
abs | branches: 1.21.10; Fix comments regarding configration bounaries
|
| 1.20 | 12-Dec-2004 |
abs | Fix comments slighly
|
| 1.19 | 13-Feb-2004 |
wiz | Uppercase CPU, plural is CPUs.
|
| 1.18 | 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
| 1.17 | 15-Jun-2003 |
thorpej | branches: 1.17.2; Use the new pmap_devmap facility in the on-board device mapping code.
|
| 1.16 | 15-Jun-2003 |
thorpej | Replace the ad-hoc "section mapping table" for static device mappings with a more generic "devmap" structure that can also handle mappings made with large and small pages. Add new pmap routines to enter these mappings during bootstrap (and "remember" the devmap), and routines to look up the static mappings once the kernel is running.
|
| 1.15 | 14-Jun-2003 |
thorpej | Also pass a type argument to comcnattach() and com_kgdb_attach(). comspeed() (and thus cominit()) may need this information.
|
| 1.14 | 22-May-2003 |
thorpej | Move KERNEL_VM_SIZE into the C files where its used.
|
| 1.13 | 21-May-2003 |
thorpej | Move KERNEL_VM_BASE inside where it is used (it won't be there for long).
|
| 1.12 | 21-May-2003 |
briggs | Make sure we call becc_calibrate_delay() _after_ becc_vaddr is set up. It happens to work otherwise when RedBoot leaves the timer running for us.
|
| 1.11 | 17-May-2003 |
thorpej | Decrease the verbosity level unless VERBOSE_INIT_ARM is defiend.
|
| 1.10 | 03-May-2003 |
thorpej | Don't expose KERNEL_TEXT_BASE outside of board-specific code. This gives individual board start-up code more flexibility about where the kernel starts in the kernel address space.
|
| 1.9 | 03-May-2003 |
thorpej | Reduce differences between ARM32_NEW_VM_LAYOUT and not; always pass the start and end of the kernel managed virtual address space to pmap_bootstrap() in the new pmap.
|
| 1.8 | 03-May-2003 |
thorpej | Remove old pmap support for platforms which have fully switched over.
|
| 1.7 | 02-May-2003 |
thorpej | Eliminate PTE_BASE and the PT-PT completely in the ARM32_PMAP_NEW case. Also in the ARM32_PMAP_NEW case, reclaim the USPACE-bytes of wasted space at the top of the user address that hasn't been needed for a very very long time.
|
| 1.6 | 26-Apr-2003 |
ragge | Call ksyms_init() instead of ddb_init() in case of NKSYMS || defined(DDB) || defined(LKM)
|
| 1.5 | 22-Apr-2003 |
thorpej | Use high vectors on the BRH.
|
| 1.4 | 19-Apr-2003 |
thorpej | Adapt to ARM32_PMAP_NEW.
|
| 1.3 | 02-Apr-2003 |
thorpej | Use PAGE_SIZE rather than NBPG.
|
| 1.2 | 29-Jan-2003 |
briggs | Compile without DIAGNOSTIC.
|
| 1.1 | 25-Jan-2003 |
thorpej | Add support for ADI Engineering's "Big Red Head" i80200 evaluation and development board, based around their BECC companion chip. Despite its name, the board can run in big- or little-endian mode (we currently run only in the latter).
|
| 1.17.2.4 | 18-Dec-2004 |
skrll | Sync with HEAD.
|
| 1.17.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.17.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.17.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.21.10.3 | 21-Jan-2008 |
yamt | sync with head
|
| 1.21.10.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.21.10.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.23.12.1 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.23.8.1 | 24-May-2006 |
yamt | sync with head.
|
| 1.23.6.1 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.23.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.25.10.1 | 10-Dec-2006 |
yamt | sync with head.
|
| 1.25.8.1 | 12-Jan-2007 |
ad | Sync with head.
|
| 1.26.42.1 | 20-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.26.34.1 | 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.26.28.2 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.26.28.1 | 09-Nov-2007 |
matt | Make all the evbarm kernels build again. Fix lossage from rebase.
|
| 1.26.24.1 | 28-Feb-2008 |
rjs | Sync with HEAD.
|
| 1.27.10.4 | 11-Mar-2010 |
yamt | sync with head
|
| 1.27.10.3 | 19-Aug-2009 |
yamt | sync with head.
|
| 1.27.10.2 | 04-May-2009 |
yamt | sync with head.
|
| 1.27.10.1 | 16-May-2008 |
yamt | sync with head.
|
| 1.27.8.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.27.6.2 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.27.6.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.28.8.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.28.6.1 | 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
| 1.38.2.2 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.38.2.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.40.2.3 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.40.2.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.40.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.41.2.1 | 28-Aug-2013 |
rmind | sync with head
|
| 1.43.4.1 | 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
| 1.43.2.1 | 05-Feb-2017 |
skrll | Sync with HEAD
|
| 1.44.16.3 | 21-Apr-2020 |
martin | Sync with HEAD
|
| 1.44.16.2 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.44.16.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.44.14.3 | 26-Nov-2018 |
pgoyette | Sync with HEAD, resolve a couple of conflicts
|
| 1.44.14.2 | 30-Sep-2018 |
pgoyette | Ssync with HEAD
|
| 1.44.14.1 | 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|
| 1.48.8.1 | 20-Apr-2020 |
bouyer | Sync with HEAD
|
| 1.51.4.1 | 14-Oct-2023 |
martin | Pull up following revision(s) (requested by skrll in ticket #411):
sys/arch/evbarm/nslu2/nslu2_machdep.c: revision 1.41 sys/arch/evbarm/gumstix/gumstix_machdep.c: revision 1.75 sys/arch/evbarm/iq80321/iq80321_machdep.c: revision 1.66 sys/arch/iyonix/iyonix/iyonix_machdep.c: revision 1.34 sys/arch/zaurus/zaurus/machdep.c: revision 1.52 sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c: revision 1.41 sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c: revision 1.33 sys/arch/evbarm/iq80310/iq80310_machdep.c: revision 1.96 sys/arch/evbarm/adi_brh/brh_machdep.c: revision 1.53 sys/arch/arm/include/arm32/pmap.h: revision 1.177 sys/arch/evbarm/viper/viper_machdep.c: revision 1.34 sys/arch/evbarm/iyonix/iyonix_machdep.c: revision 1.5 sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c: revision 1.30 sys/arch/evbarm/hdl_g/hdlg_machdep.c: revision 1.35 sys/arch/arm/arm32/pmap.c: revision 1.440 sys/arch/evbarm/lubbock/lubbock_machdep.c: revision 1.45 sys/arch/evbarm/ixdp425/ixdp425_machdep.c: revision 1.47
Fix non-DIAGNOSTIC builds
|
| 1.3 | 13-Jan-2014 |
matt | Get rid on some useless pc addition. Use adr or ldr with pc relative addressing.
|
| 1.2 | 31-Jan-2011 |
matt | branches: 1.2.4; 1.2.14; 1.2.18; Add RCSID when needed. Don't include pmap.h or pte.h, include "assym.h" instead. Use assym.h provided values.
|
| 1.1 | 25-Jan-2003 |
thorpej | branches: 1.1.130; 1.1.136; 1.1.138; Add support for ADI Engineering's "Big Red Head" i80200 evaluation and development board, based around their BECC companion chip. Despite its name, the board can run in big- or little-endian mode (we currently run only in the latter).
|
| 1.1.138.1 | 08-Feb-2011 |
bouyer | Sync with HEAD
|
| 1.1.136.1 | 06-Jun-2011 |
jruoho | Sync with HEAD.
|
| 1.1.130.1 | 05-Mar-2011 |
rmind | sync with head
|
| 1.2.18.1 | 18-May-2014 |
rmind | sync with head
|
| 1.2.14.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.2.4.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.2 | 02-Aug-2021 |
andvar | fix various typos in comments and log messages.
|
| 1.1 | 25-Jan-2003 |
thorpej | Add support for ADI Engineering's "Big Red Head" i80200 evaluation and development board, based around their BECC companion chip. Despite its name, the board can run in big- or little-endian mode (we currently run only in the latter).
|
| 1.1 | 25-Jan-2003 |
thorpej | Add support for ADI Engineering's "Big Red Head" i80200 evaluation and development board, based around their BECC companion chip. Despite its name, the board can run in big- or little-endian mode (we currently run only in the latter).
|
| 1.8 | 08-Dec-2018 |
thorpej | Clean up initialization of com_regs structure, in preparation for some additional changers.
|
| 1.7 | 01-Jul-2011 |
dyoung | branches: 1.7.52; 1.7.54; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.6 | 28-Apr-2008 |
martin | Remove clause 3 and 4 from TNF licenses
|
| 1.5 | 14-Mar-2008 |
cube | branches: 1.5.2; 1.5.4; Split device_t and softc for all com(4) devices (well, everything that uses a com_softc backend). Use proper types and ansify where appropriate.
|
| 1.4 | 13-Jul-2006 |
gdamore | branches: 1.4.34; 1.4.54; 1.4.58; Add an option COM_REGMAP to allow com(4) to use an array of register indices. This allows us to convert aucom to just another com attachment, and cleanup some code in the com_arbus.c.
Additionally, we use a common com_cleanup routine rather than having a zillion copies of it in the attachment points.
This has been tested on a number architectures, and it has been shown to get close to comparable performance when COM_REGMAP is defined, and comparable when it is not defined.
Approved by core@. Fixes PR port-evbmips/32362.
|
| 1.3 | 11-Dec-2005 |
christos | branches: 1.3.4; 1.3.8; 1.3.16; merge ktrace-lwp.
|
| 1.2 | 15-Jul-2003 |
lukem | branches: 1.2.16; __KERNEL_RCSID()
|
| 1.1 | 25-Jan-2003 |
thorpej | branches: 1.1.2; Add support for ADI Engineering's "Big Red Head" i80200 evaluation and development board, based around their BECC companion chip. Despite its name, the board can run in big- or little-endian mode (we currently run only in the latter).
|
| 1.1.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.1.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.1.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.2.16.2 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.2.16.1 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.3.16.1 | 20-Jun-2006 |
gdamore | Add support for pretty much all ARM com(4) variants. There are a few ARM serial devices that are not com(4)-like enough to be supported under com(4).
|
| 1.3.8.1 | 11-Aug-2006 |
yamt | sync with head
|
| 1.3.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.4.58.2 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.4.58.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.4.54.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.4.34.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.5.4.1 | 16-May-2008 |
yamt | sync with head.
|
| 1.5.2.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.7.54.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.7.52.1 | 26-Dec-2018 |
pgoyette | Sync with HEAD, resolve a few conflicts
|
| 1.13 | 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
| 1.12 | 24-Apr-2021 |
thorpej | branches: 1.12.8; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
| 1.11 | 01-Jul-2011 |
dyoung | branches: 1.11.68; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.10 | 06-Jun-2011 |
matt | Some more device_t, cfdata_t, CFATTACH_DECL_NEW cleanup.
|
| 1.9 | 11-Dec-2005 |
christos | branches: 1.9.100; 1.9.110; merge ktrace-lwp.
|
| 1.8 | 26-Aug-2005 |
drochner | s/locdesc_t/int/g
|
| 1.7 | 30-Jun-2005 |
drochner | branches: 1.7.2; adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
|
| 1.6 | 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
| 1.5 | 16-Jun-2003 |
thorpej | branches: 1.5.2; Give every obio implementation a size and width locator.
|
| 1.4 | 15-Jun-2003 |
thorpej | Add an optional "width" locator to the obio bus, specifying the bus width of the device.
|
| 1.3 | 23-May-2003 |
briggs | Need aprint_naive() with aprint_normal() change. Thanks, Jason.
|
| 1.2 | 23-May-2003 |
briggs | printf -> aprint_normal
|
| 1.1 | 25-Jan-2003 |
thorpej | Add support for ADI Engineering's "Big Red Head" i80200 evaluation and development board, based around their BECC companion chip. Despite its name, the board can run in big- or little-endian mode (we currently run only in the latter).
|
| 1.5.2.4 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.5.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.5.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.5.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.7.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.9.110.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
| 1.9.100.1 | 12-Jun-2011 |
rmind | sync with head
|
| 1.11.68.6 | 05-Apr-2021 |
thorpej | Treat config_probe() as if it were a boolean function; don't compare return value > 0... except for the odd balls, which are now really easy to spot.
|
| 1.11.68.5 | 05-Apr-2021 |
thorpej | config_match() -> config_probe() for the straight-forward indirect config cases. There are still a few odd balls using config_match() which should be sorted out later.
|
| 1.11.68.4 | 04-Apr-2021 |
thorpej | CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
|
| 1.11.68.3 | 03-Apr-2021 |
thorpej | Give config_attach() the tagged variadic argument treatment and mechanically convert all call sites.
|
| 1.11.68.2 | 21-Mar-2021 |
thorpej | CFARG_IATTR usage audit:
If a device carries only one interface attribute, there is no need to specify it when calling config_search(); that specification is meant only to disambiguate which interface attribute (which is a proxy for "what kind of attach args are being used") is having children attached. cfparent_match() will take care of ensuring that any potential children can attach to one of the parent's iterface attributes, and if the parent only carries one, no disambiguation is necessary.
|
| 1.11.68.1 | 20-Mar-2021 |
thorpej | The proliferation if config_search_*() and config_found_*() combinations is a little absurd, so begin to tidy this up:
- Introduce a new cfarg_t enumerated type, that defines the types of tag-value variadic arguments that can be passed to the various config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS, for now, plus a CFARG_EOL sentinel). - Collapse config_search_*() into config_search() that takes these variadic arguments. - Convert all call sites of config_search_*() to the new signature. Noticed several incorrect usages along the way, which will be audited in a future commit.
|
| 1.12.8.1 | 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|
| 1.10 | 21-Apr-2023 |
skrll | Trailing whitespace.
|
| 1.9 | 16-Mar-2018 |
ryo | use designated initializer to make adaptability and flexibility for changing struct bus_space. no functional change.
|
| 1.8 | 22-Feb-2014 |
matt | branches: 1.8.28; Don't manipulate the pte to get uncached memory, use PMAP_NOCACHE instead. Convert footbring to kenter_pa/kremove
|
| 1.7 | 01-Jul-2011 |
dyoung | branches: 1.7.2; 1.7.12; 1.7.16; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.6 | 07-Nov-2009 |
cegger | Add a flags argument to pmap_kenter_pa(9). Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html No objections.
|
| 1.5 | 24-Nov-2005 |
yamt | branches: 1.5.78; bus_dmamem_map: honour BUS_DMA_NOWAIT. noted by Manuel Bouyer. bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.
we have too many copies!
|
| 1.4 | 01-Apr-2005 |
yamt | branches: 1.4.2; 1.4.8; merge yamt-km branch. - don't use managed mappings/backing objects for wired memory allocations. save some resources like pv_entry. also fix (most of) PR/27030. - simplify kernel memory management API. - simplify pmap bootstrap of some ports. - some related cleanups.
|
| 1.3 | 15-Jul-2003 |
lukem | branches: 1.3.8; 1.3.10; __KERNEL_RCSID()
|
| 1.2 | 15-Jun-2003 |
thorpej | branches: 1.2.2; Use the new pmap_devmap facility in the on-board device mapping code.
|
| 1.1 | 25-Jan-2003 |
thorpej | Add support for ADI Engineering's "Big Red Head" i80200 evaluation and development board, based around their BECC companion chip. Despite its name, the board can run in big- or little-endian mode (we currently run only in the latter).
|
| 1.2.2.5 | 11-Dec-2005 |
christos | Sync with head.
|
| 1.2.2.4 | 01-Apr-2005 |
skrll | Sync with HEAD.
|
| 1.2.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.2.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.2.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.3.10.1 | 13-Feb-2005 |
yamt | use new apis.
|
| 1.3.8.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.4.8.1 | 29-Nov-2005 |
yamt | sync with head.
|
| 1.4.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.5.78.1 | 11-Mar-2010 |
yamt | sync with head
|
| 1.7.16.1 | 18-May-2014 |
rmind | sync with head
|
| 1.7.12.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.7.2.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.8.28.1 | 22-Mar-2018 |
pgoyette | Synch with HEAD, resolve conflicts
|
| 1.3 | 16-Jun-2003 |
thorpej | Give every obio implementation a size and width locator.
|
| 1.2 | 15-Jun-2003 |
thorpej | Add an optional "width" locator to the obio bus, specifying the bus width of the device.
|
| 1.1 | 25-Jan-2003 |
thorpej | Add support for ADI Engineering's "Big Red Head" i80200 evaluation and development board, based around their BECC companion chip. Despite its name, the board can run in big- or little-endian mode (we currently run only in the latter).
|