summaryrefslogtreecommitdiffstats
path: root/sys/mips/alchemy
Commit message (Collapse)AuthorAgeFilesLines
* Remove NULL checks after M_WAITOK allocations from sys/mips/.trasz2016-05-111-4/+0
| | | | | | | Reviewed by: adrian@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6301
* mips: for pointers replace 0 with NULL.pfg2016-04-151-1/+1
| | | | | | | | These are mostly cosmetical, no functional change. Found with devel/coccinelle. Reviewed by: adrian
* Introduce a RMAN_IS_DEFAULT_RANGE() macro, and use it.jhibbits2016-02-201-1/+1
| | | | | | | | | | | This simplifies checking for default resource range for bus_alloc_resource(), and improves readability. This is part of, and related to, the migration of rman_res_t from u_long to uintmax_t. Discussed with: jhb Suggested by: marcel
* Convert rman to use rman_res_t instead of u_longjhibbits2016-01-271-3/+3
| | | | | | | | | | | | | | | | | | | | Summary: Migrate to using the semi-opaque type rman_res_t to specify rman resources. For now, this is still compatible with u_long. This is step one in migrating rman to use uintmax_t for resources instead of u_long. Going forward, this could feasibly be used to specify architecture-specific definitions of resource ranges, rather than baking a specific integer type into the API. This change has been broken out to facilitate MFC'ing drivers back to 10 without breaking ABI. Reviewed By: jhb Sponsored by: Alex Perez/Inertial Computing Differential Revision: https://reviews.freebsd.org/D5075
* Fix a typo introduced in r257338.markj2013-10-311-1/+1
|
* Devices that rely on hints or identify routines for discovery need tonwhitehorn2013-10-291-1/+1
| | | | | | | return BUS_PROBE_NOWILDCARD from their probe routines to avoid claiming wildcard devices on their parent bus. Do a sweep through the MIPS tree. MFC after: 2 weeks
* Merge from vmobj-rwlock branch:attilio2013-02-261-1/+0
| | | | | | | | Remove unused inclusion of vm/vm_pager.h and vm/vnode_pager.h. Sponsored by: EMC / Isilon storage division Tested by: pho Reviewed by: alc
* o) Use ABI, not ISA_* options, to determine whether to compile bits if libkernjmallett2012-03-121-1/+0
| | | | | | | required for the ABI the kernel is being built for. XXX This is implemented in a kind-of nasty way that involves including source files, but it's still an improvement. o) Retire ISA_* options since they're unused and were always wrong.
* Remove platform APIs which are not used by any code and which had only stubjmallett2012-03-121-25/+0
| | | | | | | | | implementations or no implementation on all platforms. Some of these functions might be good ideas, but their semantics were unclear given the lack of implementation, and an unlucky porter could be fooled into trying to implement them or, worse, being baffled when something like platform_trap_enter() failed to be called.
* - dump_avail layout should be sequence of [start, end)gonzo2010-12-091-1/+1
| | | | | | pairs, not <start, size>. Spotted by: alc@
* - Populate dump_avail with proper values from phys_availgonzo2010-12-091-0/+3
|
* Remove the 'machine mips' from DEFAULTS. Put the proper 'machine mipsimp2010-11-131-0/+1
| | | | | | mipsel' or 'machine mips mipseb' into the config file (with a few 64's tossed in for good measure). This will let us build the proper kernels with different worlds as part of make universe.
* bus_add_child: change type of order parameter to u_intavg2010-09-101-2/+2
| | | | | | | | | | This reflects actual type used to store and compare child device orders. Change is mostly done via a Coccinelle (soon to be devel/coccinelle) semantic patch. Verified by LINT+modules kernel builds. Followup to: r212213 MFC after: 10 days
* Hack to make ALCHEMY compile again...imp2010-02-181-3/+38
|
* - Call post-boot fixup function in order to get proper staticgonzo2010-01-251-2/+4
| | | | | | | symbols resolving in DDB - When zeroing .bss/.sbss do not round end address to page boundary, it's not neccessary and might destroy data pased by trampoline or boot loader
* Update from old DDB convetion to initialize debugger to new KDB way.imp2010-01-231-1/+4
| | | | | Always call kdb_init(). If we have KDB enabled, then provide a handy place to break to the debugger.
* Rename mips_pcpu_init to mips_pcpu0_init since it applies only to theimp2010-01-091-1/+1
| | | | BSP. Provide a missing prototype.
* Centralize initialization of pcpu, and set curthread early...imp2010-01-081-0/+3
|
* With this commit our friend RMI will now compile. I haverrs2009-10-302-0/+7
| | | | | | not tested it and the chances of it running yet are about ZERO.. but it will now compile. The hard part now begins, making it run ;-)
* Does 4 things:rrs2009-10-151-0/+1
| | | | | | | | | | | 1) Adds future RMI directories 2) Places intr_machdep.c in specfic files.arch pointing to the generic intr_machdep.c. This allows us to have an architecture dependant intr_machdep.c (which we will need for RMI) in the machine specific directory 3) removes intr_machdep.c from files.mips 4) Adds some TARGET_XLR_XLS ifdef's for the machine specific intra_machdep.h. We may need to look at finding a better place to put this. But first I want to get this thing compiling.
* - Make mips_bus_space_generic be of type bus_space_tag_t instead ofgonzo2009-04-192-3/+3
| | | | struct bus_space and update all relevant places.
* Use FreeBSD/arm approach for handling bus space access: space tag is a pointergonzo2009-04-152-3/+3
| | | | | | | to bus_space structure that defines access methods and hence every bus can define own accessors. Default space is mips_bus_space_generic. It's a simple interface to physical memory, values are read with regard to host system byte order.
* - Revert changes accidentally killed by merge operationgonzo2009-04-147-0/+1212
OpenPOWER on IntegriCloud