Commit Graph

989 Commits

Author SHA1 Message Date
eeh 945c9cac5f Increase limits slightly. We're still not using all 32 address bits yet,
let alone 64.....
2001-02-11 00:09:45 +00:00
eeh 1671aa6706 Increase NKMEMPAGES to a more useful value. 2001-02-11 00:07:10 +00:00
eeh 3e47436b79 Add some extra fields to a dmamap to track what's being mapped. 2001-02-11 00:05:47 +00:00
eeh 3daccde8d4 Print out more useful data if there are interrupt issues. 2001-02-11 00:02:58 +00:00
pk 5fb1ec8af6 Fix conditional for svr4 compat inclusion. 2001-02-10 20:00:24 +00:00
eeh 2411eab448 Fix D$ aliasing issues in a DIAGNOSTIC check. 2001-02-06 19:04:57 +00:00
mrg 22a68e0e29 oops, kill some debugging messages. 2001-02-05 13:13:47 +00:00
mrg 2d7ba2f0e7 turn off UVMHIST. turn on LKM. makeoptions DEBUG=-g 2001-02-05 12:49:11 +00:00
mrg 05752997ef use sunos32_machdep.c on 64 bit kernels. 2001-02-05 12:47:47 +00:00
mrg e1ac1f31b9 make sure 32 bit addresses are truncated properly. 2001-02-05 12:45:38 +00:00
eeh db133b2424 Add signal trampoline for 64-bit svr4 emulations. 2001-02-05 06:56:45 +00:00
mrg c084c19f60 add "wd" to chrtoblktbl 2001-02-02 07:39:28 +00:00
mrg 2a9fceab8d enable the kbd/ms. enable some compat options for compat_sunos 2001-02-02 07:33:42 +00:00
mrg 9954eaa78b include compat/sunos32/sunos32.files 2001-02-02 07:32:45 +00:00
mrg 04cb3c57d6 bump NMBLUSTERS now this machine has NFS server tasks. 2001-02-02 07:32:20 +00:00
mrg 6d444f5960 kill the ad clause in my license. 2001-01-29 01:37:56 +00:00
martin a7206004fc Faster error handling for iommu_dmamap_load_raw; avoid loading the map
and unloading on error when we clearly can't get out without an error.
2001-01-28 01:26:57 +00:00
eeh 6c3bf28ffd Fix dvma problem caused by previous. Seems like the dvma segment calculation
in iommu_dmamap_unload() was not quite right.
2001-01-27 03:40:39 +00:00
martin f4eec8f31f iommu_dvmamap_load_raw: add a check for creating maps larger than
expected by the creator of the dma map and fail apropriately. This
makes the syssrc/dev/pci/if_vr.c driver work.
2001-01-25 21:41:10 +00:00
martin 97b57e69cc Make bus_dmamap_load_mbuf and bus_dmamap_load_uio use independend
segment lists for their mapping; make iommu_dmamap_unload deal with
this type of maps.

Coded by Eduardo, tested (and minimaly tweaked) by me.
2001-01-23 20:31:28 +00:00
eeh a07a06dd78 Only panic if we can't allocate a PT page for the kernel pmap. 2001-01-22 22:10:09 +00:00
jdolecek 8b24036797 Require the machine-dependant DDB commands to be in db_machine_command_table[]
and link it directly to db_command_table[] so that it's not necessary
to do this at runtime. Make db_machine_command_table[] const on all ports.
g/c now unneded stuff, like db_machine_commands_install(), db_machine_init()

Patch written by enami.
2001-01-22 13:56:55 +00:00
pk 13d4fcd69b In cpu_reboot(), only reset the TOD clock if the time is known to be good
enough, e.g. it has been initialized already by inittodr() or set
explicitly before by resettodr().  This prevents the TOD clock from going
way backwards when typing `halt' at the `mount root filesystem' prompt.
2001-01-20 13:44:29 +00:00
martin 84af4fa114 Enable IO space mapping by default.
Fixes PR 11940.
2001-01-19 21:25:19 +00:00
tv e58532a4bf No-op commit to force update to a non-"-kk" revision. 2001-01-18 17:47:58 +00:00
jdolecek d5d431e8ae make db_[e]regs[] const 2001-01-18 10:54:27 +00:00
fvdl c7f1462f3e Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
2001-01-17 00:07:18 +00:00
thorpej d74e432ed3 Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().
2001-01-15 20:19:50 +00:00
eeh d04bab724e Implement some seblence of bus_dmamap_mbuf() and bus_dmamap_uio(). 2001-01-15 19:27:07 +00:00
thorpej 45de366b2e Rename __GENERIC_SOFT_INTERRUPTS to __HAVE_GENERIC_SOFT_INTERRUPTS,
and place the definition in <machine/types.h>.  This can now be used
as a flag to indicate whether or not <machine/intr.h> can be included
to get the generic soft interrupt API.
2001-01-14 23:50:28 +00:00
martin a261276f16 The i4b raw b-channel devices actually do have an ioctl routine,
so better add this to the cdevsw entry.
Noted by Bruno Achauer.
2001-01-14 11:17:28 +00:00
martin 6695531e85 Fix format warnings to make it compile again. 2001-01-14 09:43:33 +00:00
thorpej a3ec356d52 splimp() -> splvm() 2001-01-14 03:22:04 +00:00
thorpej 979919ee0f splpmap() -> splvm() 2001-01-14 02:03:48 +00:00
thorpej d85a75f583 Make sure everybody has an splvm() and equate it with splimp() (splimp()
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
2001-01-14 02:00:37 +00:00
pk b1b7565190 Implement bus_space_subregion(). 2001-01-12 15:24:15 +00:00
pk 301b806db0 ebus_find_node(): plug memory leak; make debug output meaningfuller. 2001-01-08 22:15:47 +00:00
martin f53c899649 Add isdn devices to all archs that seem to support at least one of the
necessary busses. Sync comments with reality for archs that already had
the devices.
2001-01-08 21:46:33 +00:00
eeh 4020842234 Fix faults caused by incorrect cacheing information in the pv_entry. 2001-01-03 23:05:22 +00:00
pk cf53c74834 * Apply proper cast for 32 -> 64 bit pointer argument conversion.
* Since probeget() isn't geared up to deal with _arbitrary_ memory fault
  types (and doesn't work at all when called from an interrupt context),
  add explicit sanity checks on a stack frame's contents before use
  (XXX - needs revisiting).
2001-01-03 15:33:34 +00:00
takemura c5fd828440 replace 'long long' with int64_t to compile stand alone program with
compiler other than GCC.
2001-01-03 10:08:55 +00:00
eeh fe278fa440 Make INCR() atomic. 2000-12-31 21:05:21 +00:00
mjacob 366352e859 Enable Qlogic PCI cards 2000-12-30 19:30:50 +00:00
mjacob a8b078eb95 more missing #ifdef DEBUG goop 2000-12-30 07:42:42 +00:00
mjacob f8e9b56ebf Fix a 'defined but not used' error (GENERIC doesn't define DEBUG). 2000-12-30 07:34:40 +00:00
eeh 3ec59504f9 Lower PIL_SCHED below the zs interrupt so we don't get silo overflows. 2000-12-29 18:37:05 +00:00
eeh f5c0f0c5a8 Separate schedclock from statclock on machines w/counter-timers. This
lets us lower splsched().
2000-12-29 18:35:18 +00:00
eeh e8b285df6a pseg_get tells us whether it really needed that spare page after all. 2000-12-29 18:32:47 +00:00
eeh fcae6c100a Fix LOCKDEBUG issues. 2000-12-29 18:29:19 +00:00
eeh a5ecd862b1 Fix some 32-bit assembly code. 2000-12-29 17:13:33 +00:00