Commit Graph

99929 Commits

Author SHA1 Message Date
martin 5d9a5f68c8 Use "mono_time" instead of "time" for timeout calculations. 2002-07-13 11:08:03 +00:00
scw bef00d4895 m68k syscall rototill:
- Switch all m68k-based ports over to __HAVE_SYSCALL_INTERN.
 - Add systrace glue.
 - Define struct mdproc in <m68k/proc.h> instead of <machine/proc.h>.
   (They were all defined exactly the same anyway, other than a couple
   of the MDP_* flags.)
2002-07-13 08:28:40 +00:00
isaki b35fcc7d5a - Use HZ mechanism.
Pointed out by Perry E. Metzger <perry@piermont.com> on port-x68k.
- Correct microtime() value.
2002-07-13 05:55:26 +00:00
thorpej 7d85789f0a Move the BCM5401 DSP patch out of the bge driver and into
the brgphy driver; all users of the BCM5400 and BCM5401 need
the DSP patch and the sledgehammer-reset-at-media-set-time.

Also add a DSP patch for the BCM5411 gleaned from Apple's
GMAC driver for Darwin.

Tested with a 3Com 3c996-T (BCM5700 + BCM5401).
2002-07-13 01:23:27 +00:00
enami f216ec52a0 Match Altima AC1001. 2002-07-12 22:29:14 +00:00
enami 2bb480867f Regen. 2002-07-12 22:27:55 +00:00
enami d5138d122f Add product id of Altima AC1001. 2002-07-12 22:26:32 +00:00
scw d911ae5d57 SH5 systrace(5) glue. 2002-07-12 20:43:12 +00:00
scw e6115d56d5 Add some devices which should be present in the latest simulator. 2002-07-12 20:41:55 +00:00
scw 6daca7f652 Ditch the "simulated clock" hack. It would never really have worked,
and the latest simulator won't need it anyway.
2002-07-12 19:52:21 +00:00
scw e9688612da Make it so kernels can be compiled for 32-bit or 64-bit with a
simple config file option.

Also, don't hard code the endian setting in a header file. Rely instead
on the compiler defining __LITTLE_ENDIAN__ and DTRT as appropriate.
2002-07-12 19:33:27 +00:00
scw 3a5b311011 Cast a pointer to uintptr_t before comparing with a long int. 2002-07-12 19:27:32 +00:00
scottr 3b09fcde6d Correct misplaced #endif that causes compile-time error if
neither M68040 nor M68060 are configured into the kernel.
2002-07-12 18:53:16 +00:00
wrstuden e3fc9184bd cscope.out target needs depend too, zap old comments 2002-07-12 17:48:23 +00:00
scw c02c1c7cd2 Clean up <sh5/asm.h> to be more 64-bit friendly.
Clean up the kernel asm files to be less 32-bit dependent.
2002-07-12 15:42:27 +00:00
rafal 4d8aea6332 Fix PR port-sgimips/17566: Install the INDY kernel set by default, since we
need one of the kernel sets installed (and since O2 support is currently not
working, it's easy to figure out which we should install 8-).
2002-07-12 14:22:16 +00:00
briggs 53c52257e1 Comiskey Park was the host of the Disco Demolition in 1979. Home of the
Chicago White Sox for 81 seasons: 1910-1990.
2002-07-12 13:42:06 +00:00
scw 1664941b2c Blah, missed a comma. 2002-07-12 13:37:32 +00:00
itojun 24ef72afbf print connect failure on debugging mode. sync w/openbsd 2002-07-12 13:28:36 +00:00
rafal fa5c0332f8 Fix PR port-sgimips/17568: the PROM on early Indigo2 machines did not like
the ECOFF version of boot produced by `objcopy'.  Using elf2ecoff make it
work, so use that instead.  Also, don't bother stripping the bootblocks on
install (as that confuses strip, at least for the ECOFF one, and since the
build already strips them).
2002-07-12 13:04:03 +00:00
scw 2675306718 Add IEEE FP mode control functions and definitions for SH5. 2002-07-12 12:20:24 +00:00
scw 67ea1085eb Add MD procfs stub for SH5. 2002-07-12 11:20:12 +00:00
scw 270555326f More SH5 toolchain hacks: Don't define _BSD_WCHAR_T if compiling C++. 2002-07-12 11:19:08 +00:00
matt bbab86c27b Enable COMPAT_LINUX 2002-07-12 05:30:24 +00:00
tshiozak bbf8234bfe add Slovak (sk_SK) locale support. 2002-07-12 05:20:46 +00:00
thorpej b13f958c53 Match the BCM5421, found on the Apple Xserve. From Matt Thomas. 2002-07-12 04:00:10 +00:00
itojun 374ba6170a strdup -> xstrdup (handle malloc error right) 2002-07-12 03:05:13 +00:00
thorpej 3eface1664 Make release building work again. 2002-07-12 02:24:23 +00:00
simonb 0e084cea1c Add a comment; fix white-space niggle. 2002-07-12 00:40:00 +00:00
simonb bb0c5d7d98 Don't need to include <sys/malloc.h>, <machine/locore.h> or
<uvm/uvm_extern.h> here.
2002-07-12 00:27:18 +00:00
simonb 85c8470e73 Fix a typo in a comment. 2002-07-12 00:23:04 +00:00
scw f0643885eb Fix a mem_region botch:
physmemr and availmemr both need to be arrays, where the last element
has `size' set to zero to act as a terminator.
2002-07-11 21:50:22 +00:00
scw 4c8e482124 Add SH5 support. (Missed these during the last sweep of my local tree) 2002-07-11 21:46:21 +00:00
augustss ca8d36994e Add a quirk for Trumpion device (extracted from OpenBSD). 2002-07-11 21:42:23 +00:00
augustss 8db4c51ebe Regen. 2002-07-11 21:41:32 +00:00
augustss 5128e283d3 Add Trumpion device (from OpenBSD). 2002-07-11 21:41:12 +00:00
yamt 43b3a8007f don't access freed memory. 2002-07-11 21:37:51 +00:00
scw 60fb656ee5 Validate the branch target registers and saved PC using the
appropriate macro.
2002-07-11 21:23:30 +00:00
scw 14013f679d Add a macro which verifies that a 64-bit value is a valid effective
address as defined by the cpu's Implemented Effective Address bits.
2002-07-11 21:21:58 +00:00
yamt c56faa76d8 don't access freed memory. 2002-07-11 21:21:53 +00:00
scw d08670adc8 Sync with reality. 2002-07-11 21:20:23 +00:00
augustss 86650920c9 Get rid of trailing white space. 2002-07-11 21:14:24 +00:00
perseant 8f30dc2c9b Remove lying comment on SEGM_PROT seglock. 2002-07-11 21:09:00 +00:00
scw 4036c57dcb Work-around an internal compiler error on the SuperH sh5 toolchain. 2002-07-11 20:07:07 +00:00
junyoung 2570d0b9f2 Move 'for' to the right position. 2002-07-11 19:52:25 +00:00
scw 046bb1fbbc Work-around an internal compiler error on the SuperH sh5 toolchain. 2002-07-11 19:47:17 +00:00
jdolecek e7b5e675e6 sync with reality, couple whitespace fixes 2002-07-11 19:44:26 +00:00
jdolecek 474110ee92 add walnut-specific includes (uncovered by checkflist) 2002-07-11 19:40:02 +00:00
matt b35e786de2 Add a linux_syscall_intern entry (appropriately ifdef'ed COMPAT_LINUX).
When/if PPC ever supports LKMs, this should be moved to a separate file.
2002-07-11 19:32:43 +00:00
scw 05774dcd91 Define NLIST_ELF32 and Define NLIST_ELF64 for SH5. 2002-07-11 19:15:54 +00:00