Commit Graph

29970 Commits

Author SHA1 Message Date
thorpej
0404ff83b9 Generic soft interrupt support for the evbarm port. Two caveats:
* This is not currently used by the in-tree evbarm interrupt code.  New
  interrupt code will appear "soon" which makes use of this file.
* This file will probably move to a generic ARM location eventually.
2002-01-24 18:48:03 +00:00
thorpej
e05fbea5e8 Shave an instruction off the case where we want to do a CPWAIT and
then return.
2002-01-24 17:53:08 +00:00
pk
92be3a121c pmap_kenter_pa4_4c(): set supervisor bit in PTE. 2002-01-24 16:50:34 +00:00
thorpej
c50e5f6562 Don't need pciide_machdep.c 2002-01-24 06:51:30 +00:00
thorpej
d58e8e800b Update copyright years and author list. 2002-01-24 06:21:27 +00:00
thorpej
68a5455c8b Work around a bug in the XScale core's D-cache. The work-around is to
use 2 adjacent cache-size areas for global cache clean, alternating
between the two of them on each call.  Without this, D-cache blocks
aren't evicted properly, and no one seems to know why.
2002-01-24 06:18:12 +00:00
briggs
2341768d92 Two changes for XScale:
1) Add defparam XSCALE_CCLKCFG to define a parameter for the
	   CCLKCFG register.  Default it to '9' on the IQ80310.
	2) Add a sleep call to the xscale CPU function vector (replacing
	   the nullop) which should drop the CPU into "idle" mode when
	   cpu_switch finds nothing on the run queues.
2002-01-24 04:23:18 +00:00
thorpej
bd098d4ca4 Fix a typo (thanks Allen). 2002-01-24 03:58:09 +00:00
thorpej
ffe44b126d Pull in files.i80200 2002-01-24 03:57:36 +00:00
thorpej
ae267d2bc7 s/CPLD/iq80310/g 2002-01-24 03:34:28 +00:00
rafal
17abb81d69 One more change resulting from my GDT rearrangement... Since GMACHCALLS_SEL
is always defined now, don't use that to test if we should install the MACH
compat gate; test COMPAT_MACH instead.
2002-01-24 03:20:28 +00:00
gson
11111119ae Make receiving packets work again after struct fxp_rfa grew. 2002-01-24 02:52:15 +00:00
gson
d4da6dc52d Debug printf within #if 0..#endif did not compile if enabled. 2002-01-24 02:44:11 +00:00
gson
69ba1e26ce Remove duplicate definition of global variable bcea which caused
linking to fail, along with other globals already
defined in lib/sa/globals.c
2002-01-24 02:37:53 +00:00
thorpej
7c2247336b Clean up the i80312 PMU definitions. 2002-01-24 01:21:44 +00:00
thorpej
e33cde5940 Add an IRQ vector to be shared by all i80200 applications. This
consults the interrupt source bits in the i80200 ICU and calls
a board-specific external IRQ dispatcher if an external IRQ is
pending.
2002-01-24 01:12:40 +00:00
ross
ddbaa8d2e8 Tweak boilerplate to kill assembler warning (netbsd pr alpha/15119) 2002-01-23 21:33:19 +00:00
scw
86be963a27 Completely re-write wrtvid.c to make it usable during a cross-build.
Instead of parsing the 1st stage booter in wrtvid, use objcopy to
generate a binary image, leaving wrtvid to create the VID/CFG block.
2002-01-23 21:06:28 +00:00
thorpej
372342ce22 i80200: Call i80200_intr_init() to initialize the ICU, rather than
doing it ourselves.
2002-01-23 21:03:07 +00:00
thorpej
d70b940ca2 Add generic code to manipulate the i80200 ICU. 2002-01-23 21:00:12 +00:00
thorpej
361cbb0a88 Make this usable directly by assembly code. 2002-01-23 20:58:29 +00:00
thorpej
0b33a64433 Add a stub procfs_machdep. 2002-01-23 19:21:42 +00:00
bjh21
8a3c27fbf7 Add support for the ARM-specific syscalls in ARMLinux. These are invoked
by SWI numbers above 0x9f0000, but we re-map them down to somewhere just
after the end of the usual syscall range, since NetBSD doesn't handle
sparse syscall arrays well.

The only syscall I've actually implemented in this range is cacheflush(),
which was previously being mapped to fork(), causing ... interesting results.
2002-01-23 15:52:58 +00:00
pk
4df7c33bf4 Eliminate `cputyp' test from cpu_switch(). 2002-01-23 15:46:03 +00:00
rafal
bc2214ed89 Rebuild after my re-arrangement of GDT entries, since this code depends on
the values of GBIOSCODE_SEL and GBIOSDATA_SEL.
2002-01-23 15:05:33 +00:00
rafal
37d3472889 Re-arrange GDT entries somewhat so that: (1) I can reserve the 8th entry for
BIOS-bug-avoidance [fixes part of my own port-i386/11299], and (2) lets you
have APM and COMPAT_MACHO in the kernel at the same time.  Also comments on
the special 8th entry and what else changing some of these values affects.

OK'ed by Frank.
2002-01-23 15:02:34 +00:00
pk
e9b6d353de Add missing `#ifdef SUN4U'. 2002-01-23 10:19:42 +00:00
chris
fc6b067849 Update/remove prototypes. 2002-01-22 19:14:48 +00:00
thorpej
122a3fe161 Re-add -mcmodel=large .. we'll just have to use a patched gcc
for now.
2002-01-22 18:57:39 +00:00
thorpej
cf6dc8e084 Update for ISA autoconfiguration changes. 2002-01-22 18:53:02 +00:00
ross
a583e1d1dc we need the compat_13 sys_sigreturn to do osf1 emulation
closes port-alpha/8788
2002-01-22 18:37:06 +00:00
thorpej
470bbfb229 Update for ISA autoconfiguration changes. 2002-01-22 18:36:51 +00:00
pk
8769ef5de3 Remove out-dated dependencies on Makefile. 2002-01-22 17:04:31 +00:00
uch
a68b39d7c2 Reset configuration of bridge order before enumerating bridge devices.
This is required when two or more bridges on the same bus, and some of
them are incompletely initialized by BIOS.
Reported by NAKAGAWA Yoshihisa <y-nakaga@nwsl.mesh.ad.jp>
2002-01-22 15:08:53 +00:00
uch
29d84d9a58 Add pci_bridge_foreach (). 2002-01-22 15:07:27 +00:00
mrg
81cfc30e85 turn on BLINK & bridge 2002-01-22 01:23:18 +00:00
wiz
c244b23bfe Fix typo. 2002-01-22 00:04:29 +00:00
is
5e5bb729dc First draft of a Toccata driver. 2002-01-21 22:13:25 +00:00
jdolecek
ff8305bbac Switch to MI dev/md_root.c for archs which don't have any special
memory disk hooks (i.e. everything except atari).
2002-01-21 21:56:57 +00:00
eeh
40f4f638ed More 32-bit cleanup. 2002-01-21 18:50:36 +00:00
nsmrtks
e23bb0cb51 Fix uvm fault at startup on 040/060. (patch by minoura) 2002-01-21 17:21:52 +00:00
nonaka
3c6fc4ebff Fix panic at extent_free() in boot-time.
(ia->ia_io[0].ir_size is zero if noset iosiz in kernel config file.)
2002-01-21 16:26:58 +00:00
wiz
b36c0a5406 deamon -> daemon 2002-01-21 14:42:26 +00:00
mrg
319101532e - reduce INSTALL size by 2.5MB. 2002-01-21 13:47:25 +00:00
martin
f8974bfebe Add support for ITK IX1 PnP cards.
Thanks to Nick Hudson for testing.
2002-01-21 12:31:42 +00:00
mrg
61d679b8c1 convert sparc64 to use `makefs' rather than vnd/newfs/mount. this severely
cleans up a lot of the processing here.


XXX: note that the sparc64 "INSTALL" kernel's file system has a copy of
GENERIC in /netbsd.  fix this shortly.
2002-01-20 05:57:10 +00:00
thorpej
e594c94727 Some prototype cleanup. 2002-01-20 03:41:47 +00:00
thorpej
ce74acf44c XXX Local prototype for syscall(). 2002-01-20 03:39:51 +00:00
shin
073b07d45d bugfix: OHCI is bus 0, device 12 or 19, function 2 (not 0). 2002-01-20 03:34:27 +00:00
scw
0e17fb3d6a Make this compile again. 2002-01-19 21:13:45 +00:00