History log of /src/sys/arch/arm/at91/at91bus.c |
Revision | | Date | Author | Comments |
1.30 |
| 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.29 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.28 |
| 24-Apr-2021 |
thorpej | branches: 1.28.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.27 |
| 18-Apr-2020 |
skrll | branches: 1.27.4; PMAP_DEBUG has been deleted on arm
|
1.26 |
| 18-Apr-2020 |
skrll | Trailing whitespace
|
1.25 |
| 16-Jul-2019 |
skrll | branches: 1.25.8; Consistently use vaddr_t as initarm and friends return type.
Makes no difference to binaries except for aarch64 where it's required
|
1.24 |
| 16-Jul-2019 |
skrll | KNF
|
1.23 |
| 28-Oct-2018 |
skrll | Fix a commit
|
1.22 |
| 21-Sep-2018 |
skrll | Centralise defparam CONSADDR, CONSPEED, CONMODE and CONADDR into opt_console.h and adjust.
|
1.21 |
| 31-Jul-2018 |
skrll | Sprinkle #include "opt_arm_debug.h" where VERBOSE_INIT_ARM is used
|
1.20 |
| 15-Jul-2018 |
maxv | Retire ipkdb entirely. The option was removed from the config files yesterday.
ok kamil christos
|
1.19 |
| 22-Dec-2016 |
cherry | branches: 1.19.14; 1.19.16; switch all ports to use uvm_init.c:uvm_md_init()
uvm_setpagesize() is now subsumed within this funciton.
|
1.18 |
| 13-Sep-2014 |
matt | branches: 1.18.2; 1.18.4; Replace more vm_offset_t, vm_size_t with vaddr_t, vsize_t Use paddr_t for msgbufphys
|
1.17 |
| 18-Aug-2013 |
matt | <arm/locore.h> fallout (fixes some include ordering errors)
|
1.16 |
| 12-Nov-2012 |
skrll | branches: 1.16.2; C99 types
|
1.15 |
| 29-Oct-2012 |
chs | add missing arg to cpu_setttb().
|
1.14 |
| 01-Sep-2012 |
matt | branches: 1.14.2; Move things around for <arm/arm32/machdep.h>
|
1.13 |
| 30-Jul-2012 |
matt | More -fno-common fixes
|
1.12 |
| 04-Nov-2011 |
aymeric | add preliminary support for AT91SAM9260
|
1.11 |
| 01-Jul-2011 |
dyoung | branches: 1.11.2; #include <sys/bus.h> instead of <machine/bus.h>.
|
1.10 |
| 26-Dec-2009 |
uebayasi | Use cpu_* prefix to call cpu_* functions (setttb() -> cpu_setttb()); no functional changes.
|
1.9 |
| 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.8 |
| 26-Nov-2009 |
matt | Kill proc0paddr. Use lwp0.l_addr instead.
|
1.7 |
| 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
1.6 |
| 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.5 |
| 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
1.4 |
| 30-Nov-2008 |
martin | branches: 1.4.4; 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.3 |
| 12-Nov-2008 |
ad | Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
|
1.2 |
| 03-Jul-2008 |
matt | branches: 1.2.2; 1.2.4; 1.2.6; Add AT91 support. (XXX need to finish timecounter support).
|
1.1 |
| 10-Nov-2007 |
matt | branches: 1.1.2; 1.1.16; 1.1.20; 1.1.22; file at91bus.c was initially added on branch matt-nb4-arm.
|
1.1.22.1 |
| 03-Jul-2008 |
simonb | Sync with head.
|
1.1.20.3 |
| 11-Mar-2010 |
yamt | sync with head
|
1.1.20.2 |
| 19-Aug-2009 |
yamt | sync with head.
|
1.1.20.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.1.16.2 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.1.16.1 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.1.2.1 |
| 10-Nov-2007 |
matt | Add AT91 support from Sami Kantoluoto Add TI OMAP2430 support from Marty Fouts @ Danger Inc
|
1.2.6.2 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.2.6.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.2.4.2 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.2.4.1 |
| 03-Jul-2008 |
wrstuden | file at91bus.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
1.2.2.1 |
| 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
1.4.4.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.11.2.4 |
| 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.11.2.3 |
| 16-Jan-2013 |
yamt | sync with (a bit old) head
|
1.11.2.2 |
| 30-Oct-2012 |
yamt | sync with head
|
1.11.2.1 |
| 10-Nov-2011 |
yamt | sync with head
|
1.14.2.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.14.2.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.14.2.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.16.2.1 |
| 28-Aug-2013 |
rmind | sync with head
|
1.18.4.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.18.2.1 |
| 05-Feb-2017 |
skrll | Sync with HEAD
|
1.19.16.3 |
| 21-Apr-2020 |
martin | Sync with HEAD
|
1.19.16.2 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.19.16.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.19.14.4 |
| 26-Nov-2018 |
pgoyette | Sync with HEAD, resolve a couple of conflicts
|
1.19.14.3 |
| 30-Sep-2018 |
pgoyette | Ssync with HEAD
|
1.19.14.2 |
| 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|
1.19.14.1 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|
1.25.8.1 |
| 20-Apr-2020 |
bouyer | Sync with HEAD
|
1.27.4.8 |
| 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.27.4.7 |
| 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.27.4.6 |
| 04-Apr-2021 |
thorpej | CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
|
1.27.4.5 |
| 03-Apr-2021 |
thorpej | Give config_attach() the tagged variadic argument treatment and mechanically convert all call sites.
|
1.27.4.4 |
| 22-Mar-2021 |
thorpej | Audit CFARG_IATTR in config_found() calls, and remove it in situations where the interface attribute is not ambiguous.
|
1.27.4.3 |
| 22-Mar-2021 |
thorpej | Mechanical conversion of config_found_sm_loc() -> config_found(). CFARG_IATTR usage needs to be audited.
|
1.27.4.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.27.4.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.28.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|