Commit Graph

1517 Commits

Author SHA1 Message Date
simonb
31d051445b Make this 64-bit paddr_t friendly. 2003-10-29 23:52:22 +00:00
christos
dc307db22e add compat_16_machdep.c 2003-10-29 23:41:49 +00:00
simonb
0bf7a721e9 Add some more MTI CPU ids. 2003-10-29 23:41:10 +00:00
christos
61e4914300 first pass siginfo for mips 2003-10-29 23:40:42 +00:00
christos
8ca558e8ed first pass siginfo glue for mips 2003-10-29 23:39:45 +00:00
simonb
a5ace5a563 Add some more MIPS vendor IDs. 2003-10-29 23:39:16 +00:00
simonb
6836656005 Remove assigned-to but otherwise unused variables. 2003-10-27 02:58:31 +00:00
simonb
8338dcf797 More bogus uninitialised warnings. 2003-10-27 02:16:15 +00:00
simonb
eeb03b3e1b "Fix" bogus gcc3 uninitialised warning. 2003-10-27 01:17:59 +00:00
kleink
a3fabb9e7f Use <sys/ieee754.h> where applicable. 2003-10-26 20:55:30 +00:00
mycroft
b1915c81d6 Oops, in the fpe_trap case, actually leave it storing $a2 in the $a3 stack
slot.  This is a hack.
2003-10-25 22:10:34 +00:00
mycroft
cde8e7d93d Store $a1 (and $a2 in another case) in the correct stack slot. 2003-10-25 22:06:59 +00:00
mycroft
fd8bb946a3 Update for GCC3 (basically, use the __builtin_va_* implementation). 2003-10-25 18:14:48 +00:00
simonb
49a8cd4e3a Rename the "strtc" device to "m41t81rtc" so that it doesn't conflict with
the MI i2c "strtc" device.
XXX: This should use the MI "strtc" device - the M41T81 should be
     compatible enough with the M41ST84 currently supported by that
     driver.
2003-10-25 15:05:00 +00:00
simonb
e93422fa5f Remove "struct aubus_ohci_softc". As well as ohci_softc_t, it only had
a copy of the interrupt cookie which isn't used outside the attach.  We
has also bogusly only told the autoconfiguration machinery that our softc
was as big as a ohci_softc_t, not a struct aubus_ohci_softc.
Also, disestablish the interrupt if OHCI initialisation fails.
2003-10-23 04:58:32 +00:00
tsutsui
bf4d10546f vaddr_t is not pointer, so don't compare it against NULL.
(BTW, should we also fix "NULL" in following printf messages?)
2003-10-21 15:05:56 +00:00
simonb
513b330566 Tell the Alchemy Au1x00 on-chip ohci that we're in big-endian mode if
necessary.
2003-10-18 04:34:30 +00:00
simonb
136dd90b25 Remove unused ohci stub. 2003-10-18 04:31:37 +00:00
simonb
07c9a24e6a One defintion of OP_SYNC should be enough. 2003-10-15 06:46:46 +00:00
tsutsui
c74700fe65 It seems r4k_sdcache_wb_range_NN() function can't handle
R10000 L2 cache (which is 2-way set-associative write-back),
so use r4k_sdcache_wbinv_range_NN() for workaround until someone
implement proper r10k_sdcache_*() ops.

Problem reported by Christopher SEKIYA.
2003-10-11 09:09:15 +00:00
thorpej
901da40cf9 Add some accessor macros for the ucontext:
* _UC_MACHINE_PC() - access the program counter
* _UC_MACHINE_INTRV() - access the integer return value register
* _UC_MACHINE_SET_PC() - set the program counter (this requires
  special handling on some platforms).
2003-10-08 22:43:01 +00:00
tsutsui
61b40c3946 Update comment to follow the previous R4000 ID addtion. 2003-10-05 17:31:09 +00:00
tsutsui
779268c4cf Define ELF2ECOFF here for native build.
(BTW, objcopy with OMAGIC kernel won't work on old pmax and sgimips machines?)
2003-10-05 16:53:15 +00:00
tsutsui
d1a36ee086 Include opt_mips_cache.h for options MIPS3_L2CACHE_ABSENT and
MIPS3_NO_PV_UNCACHED.
2003-10-05 16:38:03 +00:00
tsutsui
800933ed42 No need to include opt_mips_cache.h here. 2003-10-05 16:34:51 +00:00
tsutsui
14658b124b Add R10000 cache ops, written by KIYOHARA Takashi and posted on port-sgimips.
Enabled by options ENABLE_MIPS4_CACHE_R10K for now.
2003-10-05 11:10:25 +00:00
simonb
457cdc6624 Quieten down lint a little with a /* LONGLONG */ comment. 2003-10-01 15:47:27 +00:00
tsutsui
e67b04670b Remove '#' from if/endif, otherwise it fails on elf64 environment.
From Christopher SEKIYA.
2003-09-29 14:34:44 +00:00
junyoung
4c47dc9339 Fix typo in comments. 2003-09-29 04:03:55 +00:00
tsutsui
6ca112843e - Add MIPS_KSEG2_TO_PHYS() and MIPS_PHYS_TO_KSEG2() macro.
- Add definitions of the MIPS4 config register.

From Christopher SEKIYA.
2003-09-28 08:43:29 +00:00
tsutsui
e7500ac4b0 Add another R4000 CPU revision ID. From Christopher SEKIYA. 2003-09-28 08:16:51 +00:00
nathanw
4d59420344 Move __cpu_simple_lock_t and __SIMPLELOCK_{UN,}LOCKED to machine/types.h
so that they can be used in a namespace-friendly way.
2003-09-26 22:45:41 +00:00
simonb
e5be45f167 Disable pass3 DMA for now; booting a box to multi-user with root-on-nfs
reliably wedges during the dev_mkdb command in uvn_fp2.
2003-09-26 13:34:56 +00:00
simonb
550b4bef88 Fix "constify sendsig/trapsignal" fallout for non-siginfo'd archs. Test
compiled on most architectures.
2003-09-26 12:02:55 +00:00
cl
6725716f10 add MD part of SA/pthread pagefault handling on mips 2003-09-20 22:50:52 +00:00
chs
c5e2454205 handle pmap_procwr() on kernel procs (MIPS1).
needed for new signal trampoline stuff.
2003-09-12 15:29:16 +00:00
kleink
d440784b30 __{BEGIN,END}_DECLS-wrap prototypes. 2003-09-11 09:40:11 +00:00
mrg
1a086c6b25 introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-08-27 16:03:17 +00:00
christos
cdf5cfc132 Kill another stray setup_stack. Thanks @@@. 2003-08-11 13:27:58 +00:00
agc
aad01611e7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
mrg
a25b9da024 don't need -mno-half-pic with gcc3 2003-07-26 18:33:51 +00:00
lukem
4b2744bf35 __KERNEL_RCSID() 2003-07-15 02:43:09 +00:00
simonb
beadae28a9 Add some dependancies on assym.h; helps "make -j N" kernel builds. 2003-07-04 03:48:01 +00:00
thorpej
d876aa082a Nuke the "alchemy_info" stuff, and just use the dev_propdb to set
the mac-addr property for the Au1x00 on-chip MACs.
2003-07-04 01:19:58 +00:00
simonb
1534c8822e ANSIfy, KNF. 2003-06-30 13:39:36 +00:00
fvdl
d5aece61d6 Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
simonb
2bda3187f5 Fix 'struct lwp *' lossage. 2003-06-29 15:14:11 +00:00
simonb
9e8290fbee Use the com softc enabled/disable hooks instead of directly frobbing
Au1x00 registers in com_attach_subr().  Suggested by Jason Thorpe and
tested on both console and extra serial ports.
2003-06-29 13:18:24 +00:00
simonb
261417ff31 Fix 'struct lwp *' lossage. 2003-06-29 12:34:55 +00:00
simonb
33187ba9d0 Show current PC in an panic message. 2003-06-29 12:21:32 +00:00