Commit Graph

104904 Commits

Author SHA1 Message Date
jdolecek
081a94b01c linux_sys_times(): if tms is NULL, just return the number of ticks since
boot, don't error out; this matches what Linux does

Fixes problem reported in kern/19027
2002-11-13 08:27:10 +00:00
yamt
64f7cc2afc make stack trace on i386 work again.
(signed vs unsigned)
2002-11-13 05:59:28 +00:00
provos
a5883f1616 fix systrace panic that was introduced when postponing pid number allocation
approved itojun
2002-11-13 00:51:02 +00:00
chris
62fa2583b2 pleasemountroot has 4 %s's in it. Note that the fr translation needs
updating to 4.
2002-11-13 00:43:09 +00:00
itojun
d7ec2d5997 fix remote buffer overrun. from openbsd tree (1997). 2002-11-13 00:21:05 +00:00
manu
530968e795 The kernel now builds with COMPAT_DARWIN. 2002-11-12 23:40:19 +00:00
manu
3a24fac219 Explain how WIF* macros use the status value instead of the pointer to the status value as wait() does. We use the name 'status' both as the argument to wait() and WIF* macros, this is misleading. 2002-11-12 22:48:40 +00:00
kleink
a4d0ca7ffd setlocale(LC_ALL, "") on startup. 2002-11-12 22:41:01 +00:00
chris
164b37a80c Tweak a few minor things:
when looking to reenable caching, only do so if all the pages aren't already
cached.
Convert some ints to unsigned int.  (scarily this actually shows the biggest
decrease in timing for my benchmark, I guess the compiler can optimise better)
2002-11-12 22:14:21 +00:00
manu
f3eaadfead Darwin system calls skeleton 2002-11-12 22:04:07 +00:00
cgd
a9ff9eb14c to catch up with the recent gcc compiler driver changes, add -mno-abicalls
to AFLAGS.  In CFLAGS, remote -mno-half-pic (unneeded), and add -msoft-float
(needed for gcc 3.3).
2002-11-12 19:34:40 +00:00
manu
114cae0e54 Fix the stack layout on program startup. This should be:
(8 bytes boundary) PAGE_SIZE   argc    argv  .... envp
2002-11-12 19:01:18 +00:00
chs
7d8622764c when there are multiple matches for the requested media, select the first
matching instance rather than the last one.  this restores the behaviour
in the multiple-match case to what it was when all the drivers only allowed
instance 0 (and in particular, makes autonegotiation of the on-board fxp
on my DK440LX board work again by default, which has two PHYs that both
advertise "auto").  as discussed on tech-net.
2002-11-12 16:54:45 +00:00
minoura
444fdc6bb9 Typo.
- missing argument
  - s/of of/of/
2002-11-12 15:45:42 +00:00
jdolecek
5be9e6d9c2 sync with C.msg rev 1.8 2002-11-12 14:52:03 +00:00
skrll
3f05b3f7ab Add extern svc_fd_lock if __REENT and include rpc_internal.h only once. 2002-11-12 14:50:23 +00:00
itohy
cbb1f0fb0f MKDYNAMICROOT for a.out 2002-11-12 14:33:48 +00:00
itohy
5b3e8cb3f2 Do not print \0 at the end of error message. 2002-11-12 14:26:10 +00:00
nisimura
abad61e77f Remove o32 stack layout exposure form cpu_fork().
Tested on R4000 and R3000.
2002-11-12 14:00:41 +00:00
kleink
60e088b1a4 Oops, ENOSR: resource -> resources here, too. 2002-11-12 13:52:28 +00:00
blymn
c4774e1260 * Don't keep evaluating fingerprint if there is no fingerprints for the
device.  Should help performance when no fingerprints are loaded.
* Back down the securelevel, now securelevel of 2 will make lack of
  fingerprint or fingerprint mismatch a fatal error.  Previously this
  was done at securelevel 3 or greater.
2002-11-12 12:54:36 +00:00
fvdl
69728c4ced The kernel lock must be held around ADDUPROF. 2002-11-12 11:51:54 +00:00
kleink
a9e83bfe48 Review oversight: ENOSR: resource -> resources, which is what the
standard says, and which fits the resource allocation failure better.
Also, bump the date.
2002-11-12 10:30:42 +00:00
kleink
792483ae22 Review oversight: ENOSR: resource -> resources, which is what the
standard says, and which fits the resource allocation failure better.
2002-11-12 10:28:27 +00:00
kleink
090efccaaa Sync with C.msg rev. 1.7. 2002-11-12 10:21:07 +00:00
chris
747fcfc089 Fix PTE_FLUSH_RANGE macro, it should have had a cnt parameter. 2002-11-12 09:46:37 +00:00
jdolecek
baa85d9ea0 add translation for the new error messages added in rev. 1.7 of C.msg 2002-11-12 09:25:26 +00:00
skrll
b207990164 Add the missing errno symbols that are defined in IEEE Std 1003.1-2001.
The language message files need updating.

Change reviewed and OK'd by Klaus Klein.
2002-11-12 08:20:02 +00:00
manu
f130f7a839 In mach_reply_port, don't increment the returned port for now, this confuses
the binary on the second launch.
In mach_vm_map, hack in a failure so that we fail exactly like Darwin when
mapping a page at address 0
Add vm_allocate trap
2002-11-12 06:14:39 +00:00
manu
3eb20e3576 mach_ports_lookup allocate one page of memory and returns its address.
On error, most traps return a short packet with just an error code, emulate
this correctly.
2002-11-12 05:18:31 +00:00
itohy
f2cc0d2ae5 add non-ELF .align 2002-11-12 03:03:10 +00:00
itojun
50a545a34b remove all entries in rt timer queue on ip_mtudisc change, instead of
destroying the queue.
2002-11-12 02:10:13 +00:00
itojun
6a151fcce1 ckout previous - doesn't compile 2002-11-12 01:57:07 +00:00
itojun
9a8b644578 update ip_mtudisc sysctl change handling. 2002-11-12 01:38:09 +00:00
itojun
96910acf99 add an argument to rt_timer_remove_all(), to specify if we need to call
timeout routine on removal.
2002-11-12 01:37:30 +00:00
simonb
96c9d84cda Add support for the ST M41T81 RTC found on pass 2 swarm boards.
XXX: Much of this should live in arch/sbmips instead of arch/mips/sibyte.
XXX: These should be replaced with MI SMBus drivers one day.
2002-11-12 01:22:25 +00:00
simonb
39a06351b8 Register definitions for the ST M41T81 serial-access RTC. 2002-11-12 01:01:37 +00:00
simonb
609018be94 Register definitions for the Xicor X1241 2-wire RTC. 2002-11-12 01:00:59 +00:00
simonb
8243c6f1d3 s/bcopy/memcpy/ 2002-11-12 00:49:08 +00:00
simonb
e60e871a8e Fix the end-of-kernel calculation when we don't have a valid bootinfo
structure.  From Chris Demetriou.
2002-11-12 00:47:10 +00:00
oster
bd2dd01d29 xorBufCount needs to be initialized too! 2002-11-12 00:01:32 +00:00
thorpej
f53bc0b607 Fix signed/unsigned comparison warnings. 2002-11-12 00:01:21 +00:00
thorpej
aa27d116a6 Avoid strict alias warning. 2002-11-12 00:00:23 +00:00
thorpej
3d397e0087 Fix signed/unsigned comparison warnings. 2002-11-11 23:56:46 +00:00
thorpej
4ba7375da3 Fix signed/unsigned comparison warnings, and shadow warnings. 2002-11-11 23:43:03 +00:00
thorpej
ff64706c9f Fix signed/unsigned comparison warnings. 2002-11-11 22:53:19 +00:00
wiz
e949218216 Add mtd(4). 2002-11-11 22:35:04 +00:00
wiz
ac2f36aea8 Add mtd(4) man page by Martin Husemann and Peter Bex, with some
improvements by me.
2002-11-11 22:34:27 +00:00
he
aba5de5e41 Remove a PARANOIADIAG check which is a bit too paranoid. This one
would now trigger whenever a previously used "cached" uarea was reused.

Reviewed by thorpej and chs.
2002-11-11 22:30:15 +00:00
pooka
36e8081d49 rename EAP_EN() to the more descriptive EAP_DAC_EN(), and
use it everywhere.
2002-11-11 22:17:47 +00:00