Commit Graph

94620 Commits

Author SHA1 Message Date
kleink
032762e1e9 On the 601, construct the CPU counter value from the RTC[UL] registers. 2002-03-26 21:50:39 +00:00
matt
12810ed37d Use size_t in prototype (so this will be LP64 clean for PPC64 someday).
Calculate len separately for icache & dcache in case each has different
cacheline widths.  Make the code for both loops the same except for the
dcbst/icbi.  Deal with sizes >=2GB properly (like that'll happen but ...)
2002-03-26 21:20:24 +00:00
thorpej
dde8f75509 Only build pciconf.o if pci is configured. 2002-03-26 19:31:40 +00:00
thorpej
41f47f03e7 Restructure a few things in order to support other XScale core
I/O processors:
* The i80200 and the i80321 have the same CPU ID, so split the
  CPU_XSCALE option into CPU_XSCALE_80200 and CPU_XSCALE_80321
  options, and don't let them both be defined at the same time.
  XXX May want to revisit this in the future.
* Split some registers common between the i80200 and i80321 into
  <arm/xscale/xscalereg.h>.
* Rename a few existing functions.
2002-03-26 19:29:44 +00:00
drochner
fe52be52a6 Add the actual session offset to the volume size. This makes
a) the "df" output not an underestimate (Multisession cd filesystems can
   refer to data in previous sessions)
b) some checks where a block number is compared against the volume size
   succeed - I got mysterious misbehaviour with RR extensions
2002-03-26 19:04:23 +00:00
manu
58537aa4d9 Fixed a typo in DEBUG_IRIX code 2002-03-26 16:58:56 +00:00
manu
a4085df772 - Uses p->p_stats->p_ru instead of p->P_ru to get ressource usage, since
p->p_ru sometime happens to be equal to 0xdeadbeef.

- added more debug output.
2002-03-26 16:38:12 +00:00
christos
5c8e181780 We are not guaranteed that we have enough bytes to get a struct ip from our
mbuf. So if we receive a short packet, that looks like gif we would panic.
Reviewed by thorpej, tested by Kimmo Suominen and Andreas Wrede. Thanks for
the help in tracking this down.
2002-03-26 16:05:03 +00:00
fvdl
edcf4b63ed Fix stack usage for temporary storage. From Stephen Ma in PR xsrc/15404. 2002-03-26 15:17:37 +00:00
isaki
d4e117205d set factor=1/2 even if recording. 2002-03-26 15:05:29 +00:00
fvdl
2f5a2ef5af Start signal stack at -128(%rsp), like the ABI specifies. 2002-03-26 15:02:42 +00:00
fredette
c3d894c1c3 Wait longer for the mouse self-test to complete, otherwise some
faster machines decide that the mouse is broken.
2002-03-26 13:59:10 +00:00
manu
da6e8ccbe8 Don't allocate struct swapent when we only need a struct oswapent. 2002-03-26 11:50:26 +00:00
uch
3b784af7f0 remove MIPS3_L2CACHE_ABSENT option, since R5900 D-cache is 8KB
2-way. no need to worry about virtual aliasing.
2002-03-26 11:06:56 +00:00
uch
9c5fd0f84c change MAXPARTITIONS to 16. 2002-03-26 11:01:45 +00:00
manu
a0fa2e7fa5 Added support for sysmp system accounting structures. Only real memory info
is defined yet, but it returns zeroes (will be fixed later).
2002-03-26 10:54:40 +00:00
manu
2ccdf1d7ec Added truncate(2), ftruncate(2), truncate64() and ftruncate64(), the two latter
being untested yet.
2002-03-26 10:52:52 +00:00
kanaoka
e42f3e3081 Change scan step from 16 to 2, when pxe_init() check the presence of PXE.
This change improve checking the presence of PXE.
2002-03-26 08:02:05 +00:00
chs
23825982c3 add support for SMC 9332DST. 2002-03-26 07:57:16 +00:00
yamt
9e8142572a fix wcsrtombs to restart correctly. 2002-03-26 07:53:38 +00:00
chs
99b5d17961 move some prototypes from tulip.c to tulipvar.h so they can
be used by bus-specific code.
2002-03-26 07:41:40 +00:00
yamt
8468b78b76 move mbrtowc to _amd1 from _c90. 2002-03-26 06:10:27 +00:00
shin
ae418cfcb0 enable NFSSERVER. 2002-03-26 05:26:37 +00:00
mhitch
a0e1b0e0d1 Need to include files.o for the file descriptor table used by open().
The -S flag to indicate secondary boot no longer takes a size - size is
computed from input image.
2002-03-26 05:21:37 +00:00
mhitch
1ae1c48b8f Need to include files.o for the file descriptor table used by open(). 2002-03-26 05:19:39 +00:00
mhitch
2f871ae8a1 Check for referencing undefined symbols, and bail out if there were any.
Change the -S option to just a flag for Secondary boot, and compute size
of bootfile image from the input.  Secondary boot is no longer a fixed size.
2002-03-26 05:18:19 +00:00
lukem
4bd6b3cf5e as this uses libhack, copy in a useful etc/master.passwd rather than
an unused etc/passwd
2002-03-26 01:12:36 +00:00
kleink
7df1d60bab Bump version to note 601 support. 2002-03-26 00:11:54 +00:00
kleink
ccf604db9e Adapt this to the 601's RTC. 2002-03-26 00:03:47 +00:00
thorpej
ef51c9bc83 Back out DEFAULT_SHORT_ENUMS; it's actually causing some real problems,
and we need to come up with a better strategy.

Per discussion with Ben Harris.
2002-03-25 23:26:31 +00:00
thorpej
3964313f67 Fix reporting of the kernel virtual address space range to UVM. 2002-03-25 22:11:12 +00:00
kleink
7e9d845469 * Add MPC601 versions of BAT_VA_MATCH_P() and BAT_VALID_P().
* Make the extern declaration of the battable array incomplete;
  a given port might want to use a differently-sized definition to
  support the 601 BAT implementation, where blocks map up to 8M only.
2002-03-25 21:35:45 +00:00
thorpej
7c7c319cb3 There is no need to use a kthread to read the VIA environment
sensors.
2002-03-25 21:29:58 +00:00
scw
6d5da55a5a Make sysinst the default installer, with the option of falling back
to the old shell-script installer. Based on the sparc dot.profile.
2002-03-25 21:14:32 +00:00
scw
64b9487395 Add MAKEFS_FLAGS, as suggested by Luke Mewburn. This fixes a problem
with a lack of inodes on the miniroot image.
2002-03-25 21:12:51 +00:00
thorpej
b017898534 Get flags passed down to PHY drivers correctly. This was done on
an adhoc basis in a couple of PHY drivers, this fixes it more generally.

Per a discussion w/ Cliff Neighbors <cliff@allegronetworks.com>.
2002-03-25 20:51:24 +00:00
yamt
c89607bec7 wcsrtombs: handle dst == 0 case correctly. 2002-03-25 20:47:02 +00:00
manu
76084f5561 Added syssgi(PATHCONF), which implements pathconf(2), and syssgi(SETPGID)
which implements setpgid(2).
2002-03-25 20:42:50 +00:00
jdolecek
174534705d use DTYPE_VND (the one intended) rather than bogus DTYPE_VNODE
for the GEMDOS disklabel check
indent the if condition so that the intent is clearly visible
discussed with Leo Weppelman
2002-03-25 20:42:40 +00:00
yamt
e274c8a885 - handle the case that buffer size == 0 for wcsrtombs.
- add a XXX comment.
2002-03-25 20:29:30 +00:00
martin
9611ef91c3 Cosmetical nitpick: initialize TEI to -1 instead of 0, to prevent
controllers that don't touch it at all to display a bogus, but
theoreticaly valid value.
2002-03-25 20:28:41 +00:00
yamt
bf790e3b07 return value 0 doesn't have special meanings. 2002-03-25 20:01:22 +00:00
wiz
e5b8ea6058 Fix typo in warning, reported by Tero Kivinen in bin/16055. 2002-03-25 19:55:41 +00:00
thorpej
a2a309d02a * Some cleanup.
* Delete the call to pmap_copy() in pmap.h
2002-03-25 19:53:38 +00:00
yamt
c5c3bb4159 fix mbtowc to return if the encoding's state-dependent or not
correctly.
2002-03-25 19:40:35 +00:00
wiz
4a4415baa7 End sentence with a dot, not a comma. 2002-03-25 19:32:26 +00:00
wiz
f476686b6c mdoc fixes 2002-03-25 19:27:45 +00:00
yamt
88fef345a8 return value 0 doesn't have any special meanings. 2002-03-25 19:22:13 +00:00
martin
cf777df74c Add ifpci.4, sort. 2002-03-25 19:19:46 +00:00
yamt
de5444e862 - return value 0 doesn't have special meanings for wcsrtombs.
- add a note about terminating null byte for s == NULL case.
- s/null byte/null wide character/ in some place.
2002-03-25 19:17:02 +00:00