Commit Graph

157919 Commits

Author SHA1 Message Date
christos 6a4825167b return a page less than the actual top of stack so that linux-java works. 2007-04-01 03:16:44 +00:00
matt abe5cdbc17 Add __builtin_ffs support. 2007-03-31 23:12:37 +00:00
uwe 17dd2bf13d Mark __sh4_itlb_invalidate_all we call while running on P2 with
__attribute__((always_inline)) or gcc might decide not to inline it,
resulting in P2->P1 call.
2007-03-31 22:49:49 +00:00
skrll bd529f8818 MD_DO_NOT_NEED_FALLTHRU for sh5. Compile tested only. 2007-03-31 21:12:37 +00:00
agc f44794b224 Add a refuse-based "fanout" file system. This is more commonly known in
the BSD world as a "union" file system.

This fanout file system takes a number of directories and makes them
available under a single mount point.

This is more of an example file sytsem than anything else, but is used
as the basis of a number of other file systems which will be forthcoming
"real soon now".
2007-03-31 21:05:56 +00:00
plunky fb76dbd4fc change declaration for protosw.h const symbolic strings to static, so that
they can be used by more than one source file without causing duplicate
definitions.
2007-03-31 18:17:13 +00:00
hannken 3b5501efa7 Cleanup last by using a "n"umeric address space identifier.
Ok: Martin Husemann <martin@netbsd.org>
2007-03-31 13:04:21 +00:00
martin de3603e82a caddr_t fallout (only visible with options PPPOE_SERVER) 2007-03-31 11:00:23 +00:00
plunky 89f52265ce fix warnings produced by -Wextra
fix warnings produced by lack of const
2007-03-31 07:14:44 +00:00
matt 1c1dcb3369 Add these so kernels built -O0 will link. 2007-03-31 06:13:52 +00:00
matt a484b6a3f3 Add -fno-pic to CFLAGS and AFLAGS 2007-03-31 06:03:13 +00:00
matt ea4611db47 s/volatile/__volatile 2007-03-31 06:02:08 +00:00
matt 2538fd4e27 Don't use an uninitialized lastaddr (initialize it to 0). 2007-03-31 06:01:33 +00:00
matt db9db0872e Don't exceed array bounds (found by gcc 4.3).
XXX not sure if the fix is correct.
2007-03-31 06:00:38 +00:00
matt 2a142509e8 Build kernels with -fno-pic. 2007-03-31 05:59:45 +00:00
matt 87e605a5fe Don't test machine_arch for m68k and m68000, just test machine_cpu for
m68k.  Turn on PIC/PICLIB for VAX.
2007-03-31 05:58:30 +00:00
matt a2194c542b Remove non-shared hooks for VAX. 2007-03-31 05:55:43 +00:00
matt deb622ec5b Final step. Turn on generation of PIC code. Full release build builds and
works.
2007-03-31 05:55:11 +00:00
matt dec8719ee4 For nonimmediate operands of SImode, don't use "g" anymore, use "nrmT" instead.
"g" matches just about anything including SYMBOL_REF, CONST, LABEL_REF which
should not be operands for most instructions in PIC mode.  (movsi can handle
then and addsi3 can handle them in a few limited cases).
2007-03-31 01:23:26 +00:00
matt aa3062f197 Step 2. Produces PIC code but doesn't satisfies the constraints needed
by userland.  (external symbols can still be indirected and relocs for
symbol + offset are emitted).
2007-03-31 00:59:47 +00:00
matt 57ad7b9e42 Use HOST_WIDE_INT where appropriate. Cleanup split_quadword_operands 2007-03-30 22:03:28 +00:00
matt f775e4410d Enable new quadmove code. Only use mova[lq] instead of ashl when
!optimize_size.  When optimize_size is on, try to use ashl if possible
if setting a 6bit unsigned quantity in the word.
2007-03-30 22:02:26 +00:00
ghen 46dd20e54a Note BIND update to 9.4.0. Changes since 9.4.0rc2:
2138.	[bug]		Lock order reversal in resolver.c. [RT #16653]

2137.	[port]		Mips little endian and/or mips 64 bit are now
			supported for atomic operations. [RT#16648]

2136.	[bug]		nslookup/host looped if there was no search list
			and the host didn't exist. [RT #16657]

2135.	[bug]		Uninitialised rdataset in sdlz.c. [RT# 16656]

2133.	[port]		powerpc:  Support both IBM and MacOS Power PC
			assembler syntaxes. [RT #16647]

2132.	[bug]		Missing unlock on out of memory in
			dns_dispatchmgr_setudp().

2131.	[contrib]	dlz/mysql: AXFR was broken. [RT #16630]

2128.	[doc]		xsltproc --nonet, update DTD versions.  [RT #16635]
2007-03-30 21:36:11 +00:00
matt 120d27ab08 Add symbolic_operand (matches const, symbol_ref, label_ref). 2007-03-30 21:25:01 +00:00
plunky 8238f45994 fix warnings produced by -Wextra 2007-03-30 21:25:00 +00:00
matt 1336eda547 Remove split_quadword_operands 2007-03-30 21:24:03 +00:00
matt 9e311d116b Simplify the address_operand patterns. Use gcc's macros and split between
push and mov addr patterns.
2007-03-30 21:23:42 +00:00
plunky a746bed179 fix warnings produced by -Wextra 2007-03-30 21:23:18 +00:00
matt d18d7c0fc4 Fix a few missing REG_P, use symbolic_operand instead of testint CONST/SYMBOL_REF/LABEL_REF, make split_quadword_operands static, don't pass the insn just the rtx code for the insn 2007-03-30 21:15:24 +00:00
martin a63279589c When invalidating a context, make sure to flush user windows upfront.
Do not set the DMMU secondary context to 0 (that would be kernel), and
add a few required membars after switching the secondary dmmu context.

This avoids SIRs caused by double kernel_data_faults, caused by spills
of obsolete user windows after the context for that user pmap is gone.
2007-03-30 21:14:13 +00:00
plunky f21bb76883 be more explicit and consistent in use of KASSERT with pointers,
test against NULL
2007-03-30 20:47:02 +00:00
ghen 1c80da3072 Re-add missing file (removed by cvs import because it was added manually by
christos).

Hi Veego!
2007-03-30 20:40:52 +00:00
matt 58ad121651 Step 1 of getting gcc to generate VAX PIC code again. These steps are being
committed in "smallish" steps.  This step incorporates the switch to MEM_P,
REG_P, and CONST_INT_P.  Use bool/true/false where appropriate.  PRINT_OPERAND
moves from being a large macro in vax.h print_operand in vax.c.  Fix rtx cost
for a constant of 0.  This eliminates unneeded moves when setting to 0 would
be fine.

Lastly, include completely new (on by default) code for DImode move, addition,
and subtract.  This code is significantly faster and smaller that what existed
before.
2007-03-30 20:25:46 +00:00
ghen 225c5452c3 Resolve conflicts. 2007-03-30 20:23:03 +00:00
ghen e0bee3891d Import bind 9.4.0. 2007-03-30 20:16:18 +00:00
ghen f0e38187bd Resolve conflicts. 2007-03-30 19:57:16 +00:00
matt 7457e904c0 Add CONST_INT_P 2007-03-30 19:47:19 +00:00
ghen 94364b1084 Resolve conflicts. 2007-03-30 19:40:47 +00:00
ghen cc483ecacb Import bind-9.4.0. 2007-03-30 19:15:20 +00:00
rumble 9b1a76ecf8 The wd33c93 chip appears to be clocked at 20MHz for all systems with a HPC. 2007-03-30 19:04:40 +00:00
pooka de976b706d g/c some commented ltsleep calls accidentally left from newlock2 adaptation 2007-03-30 18:25:02 +00:00
pooka 115fa924ee * abstract ASYNCBIOREAD and let callers freely issue a callback called
from putop.  even though there's only one user currently, makes code
  more readable
* move "delta" to a standard parameter in vntouser and get rid of the
  specialcase vntouser_delta
2007-03-30 17:48:57 +00:00
christos e6e1d4eb1a PR/36102: Yojiro UO: Restore revision 1.142's way of reading the descriptor
because uplcom hangs otherwise. Also reported by Anon Ymous.
2007-03-30 16:52:12 +00:00
he b1bfbbc629 Drop `const' from a couple of declarations to comply with the latest
update of _def_time.c, ref. PR#10877.
2007-03-30 15:55:38 +00:00
ad 0ac3a31ea3 Cosmetic changes. 2007-03-30 11:06:58 +00:00
ad 3d5b66ed02 Always include kernel_lock so that LOCKDEBUG checks can find the symbol. 2007-03-30 11:05:59 +00:00
uwe 58951c715e In sh_clock_init just make sure that rtc oscillator is running, but
don't start rtc, so that rtc(4) can report wall time as invalid if
clock was not running on attach.
2007-03-30 00:37:51 +00:00
uwe 3ce2a9cb4d On attach check if clock is running, mark it invalid if not. Return
error from gettime method if clock is not valid.  Mark clock as valid
on settime.

Report more debugging info.
2007-03-30 00:32:58 +00:00
uwe a4d20321d9 Re-enable interrupts in tlb_exception too. 2007-03-30 00:12:54 +00:00
uwe 86d3d1e448 Include #include <sh3/devreg.h> like other *reg.h do. 2007-03-29 23:09:41 +00:00