Commit Graph

94569 Commits

Author SHA1 Message Date
yamt ede3d88aad calculate the return value of wcsrtombs correctly
for stateful encodings.
2002-03-25 19:10:45 +00:00
uch b095a0d0c5 ANSIfy, KNF 2002-03-25 18:59:39 +00:00
manu 0e9d73c741 Added support for IRIX kernel var emulation in kmem (not functionnal yet) 2002-03-25 18:43:59 +00:00
thorpej b17e7a03c2 Clean up pmap_map_ptes() and pmap_unmap_ptes() a little, and add
a debug assertion that curproc is never NULL if mapping a non-current
pmap.
2002-03-25 17:50:12 +00:00
uch 13b945ce31 recompile. 2002-03-25 17:34:53 +00:00
thorpej a2d8f71d01 The target page of pmap_zero_page(), pmap_pageidlezero(), and
pmap_copy_page() will never have any mappings.  Therefore, it
is unnecessary to do a cache clean for that page.

Add assertions in #ifdef DEBUG that assert this invariant.

This shaves some cycles off the frequently-called pmap_zero_page()
and pmap_copy_page() (no need to look up the dst page's vm_page
structure, and one less function call to clean the page).
2002-03-25 17:33:26 +00:00
uch d1f348c04d add EditText to "option tab window" for user can put extra options to
kernel. patch by Hirokazu FUKUI <hfukui@sannet.ne.jp>
2002-03-25 17:23:19 +00:00
thorpej 75cb2c6554 * Clean up some comments/whitespace.
* Don't construct a fake trap frame and pass it to main(); that hasn't
  been needed for some time.
* panic if main() returns.
2002-03-25 16:58:18 +00:00
thorpej 13dab83888 Use the generic ARM procfs_machdep.c 2002-03-25 16:42:30 +00:00
thorpej aa0ba8096c Use the generic ARM process_machdep.c 2002-03-25 16:41:15 +00:00
martin 0db68b667b Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.
2002-03-25 16:39:52 +00:00
thorpej ec1c475f7c Use the generic 32-bit ARM setstack.S 2002-03-25 16:36:25 +00:00
thorpej a4d12b89f5 Use the common 32-bit ARM setcpsr.S 2002-03-25 16:34:46 +00:00
thorpej a61914be93 Garbage-collect fetchuserword(); nothing uses it any more. 2002-03-25 16:32:55 +00:00
is 89bf05888a make this compile again 2002-03-25 15:42:09 +00:00
is 41c0b419fc the big ISDN renaming 2002-03-25 15:41:21 +00:00
martin 909e313a80 Remove a leftover from the BRI registry at layer 2.
Initialize layer 2's idea of it's BRI id after attaching.
2002-03-25 14:44:46 +00:00
martin 963ecd396e Plug a memory hole when detaching ISDN controllers. 2002-03-25 14:25:06 +00:00
shiba a3b10f5127 Switch mac68k to ELF. Now the default executable binaries are ELF.
Approved by Scott,briggs,fredb,wormey
2002-03-25 14:03:05 +00:00
wiz f4c5d5828e Two formatting fixes. 2002-03-25 13:53:43 +00:00
shin a257a8dad5 if root device is md, change KLOADER_KERNEL_PATH to "/mnt/netbsd". 2002-03-25 13:47:26 +00:00
shin 142e7ef1a1 vrpiu needs wsmouse. 2002-03-25 13:24:18 +00:00
aymeric 434696e615 include <machine/conf.h> instead of <sys/conf.h>
The new DEV_RELOAD macro is defined in machine/conf.h and we need it.
2002-03-25 13:14:10 +00:00
martin a994533d0a Make pcmcia cards detach properly.
Notify userland of attaching/detaching cards.
This partly fixes PR 15951.
2002-03-25 12:07:33 +00:00
kent e242265100 Mention /usr/lkm/{compat,exec}_pecoff.o
Correct URLs
2002-03-25 10:17:29 +00:00
shin a1f41292a6 reduce GP size. 2002-03-25 10:02:50 +00:00
shin b7ac9aaff3 TX3922 is supported by GENERIC. 2002-03-25 09:42:30 +00:00
shin a49599223d this document is obsoleted. 2002-03-25 09:40:58 +00:00
dbj ea44522489 changes from Warner Losh to read firmware version for non prism2 cards 2002-03-25 09:10:54 +00:00
martin 8a2d9422bd Fix confusion about the return value from the internal MI probe routine.
Make the ISA probe actually (silently) fail if no card is found.

XXX - need to aquire the SBUS variant of this card some day or have
Jaromir find an MCA one.
2002-03-25 09:08:09 +00:00
martin 642b1a7163 Remove dummy_splraise() - it is not needed according to Paul Kranenburg.
We may revisit this once a general interrupt queuing mechanism is
available and we can avoid calling the pcmcia cards interrupt handler at
an exsessive IPL.
2002-03-25 09:02:54 +00:00
shin d2df7381ed enable kloader. 2002-03-25 08:42:35 +00:00
kent df092d3ea8 Add /usr/lkm/compat_pecoff.o 2002-03-25 08:04:06 +00:00
lukem 25c4cc30b2 Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines.  Add gethost.o back to Really Small media which
appears to need the space savings.
2002-03-25 07:43:39 +00:00
lukem 7e4ac704fe correct comment 2002-03-25 07:39:50 +00:00
kent 9392b84ff9 Introduce a new LKM `compat_pecoff'
Add it to SUBDIR.

To enable PECOFF, do the following:
	# modload /usr/lkm/compat_pecoff.o
	*then*
	# modload /usr/lkm/exec_pecoff.o
2002-03-25 06:52:41 +00:00
kent d92d45e16c Move a variable `emul_pecoff' to new file. 2002-03-25 06:44:46 +00:00
mrg 40fa931dcb remove vnd. use -mcpu=ultrasparc. 2002-03-25 05:54:51 +00:00
thorpej dbe6d8291b * Fix use of pmap_curmaxkvaddr.
* Use the PTP hint in the pmap.
2002-03-25 04:51:19 +00:00
itohy ab5fe01c20 Print ttyinfo *before* (not after) sending SIGINFO to processes.
This generates more useful information of a process who catches SIGINFO,
rather than always printing "runnable" (the process is marked runnable
because of the signal).
Inspired by the behavior of BSD/OS.
2002-03-25 04:26:43 +00:00
wiz 7a92731e6f Fix typo in last (which broke the script). 2002-03-25 03:22:10 +00:00
thorpej 8500c97458 Move some private pmap data structures into pmap.c 2002-03-25 03:00:28 +00:00
thorpej c93e4f6940 Tidy a few things up. 2002-03-25 02:51:32 +00:00
thorpej a9cba12f54 Correct the comment describing the layout of the VM space. In
particular, don't describe a recursive PTE mapping, since the ARM
port doesn't (and can't) use one.
2002-03-25 02:44:07 +00:00
chs fe10bac175 if the size argument to write(2) is 0, do not modify the file in any way,
including updating timestamps.  required for standards conformance.
2002-03-25 02:23:55 +00:00
chs f80ed5892c remove PGO_WEAK, it isn't needed anymore. 2002-03-25 02:08:09 +00:00
lukem 33b72e78ec use check_RELEASEDIR 2002-03-25 01:58:57 +00:00
chs 76cacb8710 when processing PG_RDONLY, mask off VM_PROT_WRITE instead of hard-wiring
VM_PROT_READ (since we might have VM_PROT_EXEC too).  this fixes problems
running binaries out of NFS on macppc.  yet another fix courtesy of enami.
2002-03-25 01:56:48 +00:00
thorpej da2944b10e In the Prefetch Abort handler, just do the uvm_fault() dance
directly, rather than doing a data access to fetch the page,
which meant we had to take another fault (!!).
2002-03-25 01:53:36 +00:00
simonb c9f9583821 Back out rev 1.6, per discussion with Aymeric Vincent and Antti Kantee.
Rev 1.6 fixes an obscure core-dump problem, but changes the long time
behaviour of cursor positioning when switching files.

"Fixes" PR bin/15891.
2002-03-25 00:13:56 +00:00