kleink
7918542181
Need <lib/libkern/libkern.h>.
2001-05-28 15:53:51 +00:00
chs
11a9651c8f
replace vm_page_t with struct vm_page *.
2001-05-26 21:27:10 +00:00
lukem
33e8c1a04f
delint: don't try & return something from void pci_intr_disestablish()
2001-05-15 14:48:57 +00:00
soren
945b972563
PPC machine type tags haven't been used for a while.
2001-05-03 13:11:24 +00:00
scw
2963ff5c58
Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
...
in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
thorpej
cf67ac7122
Per discussion w/ chuck and chuck, restructure the md page stuff
...
to use a structure called "vm_page_md", and use __HAVE_VM_PAGE_MD
and __HAVE_PMAP_PHYSSEG.
2001-05-01 02:19:13 +00:00
thorpej
2b27ac7a99
Add a VM_MDPAGE_MEMBERS macro that defines pmap-specific data for
...
each vm_page structure. Add a VM_MDPAGE_INIT() macro to init this
data when pages are initialized by UVM. These macros are mandatory,
but ports may #define them to nothing if they are not needed/used.
This deprecates struct pmap_physseg. As a transitional measure,
allow a port to #define PMAP_PHYSSEG so that it can continue to
use it until its pmap is converted to use VM_MDPAGE_MEMBERS.
Use all this stuff to eliminate a lot of extra work in the Alpha
pmap module (it's smaller and faster now). Changes to other pmap
modules will follow.
2001-04-29 22:44:31 +00:00
thorpej
1c3a62e066
Sprinkle pmap_update() calls after calls to:
...
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).
These calls are relatively conservative. It may be possible to
optimize these a little more.
2001-04-24 04:30:50 +00:00
kleink
f06533a1ee
Add definitions of C99 integer format conversion macros.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 17:13:04 +00:00
kleink
739cb75837
Add definitions of C99 specified-width integer type limits.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 15:29:02 +00:00
kleink
cdcf9f46c5
Add definitions of C99 integer constant macros.
...
Tidy Makefiles up a little.
2001-04-14 22:46:19 +00:00
kleink
a7c20e5788
Add definitions of C99 integer constant macros.
2001-04-14 22:38:33 +00:00
kleink
7affdab52e
Add definitions of C99 minimum-width and greatest-width integer types.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-14 12:19:49 +00:00
thorpej
bf2dcec4f5
Remove the use of splimp() from the NetBSD kernel. splnet()
...
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
manu
4678df7c23
Cosmetic change
2001-04-04 17:08:07 +00:00
manu
15fbc5943f
Added a comented out COMPAT_LINUX option in GENERIC kernels of PowerPC ports
2001-04-03 19:50:43 +00:00
lukem
9f60674a47
now that duplicated stuff has been moved to sys/conf.h, remove unnecessary
...
defs for: lpt, joy, pc
2001-03-21 23:42:14 +00:00
lukem
723cd818d8
move duplicate definitions for:
...
pc, lpt, joy, ocis, apm, satlink, i4bctl, i4brbch, i4btel, i4btrc, i4b
from the port-specific arch/*/*/conf.c files into sys/conf.h
2001-03-21 22:25:52 +00:00
soren
912c115675
s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message.
2001-03-21 18:40:28 +00:00
chs
ac3bc537bd
eliminate the KERN_* error codes in favor of the traditional E* codes.
...
the mapping is:
KERN_SUCCESS 0
KERN_INVALID_ADDRESS EFAULT
KERN_PROTECTION_FAILURE EACCES
KERN_NO_SPACE ENOMEM
KERN_INVALID_ARGUMENT EINVAL
KERN_FAILURE various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE ENOMEM
KERN_NOT_RECEIVER <unused>
KERN_NO_ACCESS <unused>
KERN_PAGES_LOCKED <unused>
2001-03-15 06:10:32 +00:00
thorpej
2c4c690f14
Add the BUS_DMA_STREAMING flag.
2001-03-07 22:42:16 +00:00
matt
af212d3fda
Use common switch / setfault / trampoline code. (except amigappc because
...
it doesn't use trap_subr.S either).
2001-02-25 20:34:24 +00:00
matt
e7811ad9b6
Move cpu_sysct and dump{mag,lo,siz} & cpu_dumpconf to powerpc_machdep.c.
...
dumpsys is still port-specific for now. XXX dumpsys is still a stub
on all powerpc ports.
2001-02-24 22:39:16 +00:00
matt
45f666cb9d
Remove setregs since it now lives in powerpc/powerpc/powerpc_machdep.c
2001-02-24 04:35:33 +00:00
cgd
8a986b2e96
convert to use getprogname()
2001-02-19 22:48:57 +00:00
briggs
2f624f78d6
Share a single pio.h instead of having 4 nearly-identical copies.
2001-02-05 19:33:54 +00:00
nonaka
21f8de1fcd
fix dup include ossaudio.
2001-01-23 14:12:25 +00:00
tsutsui
b19f9e6e7d
Add some working ISA devices:
...
ep* at isa? port ? irq ?
ne0 at isa? port 0x280 irq 9
ne1 at isa? port 0x300 irq 10
we0 at isa? port 0x280 iomem 0xd0000 irq 9
ne* at isapnp?
2001-01-20 11:40:50 +00:00
manu
3c98a504b9
Added previously created files for powerpc Linux compatibility to the kernel
...
config system
2001-01-19 01:51:16 +00:00
tv
e58532a4bf
No-op commit to force update to a non-"-kk" revision.
2001-01-18 17:47:58 +00:00
fvdl
c7f1462f3e
Add machdep file for procfs. Currently only used for linux-style
...
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
2001-01-17 00:07:18 +00:00
nonaka
8492c6a9e8
Add prep installer
2001-01-16 16:53:57 +00:00
augustss
46130fb7e5
Add uyap.
2001-01-16 03:38:22 +00:00
thorpej
d74e432ed3
Make softclock a generic soft interrupt of the API is available,
...
adding the requisite void * argument to softclock().
2001-01-15 20:19:50 +00:00
martin
a261276f16
The i4b raw b-channel devices actually do have an ioctl routine,
...
so better add this to the cdevsw entry.
Noted by Bruno Achauer.
2001-01-14 11:17:28 +00:00
thorpej
d85a75f583
Make sure everybody has an splvm() and equate it with splimp() (splimp()
...
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
2001-01-14 02:00:37 +00:00
martin
5d0c67c603
When adding isdn devices I forgot to check chrtoblktbl.
...
Fix this know for the affected archs.
2001-01-09 20:51:04 +00:00
martin
f53c899649
Add isdn devices to all archs that seem to support at least one of the
...
necessary busses. Sync comments with reality for archs that already had
the devices.
2001-01-08 21:46:33 +00:00
tsutsui
52f9536913
Add isapnp devices.
...
XXX CS4232 is not probed properly.
2001-01-05 17:55:38 +00:00
tsutsui
d78ca7c54a
Add isapnp attachment for prep.
2001-01-05 17:49:43 +00:00
tsutsui
93f151b221
Define VM_MAX_KERNEL_BUF and PAGER_MAP_SIZE (from macppc)
...
so that the kernel can boot with 128MB memory.
XXX: How can we determine size of the buffer cache on UBC?
2000-12-30 07:10:21 +00:00
sommerfeld
851de295eb
Change pci_intr_map to get interrupt source information from a "struct
...
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".
This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.
Tested on alpha and i386; welcome to 1.5Q
2000-12-28 22:59:06 +00:00
tsutsui
7541fda9d4
Add missing printf args.
2000-12-22 18:16:37 +00:00
bouyer
c71f40d166
Add pseudo-device vlan
2000-12-19 10:42:02 +00:00
jdolecek
cacec11253
delete obsolete comment
2000-12-17 15:52:39 +00:00
mycroft
3418812d3c
Partial syscall cleanup, as per other ports.
2000-12-14 10:33:42 +00:00
matt
a8ea1009e7
Add ThinkPad 820 audio driver (attaches but does not yet work).
2000-12-06 23:42:34 +00:00
tsubai
1b4a9cb335
Move INTSTK and SPILLSTK definitions to locore.[Ss] to allow allocation of
...
them in early startup.
2000-12-04 17:05:50 +00:00
matt
305bef7250
Cleanup/fixup gten support. Add TNF copyright (opps). This now outputs
...
text correctly. There is no colormap support (e.g. the mechanisms are in
place but does yet talk to the hardware).
2000-12-02 05:46:46 +00:00
matt
0b76f4efdf
Add support for the IBM ThinkPad 820 G10 display (which is a WD90C24A behind
...
a funky PCI-VLBUS bridge).
2000-12-01 21:54:01 +00:00