Commit Graph

99940 Commits

Author SHA1 Message Date
gmcgarry 2e0c7e68a5 Implement true LL/SC emulation. Mostly from Jason Thorpe in PR17548. 2002-07-21 05:47:51 +00:00
uwe fee27e724f Add definitions of IGS coprocessor registers (not used yet).
Always init chip via I/O space.
Map only I/O registers we actually need.
Automatically detect if we need to do bswapping
Add (untested) code to use automagic bswap on CyberPro.
Report video memory amount.
Report if/how bswapping is done.
2002-07-21 02:56:35 +00:00
itojun 7f9bb4693b missing systrace_lock() around lock operation. sync w/openbsd, provos ok 2002-07-21 00:25:01 +00:00
lukem e3c1695a2b add back comment lost in previous revision 2002-07-21 00:12:28 +00:00
itojun 8b02a8b924 remove unneeded extern decl (commented out). sync w/kame 2002-07-20 21:11:55 +00:00
jdc a88a6bf877 Minor typo - control mode is 'enrst0' not 'enst0'. 2002-07-20 18:22:47 +00:00
yamt 62d438e597 reflect current value of MAXSYMLINKS. from FreeBSD. 2002-07-20 17:56:28 +00:00
mjl 7fc6ed7c11 Correct obviously wrong memset() args. OK'd by itojun. 2002-07-20 16:51:43 +00:00
hannken 856bd17f66 Convert to new device buffer queue interface. 2002-07-20 16:30:18 +00:00
mjl c455730141 Correct #ifdef'ed out usage of memset 2002-07-20 14:18:45 +00:00
mrg 154a2d2a42 use <sparc/foo.h> where appropriate. now these files become very
very difficult to get out of sync.  add bootinfo.h and promlib.h
(using the same method) so that sparc64 headers can build sparc
stand (not yet finished.)
2002-07-20 11:52:21 +00:00
mrg e723e36e79 create a "sparc" symlink as well. sync kernels. 2002-07-20 11:48:17 +00:00
mrg 950cb7a7a6 install "sparc" includes for sparc64 as well 2002-07-20 11:46:14 +00:00
mrg eca4d02c51 be sure to link "sparc" dir as well, for sparc64 2002-07-20 11:44:31 +00:00
mrg 8543c0c2bc make sparc64 friendly. 2002-07-20 11:43:43 +00:00
mrg 83a8e86ca3 add -Wa,-Av8plus to CFLAGS if we are building for 32bit sparc 2002-07-20 11:43:34 +00:00
hannken 96ea8912e6 Convert to new device buffer queue interface. 2002-07-20 11:28:07 +00:00
yamt b12240e0dd don't test PIC here. 2002-07-20 08:54:04 +00:00
yamt e8f5276e42 for _I18N_DYNAMIC, use CSHLIBFLAGS instead of CPICFLAGS. 2002-07-20 08:51:32 +00:00
yamt 4f420b3122 - add CSHLIBFLAGS.
- fix typos in comment.
2002-07-20 08:50:10 +00:00
grant eda9e509bb sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
mrg 44a3eec3a0 sync these with the sparc64 versions. 2002-07-20 08:37:30 +00:00
grant 6742cb1812 sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:36:17 +00:00
mrg c5c02584f0 fix an error message. 2002-07-20 07:45:08 +00:00
lukem 49306c00c1 work around argument quoting warning 2002-07-20 07:39:30 +00:00
lukem e58bf406f1 Mount the mfs /instfs with a reasonable inode density, otherwise it
runs out of space.
Problem found & fixed by Adam Lebsack <adam@lebsack.com> in [port-sparc/17614]
2002-07-20 07:06:28 +00:00
lukem f478f495f1 - Explicitly reference "install" as "${.CURDIR}/install" as our <bsd.own.mk>
does a ".PHONY" on "install", and this prevents .PATH lookups working for
  that target, so "make" unnecessarily considered the files out of date and
  rebuilt them every time.  (make(1) needs a .NOTPHONY)
- Separate out the TOC dependencies so that a given ${TARG}.type only
  depends upon the appropriate ${TARGET}.type.toc.  Prevents unnecessary
  rebuilding of all the TOCs when you're only generating one target type.
- Remove *.toc.tmp in cleannotes.
2002-07-20 06:59:19 +00:00
tsutsui 4b541a44d0 Drop a trailing space in bootstr[] properly. 2002-07-20 06:44:45 +00:00
yamt b9911a030d #if 0 out unused functions. 2002-07-20 05:40:55 +00:00
yamt c819f95798 show_file: don't append '\n' if fopen failed. 2002-07-20 04:59:47 +00:00
thorpej 67b2a0cf06 * Add copyin_proc() and copyout_proc(), which are like copyin() and
copyout(), except they can operate on any process, not just curproc.
* Use this in uiomove() to allow UIO_USERSPACE to non-curproc.
2002-07-20 03:58:24 +00:00
ichiro 2556a42f35 attach/match separated from ixp12x0_com
Some bug of com driver have been improved.
2002-07-20 03:09:03 +00:00
lukem 95ca9a452f escape ... 2002-07-20 02:41:15 +00:00
lukem 93f4baca25 Nx*V is not a valid macro... 2002-07-20 02:10:58 +00:00
ichiro c0a235d462 change path of include file 2002-07-20 01:36:56 +00:00
simonb 895a23e8ae Add an "#ifndef NIXPCOM" check so that this builds on non-evbarm. 2002-07-20 00:26:51 +00:00
itojun 09168838b3 comment clarification. from openbsd 2002-07-20 00:03:08 +00:00
itojun 9aa540391b add missing systrace_{un,}lock in systrace_poll. reported to provos.
don't use MALLOC() with variable size.  from openbsd.
2002-07-19 23:55:01 +00:00
mycroft c70a898b67 Fix multiple bugs:
* Select dense or sparse space based on the prefetchable flag, like the kernel
  does.  In particular, non-prefetchable mappings are forced to sparse space.
* If no window is matched, return MAP_FAILED, rather than falling through and
  blowing chunks.
* Ignore addr_shift (set it to 0) for dense mappings.
2002-07-19 22:03:39 +00:00
ichiro 0fa83706ca make compile "IPAQ" 2002-07-19 19:29:28 +00:00
yamt c4ca16e864 show_file: add an extra '\n' unless file ended with '\n'. 2002-07-19 19:18:26 +00:00
ichiro 422658da08 move sa11x0 to under arch/arm
make compile
2002-07-19 19:15:48 +00:00
ichiro ca24dad921 make compile 2002-07-19 19:07:33 +00:00
yamt 5eb02a32ce - remove handling of PKG_ADD_BASE.
- don't search current directory if PKG_PATH is set.
- don't prefer local directories.
- constify and cleanup.
discussed on tech-pkg.
2002-07-19 19:04:33 +00:00
scw a486314d8a Apply thorpej's recent All-Ports conf.c change. Seems SH5 slipped
through the net the first time around. Here's the relevant snippet
of the original commit message:

Rename cdev_systrace_init() to cdev_clonemisc_init(), so it can
be properly used by any misc. cloning device.
2002-07-19 18:53:15 +00:00
ichiro a52924b3fa change include path 2002-07-19 18:36:26 +00:00
jdolecek 9c55530336 Properly detect error in kernfs_xread().
Fixes kern/10278 by IWAMOTO Toshihiro, though implemented different way.

While here, clean up some int vs. size_t confusion, make
kernfs_x{read|write}() static and g/c some #if 0 stuff.
2002-07-19 18:35:44 +00:00
ichiro 08dbae76fb sync to hpcarm/sa11x0
later, remove hpcarm/sa11x0
2002-07-19 18:26:56 +00:00
yamt 406ebf54e0 usually, VOP_SEEK checks new offset, not old one. 2002-07-19 17:28:29 +00:00
thorpej 3912e469dd Rename cdev_systrace_init() to cdev_clonemisc_init(), so it can
be properly used by any misc. cloning device.  While here, correct
a comment to indicate that "open" is the only entry point and that
everything else is handled with fileops.
2002-07-19 16:38:14 +00:00