Commit Graph

33479 Commits

Author SHA1 Message Date
briggs
c315d5acf6 Double the amount of stack space for ofwboot. 2002-10-25 18:19:43 +00:00
briggs
458f8dc093 Restore .Lpmc_intr_return -- ben only removed one of two references to it. 2002-10-25 14:29:37 +00:00
fvdl
fe9d9a8b25 Fix MTRR code which had been broken since the MP merge (but silently
failed due to a missing include of opt_mtrr.h in cpu.c)
2002-10-25 12:01:56 +00:00
fvdl
526dd035ea Add macros for cpuid family/step, etc shifting. Moved here from
machdep.c.
2002-10-25 12:00:11 +00:00
jdolecek
7579e4a9fb do not install footbridge_irqhandler.h 2002-10-25 07:57:39 +00:00
jdolecek
a8dbe27136 add a missing opmskqfilter() prototype 2002-10-25 07:47:56 +00:00
chris
02debbc8ab Add comment explaining what DDB_KEYCODE does. It should probably be renamed
to DDB_BREAK_CHAR to match the com driver at some point, although even that
isn't used everywhere.
2002-10-25 00:08:43 +00:00
petrov
45a2f80742 Remove duplicate code in iommu_dvmamap_sync. 2002-10-24 23:24:01 +00:00
junyoung
83f535c080 Add commented-out machfb attachment. 2002-10-24 18:22:53 +00:00
scw
b67ad48827 Put bit definitions for the FP control/status register in <sh5/fpu.h> and
use them instead of "magic" numbers in the source.
2002-10-24 13:58:48 +00:00
scw
511275734b Format string fixes. 2002-10-24 13:48:44 +00:00
fvdl
ab08e70bd1 Make this actually compile. 2002-10-24 07:43:21 +00:00
mycroft
4b51da752c Enable Transmeta CPUs without the LongRun registers to get through
transmeta_cpu_{info,setup}().
2002-10-23 21:41:34 +00:00
jdolecek
707bbfecd1 g/c cons_ocount, it's not used by anything 2002-10-23 19:48:59 +00:00
lukem
5b95beaf5f this is a host prog... 2002-10-23 14:35:28 +00:00
lukem
9e0285bfee this is a HOSTPROG; no need to set LDSTATIC=-static 2002-10-23 14:22:38 +00:00
scw
b28965836d Tick off another item. 2002-10-23 13:37:05 +00:00
scw
590d641525 A 64-bit config file for the Cayman. 2002-10-23 13:28:01 +00:00
scw
c774ffbae4 MD glue for COMPAT_NETBSD32 on SH-5. 2002-10-23 13:26:35 +00:00
scw
31397fedc3 Make the compile if PMAP_DIAG is not defined. 2002-10-23 13:24:28 +00:00
scw
cb52115837 In preparation for COMPAT_NETBSD32 on SH-5:
- The MD netbsd32_machdep.h header now defines the 32-bit pointer type
   instead of using u_int32_t everywhere,
 - The MD netbsd32_machdep.h header now defines a macro (at least on
   current implementations) which converts a 32-bit pointer to its 64-bit
   equivalent,
 - Change the MI code to utilise the above two items in all the right places,
 - Implement netbsd32___sigaction_sigtramp().

Tested on Sparc64 by Matt Green.
2002-10-23 13:16:38 +00:00
jdolecek
e0cc03a09b merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-23 09:10:23 +00:00
junyoung
06ad574db3 Minor optimization: movl and andl are slightly faster than movb and andb,
respectively.
2002-10-23 03:28:34 +00:00
christos
438cf3ed4d we need more/different lintstub includes. 2002-10-23 00:58:28 +00:00
christos
24cbd7bcbd add more lintstub includes. 2002-10-23 00:52:56 +00:00
perry
afc2a6e72c fix LINTSTUB for in6_cksum 2002-10-23 00:13:14 +00:00
perry
20c8324fac add Empty LINTSTUB 2002-10-23 00:12:27 +00:00
thorpej
b61c7338b7 Give the ramdisk another 12k of space. 2002-10-22 23:35:16 +00:00
christos
2e8712edaf avoid using gcc ({}) statements that contain goto's. Change into do while
loops.
2002-10-22 23:18:51 +00:00
christos
2730dd7756 void functions do not return values. 2002-10-22 21:02:09 +00:00
christos
633f1790bf parenthesize properly. 2002-10-22 20:51:43 +00:00
jdolecek
e0c1e1cffb g/c kbdpoll(), it was replaced with nopoll() 2002-10-22 20:20:35 +00:00
chris
aa7f00f3de netwinder and cats can share irqhandler.h, so move (and rename) into the
footbridge dir, and share it.
2002-10-22 20:15:25 +00:00
scw
1ad6189f11 No, really attach sm(4) at sysfpga... 2002-10-22 15:35:25 +00:00
scw
b604625664 - sm at sysfpga,
- gsip at pci (and its phy)
2002-10-22 15:21:24 +00:00
scw
8477927799 - Attach sm(4) at sysfpga instead of at superio. The latter was a relic
of when we used to attach sm(4) to the isabus.
- Re-work sysfpga's interrupt naming scheme to reflect that used in the docs.
2002-10-22 15:19:06 +00:00
scw
b12d613c40 Enable the NMI only if DDB is defined, instead of DEBUG. 2002-10-22 14:38:26 +00:00
scw
bce8874166 Make this compile when DEBUG is not defined. 2002-10-22 14:17:34 +00:00
scw
949919c48e Tick off another item. 2002-10-22 13:11:06 +00:00
scw
2a52019c1e As per TODO item #13, clear the Referenced bit in the PTE after purging
a mapping from the TLB/cache to prevent duplicate purges for pages
which were not touched since the last purge.
2002-10-22 13:10:28 +00:00
scw
8496cdaeb7 - Fix REDUCE16 to ignore the upper 32-bits of the input operand.
- Shift a leading misaligned quad to compensate for the implicit shift
  in the "ldlo.q" instruction. (And remove the "XXX:" comment which correctly
  hinted that this might be necessary).
- Clean up some comments.
2002-10-22 12:22:43 +00:00
scw
6a2132797e - Simplify early initialisation so we do most of it in C.
- Call allocsys() much earlier so we can use uvm_pageboot_alloc() to
  steal KSEG0 pages for system tables.
2002-10-22 09:30:26 +00:00
chs
4017fd1809 fix two bugs in the previous PTE-spill handling changes:
- in pmap_pte_spill(), the victim PTE could be using the secondary hash,
   in which case its pvo entry is actually in the other bucket.  use the
   correct bucket for the victim pvo when moving it to the front of its list.
 - similarly, in pmap_pvo_remove(), if the pteidx is pre-computed for us,
   it might actually point to the other bucket if the entry is using the
   secondary hash.  adjust ptegidx if this is the case.

these should fix PRs 18645 and 18736.
while I'm here, wrap line lines and do some other misc cleanup.
2002-10-22 04:34:13 +00:00
bjh21
2a89b96077 Pull down rev 1.7.2.1 [must be careful which branch I commit to!]:
Reinstate .Lextirq_return: it was used in two places, and I only removed one
of them.
2002-10-21 18:09:18 +00:00
uch
7e96d57199 make this compile again. 2002-10-21 17:07:36 +00:00
jdc
c709dda0d9 Regenerate config. files from GENERIC.in rev. 1.28. 2002-10-21 16:18:34 +00:00
scw
b7d8acc608 In switch_exit(), load the SP and FP from proc0's PCB instead of using
a "null" stack.
Also be sure to clear curproc, and update curpcb.
2002-10-21 15:37:20 +00:00
uwe
af2a75546d Clean-up kbd driver layers a bit more. Lift common code into the upper layer.
Add some wskbd TODO remarks (hi, martin).
2002-10-21 15:36:35 +00:00
uwe
35ec23469c Correct zstty interface attribute (cf files.sparc64 1.69).
Comment out unused kbd_tty and ms_tty attachments.
2002-10-21 15:25:42 +00:00
martin
f19a67c55f Allow hyphen in kernel names. Bump version.
Should fix PR 13429 and PR 18691.
2002-10-20 20:55:38 +00:00