Commit Graph

29371 Commits

Author SHA1 Message Date
mhitch
edbde97cdf Fix pmap_prefer() to work in merged for mips1/mips3.
Remove unused debug procedure I forgot to remove previously.
Consolidate the vm_page_free1() calls in pmap_release().  Duplicate code
was a result of the way I merged the MIPS3 support from the pica pmap.c.
Enhance the comment on flushing the cache when releasing the segmap pages,
and add a comment about the currently unused code to uncache pages in
pmap_enter_pv().
1997-06-21 04:36:22 +00:00
mhitch
478559dd28 Merged mips1/mips3: cache alias test in pagemove(). 1997-06-21 04:24:45 +00:00
mhitch
51d10edcf2 Restore a lost (int) case in DELAYBRANCH macro - test for BR delay in
unsigned cause register wouldn't have worked.
Add missing ')' in trapdump that shows up when compiled with DEBUG.
Fix (unfix?) previous change to printf formats in mips3_dump_tlb: vad_to_pfn
is now consistant with single-CPU and merged-CPU support.
1997-06-21 04:18:29 +00:00
jonathan
68863ebd8e More mips1/mips3 changes to cpuregs.h and psl.h:
* cpuregs.h:
  Delete unused VMMACH_ names (e.g., duplicates of PTE bits in  pte.h).
  Change remaining VMMACH_xxx  names to MIPS1_xxx or MIPS3_xx.
  Fold remaining compile-time definitions into a single #ifdef MIPS3.

* Use MIPS1_ names  in locore_r2000.S, mips3_ names in locore_r4000.S

* Garbage-collect MachHitFlushDCache()

* psl.h:
  use MIPS1_, MIPS3_  symbolic names for Cause register bits.
  change  _R3K to MIPS1_,  _R4K to MIPS3. Conditionalize for mips1 only,
  mips3 only, or when both are defined,  use runtime CPUISMIPS3 test.
1997-06-21 04:18:09 +00:00
mhitch
e03cf7a95c Cast mips1-only and mips3-only pfn_to_vad() macros to match the mips1/mips3
merged inline function.  Fixes inconsist printf format usage in trap.c.
1997-06-21 04:10:42 +00:00
mhitch
70590de547 Changes for merged mips1/mips3.
Replace MachHitFlushDCache with mips3_HitFlushDCache.
1997-06-21 04:06:11 +00:00
jtc
3c3a4cdfbb Simplify how division and remainder assembly source is generated
from divrem.m4.
1997-06-21 01:42:48 +00:00
is
4b718644a7 Add RCS ids, and clean up some unused in newstyle audio hardware drivers
functions.
1997-06-20 21:45:11 +00:00
pk
70bc96148e Fix typos (PR#3762). 1997-06-20 20:42:36 +00:00
pk
4dd59ab4df Fix typos (PR#3761). 1997-06-20 20:38:08 +00:00
pk
1b0d39a29d Add a list of files (tagged with release number) that have shifted
locations since the last release. These files are removed if the
upgrade sets installed them in the new locations.
1997-06-20 20:28:41 +00:00
veego
c346252c6b Sync. 1997-06-20 20:22:59 +00:00
pk
13f64269f3 Add dumpfs', dumplfs' and `quotacheck'. 1997-06-20 20:19:23 +00:00
pk
0a085ee866 dump', dumplfs' and `quotacheck' have moved to /usr/sbin 1997-06-20 20:18:35 +00:00
pk
69e5f9827e `quotacheck' has moved to /usr/sbin 1997-06-20 20:15:24 +00:00
pk
0c0c4a7ccc `dumplfs' has moved to /usr/sbin 1997-06-20 20:14:28 +00:00
pk
c27d0fb954 `dumpfs' has moved to /usr/sbin 1997-06-20 20:13:16 +00:00
pk
3504520bd0 Install `rtquery' in /usr/sbin. 1997-06-20 19:29:43 +00:00
christos
9be11f8da1 Move fscknames from fsck.c to here and add ext2fs. 1997-06-20 15:18:03 +00:00
christos
1cf34f53c0 Move fscknames to <sys/disklabel.h> where they belong logically. 1997-06-20 15:14:09 +00:00
kleink
df14b3b830 Add some robustness to ttymodem(), e.g. do not SIGHUP when there hasn't been
an actual carrier transition; from Charles M. Hannum.
1997-06-20 10:50:11 +00:00
lukem
19474db41e Ensure calendar doesn't go past \0 in a string.
From Douglas Crosher <dtc@scrooge.ee.swin.oz.au> in [bin/1018]
1997-06-20 08:11:34 +00:00
mikel
1b973c5082 add parens for gcc -Wall 1997-06-20 07:42:01 +00:00
jonathan
63b4439556 Correct cast type on mips3_MachHitFlushDCache(). 1997-06-20 07:35:03 +00:00
mikel
1ed84205a8 add prototypes for clock_getres(), clock_gettime(), clock_settime(),
and nanosleep() syscalls.
1997-06-20 07:21:40 +00:00
cjs
ecada6375b bzero() wants pointers, not ints, for its first arg. 1997-06-20 07:06:43 +00:00
mikel
20690bcbac include <fnmatch.h> for fnmatch() prototype
use __CONCAT() to generate pathenv
1997-06-20 06:42:20 +00:00
mikel
6aa3be2874 add parens for gcc -Wall 1997-06-20 06:17:27 +00:00
mrg
2989e9f477 actually document swapctl(2). 1997-06-20 05:47:58 +00:00
mikel
7241b0ff92 fix some printf() formats 1997-06-20 05:18:22 +00:00
jonathan
5ed24fd4b4 trapDump(): compute accurate mask for EXC_CODE from CPU type at runtime. 1997-06-20 05:15:36 +00:00
mikel
ef9b3c57f0 include <stdlib.h> for getloadavg() prototype 1997-06-20 04:43:36 +00:00
mikel
b089e1397c add explicit return type for kvm_deadfiles() 1997-06-20 04:41:33 +00:00
jonathan
c6c2263566 MachHitFlushDCache -> mips3_HitFlushDCache().
Add  XXX reminder to d-cache flush I don't understand.
1997-06-20 04:34:38 +00:00
mikel
81fe6cd23a don't forget to put the program name in the error message! 1997-06-20 04:33:25 +00:00
mikel
e6077a7689 gcc -Wall fixes, including: end unterminated comment (!), add braces
to Ctp and Ptc array initializers, fix sprintf() format in
  _rmt_lseek(), add explicit return type for _rmt_ioctl(), and move
  isrmt() definition so that it's defined before it's used.
1997-06-20 04:24:23 +00:00
jtc
b92f5604b7 sync with libc 1997-06-20 02:08:04 +00:00
pk
98ce8ab879 Remove __FORK_BRAINDAMAGEd code; it's no longer needed. 1997-06-19 20:54:15 +00:00
scottr
ecc68fd60f Disassemble the MOVE16 instruction. Also, correct the spelling of
`unknown' while were here, as suggested.  From Denny Gentry
<denny1@home.com>, PR 3567.
1997-06-19 17:39:38 +00:00
perry
c6bccee655 Get rid of awk. We don't need it any more, and we can use the space
better for other things.
1997-06-19 17:28:29 +00:00
scottr
b43dd86019 Mask off page offset when building a pte for mapping the
framebuffer; from Walter Ruetten, closes PR 3147.
1997-06-19 17:00:02 +00:00
perry
4411c926a8 fsck and fsck_ffs are no longer the same program 1997-06-19 16:56:57 +00:00
drochner
cc7a41e5d2 Weaken the restrictions on the device file name a bit: /boot can
now be installed on any partition.
Allow PRIM_LOADSZ to be set in the Makefile.
This together allows to make bootable 720k floppys.
closes PR port-i386/3751
1997-06-19 11:46:44 +00:00
mikel
cdfaf160a0 add explicit return type to yyerror(), and RCSid police 1997-06-19 08:05:32 +00:00
mikel
20ae527e8e declare yyparse(), include <stdlib.h> for exit() prototype, add return
type for main(), and RCSid police.
1997-06-19 08:01:28 +00:00
mikel
8b787e68dc include <stdlib.h> for free() prototype 1997-06-19 07:50:43 +00:00
mikel
109d917438 avoid unportable arithmetic on void pointers 1997-06-19 07:41:32 +00:00
mikel
4427d4b73d fix typo, RCSid police 1997-06-19 07:21:10 +00:00
mhitch
9b445e15ea Use same cachesize variables for mips1 and mips3, and rename the variables
per Jonathan's request.
Remove switch_exit() declaration - it's now called via the locore jump vector.
1997-06-19 06:34:16 +00:00
mhitch
4fa507b4fc More merged mips1/mips3 support:
Remove cpu-specific routines from locore.S and add them to locore_r2000.S
and locore_r4000.S.  Add entries in locore jump vector table for switch_exit()
and the cpu_switch() context resume.
Add offsets into the jump vector to genassym.cf for use in locore.S.
1997-06-19 06:31:14 +00:00