macallan
97f2a49be5
add memory controller registers
2015-03-07 15:36:16 +00:00
macallan
cc7c5632da
fix uart parameters, now speed setting actually works
2015-03-07 15:35:33 +00:00
macallan
8ec6531309
on o32 kernels with MIPS3 use mips3_sd() and mips3_ld() in *read*_8()
...
and *write*_8() methods
needed by sgimips, some O2 registers can only be properly written in
64bit chunks
2015-02-27 14:44:16 +00:00
macallan
2bded62014
do as others do and mmap() DMA buffers uncached if we get
...
BUS_DMA_PREFETCHABLE passed in flags
2015-02-17 09:58:33 +00:00
macallan
3ee6b07ade
mmap() DMA buffers uncached if we know how.
...
From sgimips, needed for X on O2.
2015-02-16 14:10:00 +00:00
skrll
cb047b90b6
Deal with 64-bit fallout from previous.
2015-02-13 17:19:23 +00:00
macallan
6b5804d6c0
fix previous for LP64
2015-02-13 14:11:12 +00:00
macallan
c580902417
in unmap():
...
- fix pasto in debug output
- shut up a set-but-not-used warning
2015-02-12 13:29:15 +00:00
macallan
21afea1618
- add CHIP_WRONG_ENDIAN for things like PCI buses behind endianness
...
converting hardware that can't be turned off, like MACE PCI found in
the SGI O2
- when using CHIP_ACCESS_SIZE on a bus with CHIP_ALIGN_STRIDE > 0 make
sure we apply the stride when shifting data around
ok matt@ and my gdium still works
2015-02-08 15:22:33 +00:00
macallan
735afce6b0
restrict DMA buffers to the lower 256MB -> now dwc2 DMA works
2014-12-27 17:22:15 +00:00
macallan
5a85739cac
- use the same parameter block as the linux driver, only with DMA disabled
...
- reset the chip before handing it to dwc2/
now it actually detects some devices
2014-12-25 05:13:49 +00:00
macallan
27aeb3449c
un-gate yet another clock
2014-12-25 05:10:50 +00:00
macallan
9d431d0b9b
even more registers
2014-12-25 05:10:00 +00:00
macallan
fa629718a1
appease nick
2014-12-23 18:48:52 +00:00
macallan
a08011a1be
wake up the USB ports before attaching dwctwo
...
now it finds a root hub
2014-12-23 16:16:03 +00:00
macallan
10ba91a874
yet more registers
2014-12-23 16:15:05 +00:00
macallan
2346a64152
establish interrupt
...
do some PHY setup, now the hardware actually responds
2014-12-23 15:13:30 +00:00
macallan
2efe8d8430
establish interrupt
2014-12-23 15:12:23 +00:00
macallan
7ede87f785
use defflag-ed debug options
...
enable USB clocks before attaching dwctwo
2014-12-23 15:11:05 +00:00
macallan
28afb0c864
moar registers
2014-12-23 15:03:56 +00:00
macallan
071b59b0a8
config goop for apbus and dwc2/usb
2014-12-06 14:36:52 +00:00
macallan
4ccdfa77b1
dwc2 attachment, doesn't do much yet
2014-12-06 14:35:47 +00:00
macallan
2b89b9b534
peripheral bus, not really tested
2014-12-06 14:34:56 +00:00
macallan
c2b36bb0e2
moar registers!
2014-12-06 14:33:34 +00:00
macallan
39149f4bc3
sprinkle static
2014-12-06 14:33:18 +00:00
macallan
bc8fb6d4a3
fix _MTC0_V0_USERLOCAL for _LP64 as well
...
ok matt@
2014-11-25 05:28:26 +00:00
macallan
a36351c4b7
initial support for CI20 / Ingenic JZ4780
...
not much there yet, it loads, attaches a serial port and you can drop into
ddb
2014-11-22 15:17:01 +00:00
macallan
a85f210ee9
deal with Ingenic XBurst CPUs
2014-11-22 15:02:39 +00:00
christos
a0a6c85f4d
centralize the call unit / dialout macros
2014-11-15 19:20:01 +00:00
uebayasi
017bd8df74
LINKSCRIPT is set only once, so use = not +=.
2014-11-15 15:01:41 +00:00
uebayasi
634cfde5a0
Use LINKSCRIPT.
2014-11-15 12:20:06 +00:00
snj
f0a7346d21
src is too big these days to tolerate superfluous apostrophes. It's
...
"its", people!
2014-10-18 08:33:23 +00:00
joerg
7dc902cf7b
Normal spelling is .asciz, so use that on MIPS too.
2014-09-17 16:49:20 +00:00
matt
82a12988ef
Include <sys/common_int_types.h> if __UINTPTR_TYPE__ is defined.
2014-08-13 22:56:56 +00:00
matt
0b2cac531b
Include <sys/common_int_const.h> if __INTMAX_C_SUFFIX__ is defined.
2014-08-13 22:51:58 +00:00
matt
7c5094c243
Include <sys/common_init_limits.h> if __SIG_ATOMIC_MAX__ is defined.
2014-08-13 22:31:06 +00:00
matt
2534797f07
include <sys/common_int_mwgwtypes.h> if __UINT_FAST64_TYPE__ is defined.
2014-08-13 22:25:39 +00:00
matt
efe99ca41d
include <sys/common_int_fmtio.h> if __INTPTR_FMTd__ is defined
2014-08-13 19:48:17 +00:00
tls
ea6af427bd
Merge tls-earlyentropy branch into HEAD.
2014-08-10 16:44:32 +00:00
dholland
f9228f4225
Add d_discard to all struct cdevsw instances I could find.
...
All have been set to "nodiscard"; some should get a real implementation.
2014-07-25 08:10:31 +00:00
alnsn
582402eab5
Rename sljitarch.h to sljit_machdep.h.
2014-07-23 18:19:43 +00:00
alnsn
196ff48bae
Define SLJIT_CACHE_FLUSH() for mips.
2014-07-22 19:54:55 +00:00
martin
86b32edaf5
Restore file for playstation2 accidently overlooked in the big revitilazation
2014-07-02 13:33:22 +00:00
skrll
cc7dc561ab
Remove unused variables
2014-06-28 10:25:32 +00:00
skrll
70a57c80dc
#ifdef a variable like its usage.
2014-06-28 10:25:16 +00:00
msaitoh
b211437b51
IFM_FDX and IFM_HDX use different bit, so set IFM_HDX bit if it's not full
...
duplex. For many drivers, it recognize half duplex if IFM_FDX isn't set,
but not for others. Same as {Free|Open}BSD.
2014-06-16 16:48:16 +00:00
mrg
d316f09705
apply __diagused.
2014-06-02 04:57:02 +00:00
joerg
123b42ea74
Drop undocumented and redundant 0 argument to .ent.
2014-05-30 11:46:48 +00:00
skrll
4f6a923c1a
Comment out nfrac as it's unused.
2014-05-29 14:41:26 +00:00
skrll
c9b732994b
Remove unused file.
2014-05-28 12:06:24 +00:00