Commit Graph

33644 Commits

Author SHA1 Message Date
itohy
6f08fa6ecb XINTR_TSS() macro for non-ELF case
whitespace nit
2002-11-11 09:17:16 +00:00
itohy
3da640e7d9 delete useless .global declarations 2002-11-11 09:14:10 +00:00
chris
cf54ec0397 Remove unused pa variable (it's assigned but not used any more) 2002-11-11 08:58:05 +00:00
thorpej
9972dfbbbf Add "-mno-abicalls" to AFLAGS. Add "-ffreestanding -msoft-float" to
CFLAGS.
2002-11-10 17:12:58 +00:00
simonb
8ae9336efc Keep the knowledge of the H/W interrupt 5 event counter local to
interrupt.c.  This change also unmasked the fact that the Alchemy
boards did not initialise this counter.
2002-11-10 15:21:51 +00:00
itohy
e7bab7c73c delete reference to astpending, which does not exist any longer 2002-11-10 14:28:10 +00:00
simonb
2e98091daf Make sure we use index ops (instead of hit ops) in the range index
functions.
Fix typos in the cache_r4k_op_32_4way_load_off macro.

Both problems reported by Chris Demetriou.
2002-11-10 11:11:39 +00:00
simonb
b8eff8f9aa Adapt for the ioctl ERESTART/EPASSTHROUGH changes.
Make sure we don't tsleep() at splhigh/splserial.
2002-11-10 11:06:11 +00:00
simonb
6fb837941b Remove some copyright notices that don't apply to this code. 2002-11-10 11:01:15 +00:00
nisimura
983202f1ed Change pmap_kenter_pa/pmap_kremove pair back to pmap_enter/pmap_remove
in fear of the case choosen kva results in occupying inconsistent
distinctive cache lines of uva.
2002-11-10 05:29:18 +00:00
tsutsui
fe505e00b7 Make sure to stop timer count before writing timer counter registers
in tmu[12]_oneshot(). Otherwise sometimes interrupts would be lost.
2002-11-10 04:30:10 +00:00
nisimura
2a312dd17f Use pmap_enter_pa and pmap_kremove for vmapbuf/vunmapbuf, respectively.
Have variable names renamed for the logic clarity.
2002-11-10 02:27:50 +00:00
thorpej
84ccc9c46e Build with kernel with -msoft-float. 2002-11-09 20:34:26 +00:00
thorpej
ff114c4a59 Fix signed/unsigned comparison warnings. 2002-11-09 20:06:07 +00:00
thorpej
21ca5cbcc7 Make md_ss_addr a vaddr_t. 2002-11-09 20:05:57 +00:00
thorpej
800f626770 Fix signed/unsigned comparison warnings. 2002-11-09 20:00:20 +00:00
thorpej
0c2979d1c8 Fix signed/unsigned comparison warnings. 2002-11-09 19:35:52 +00:00
thorpej
4d7f6969a5 Make cache size/mask variables unsigned. 2002-11-09 19:34:39 +00:00
thorpej
73f78d5e61 Fix signed/unsigned comparison warnings. 2002-11-09 18:52:20 +00:00
thorpej
a1ef3f204e Avoid a strict-aliasing warning from GCC 3.3. 2002-11-09 18:49:02 +00:00
thorpej
3689b18f89 * Add -mno-abicalls to AFLAGS.
* GCC 3.3's traditional preprocessor functions properly now, so we
  no longer need to special-case it.
2002-11-09 18:18:22 +00:00
thorpej
a99bec6b60 Nuke the CROSSDIR stuff. 2002-11-09 18:12:09 +00:00
nisimura
94df053502 Nuke "mips_reg_t" exposures from here. "mips_reg_t" will be
corrected-back with "register_t" by completing the implementations
of N32 and LP64 environment.
2002-11-09 10:59:52 +00:00
thorpej
e935239e3c No need to pass -mno-half-pic; NetBSD's compiler does not generate
half-pic references.
2002-11-09 07:31:08 +00:00
cgd
686bcfad92 add stand to subdir list 2002-11-09 06:50:59 +00:00
thorpej
6774aca1fe Make the bootblocks build with warnings. 2002-11-09 06:34:37 +00:00
cgd
f4cc396bbc loadfile_machdep.h implementation, needed by boot blocks.
copied verbatim from NetBSD/prep.
2002-11-09 06:22:22 +00:00
cgd
c188bc0cbd first cut at NetBSD/sbmips bootstrap programs, cloned from NetBSD/alpha's
and then modified to work with CFE as the firmware.
2002-11-09 06:20:37 +00:00
cgd
608942eb92 support passing in kernel symbols from a boot loader. GC some bogus
boot option handling.
2002-11-09 05:49:30 +00:00
cgd
2946df94fb GC IKOS kernel option (never complete in these sources anyway) 2002-11-09 05:36:49 +00:00
simonb
31fcce3c41 Include <sys/device.h> so this compiles again. 2002-11-09 04:13:03 +00:00
nisimura
8d6e18f90d - Make monolistic files into smaller manageable pieces, resulting
three new files;
    sig_machdep.c (from mips_machdep.c)
    copy.S and sigcode.S (from locore.S)
- Nuke the local use of struct sigframe, which is now identical to
struct sigcontext, from sendsig() as the consequence of new signal
trampoline.
2002-11-09 02:02:31 +00:00
uwe
7e95293c56 Use BOOT_FLAG() macro to process flags. 2002-11-09 01:35:54 +00:00
uwe
7a7c188182 Oh, COPTS in config overrides optimizations again. 2002-11-08 22:51:53 +00:00
cgd
48164df6b2 handle different SOC types and features a little better 2002-11-08 19:53:29 +00:00
cgd
f4a3e5f997 fix long-standing pasto in DMA config1 register address setting 2002-11-08 19:40:05 +00:00
cgd
49c87f0804 update to latest CFE API code 2002-11-08 19:35:38 +00:00
cgd
cd8d5b3c92 default to big-endian, so that the kernel config matches the default
endianness chosen by build.sh for "-m sbmips".
2002-11-08 19:34:59 +00:00
tsutsui
d7fe782b4f Add _reg_bset_[124]() and _reg_bclr_[124]() macro for
SH embeded device registers.
2002-11-08 14:58:25 +00:00
cgd
99a582aab5 Calculate end virtual address for cache ops before chopping low bits
(line mask) off of starting address.  Otherwise, could miss the final
line that the ops should have been operating on.  Reviewed by simonb.
2002-11-08 07:35:20 +00:00
cgd
1f2efd0d77 update SiByte includes from their master versions. (main differences:
bug fixes, conditionalization of different chip support, new features.)
(Reviewed and tested by simonb.)
2002-11-08 07:32:40 +00:00
simonb
0b3b87b6c8 Whitespace nit. 2002-11-08 04:13:13 +00:00
thorpej
508637429c Fix pasto. (Man, it's not my day today, is it...) 2002-11-08 02:35:23 +00:00
thorpej
c05e648e83 Ensure that some integer constants are always unsigned. 2002-11-08 01:31:23 +00:00
simonb
28cb103184 Note a new MIPS64_SB1 option that should be included in opt_cputype.h
one day.
2002-11-08 00:50:49 +00:00
simonb
220b08b128 Sprinkle a little more COP0_SYNC (in an unused function...). 2002-11-08 00:49:32 +00:00
thorpej
c2c9021d7d Fix goof-ups in last (compiler used to test previously used a different
file).
2002-11-08 00:19:51 +00:00
thorpej
c138531637 Adjust stdargs/varargs for GCC 3.x. 2002-11-08 00:08:02 +00:00
cgd
a13b227af2 fix errors in calculating the ending VA to use in r4k_icache_sync_range_16
and r5k_icache_sync_range_32.  (reviewed by thorpej.)
2002-11-07 23:03:21 +00:00
martin
c4349cac72 Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.
2002-11-07 21:56:56 +00:00