dante
cb8b14827c
Adjust copyright justification
1998-08-29 13:54:50 +00:00
dante
17759893b0
Add rcs id
1998-08-29 13:44:49 +00:00
mrg
b5f69ff667
add a `char se_path[PATH_MAX]' member to struct swapent, that
...
the pathname of the swap device is saved into. add a char *swd_path
member to struct swapdev, that contains a copy of the pathname
(using malloc(9)). rename swapctl(2)'s SWAP_STATS to SWAP_OSTATS,
and add a new SWAP_STATS command (number). make swapctl(SWAP_STATS,
...) [new version] copy the path out. if COMPAT_13, also include
support for SWAP_OSTATS. also fix a minor bug in swapctl(2).
the point of this is that swapfiles are now shown in `swapctl -l'.
1998-08-29 13:27:50 +00:00
mrg
ed88a6f103
add support for finding kernels other than `netbsd'. the list is:
...
netbsd, netbsd.gz, netbsd.old, netbsd.old.gz, onetbsd, onetbsd.gz
and vmunix, in that order. this is used by the bootable `bootfs'
image (suitable for floppies and cdroms), which contains a netbsd.gz
by default.
while i'm here, fix up `boot [device] -s' which got broke when
booting kernels with a - in their name was fixed..
1998-08-29 06:40:43 +00:00
mark
eff784066e
Don't discard the proc0_pt_pte mapping and make sure that the
...
proc0_pt_pte and proc_pagedir mappings are uncached.
1998-08-29 04:58:16 +00:00
mark
4a241e1fbd
Change KERNEL_BASE to VM_MIN_KERNEL_ADDRESS.
1998-08-29 04:08:12 +00:00
mark
9eb28e934b
Include sys/types.h instead of sys/param.h
...
Junk some un-needed includes and include cpu.h.
1998-08-29 04:05:44 +00:00
mark
ae7526d965
Removed some un-necessary includes.
1998-08-29 04:01:58 +00:00
mark
c611af7c7f
Change boot_path to boot_file and initialise to NULL along with boot_args.
1998-08-29 03:57:03 +00:00
mark
5898385f6b
Change boot_path -> boot_file and initialise to NULL along with boot_args.
1998-08-29 03:55:57 +00:00
mark
4ad81305d5
Initialise boot_args and boot_file to NULL.
1998-08-29 03:53:17 +00:00
mark
80b4f63e42
Updated for some reserved majors.
1998-08-29 03:28:17 +00:00
mark
af5eba9861
Implement address validation as a separate function db_validate_address().
...
Use this function to validate the page table entries for all reads and
writes.
1998-08-29 03:21:33 +00:00
mark
3e217a0157
Remove the definition of CURRENT_PAGEDIR_HOLE and CURRENT_PAGEDIR_BASE
...
as they are no longer reference.
Move ALT_PAGE_TBLS_BASE from 0xf3c00000 to 0xf0c00000.
Increase the size of the KERNEL_VM_SIZE by 16MB now that 0xf3xxxxxx is free.
1998-08-29 03:19:55 +00:00
mark
22a3c54923
Use KERNEL_VM_SIZE to calculate the number of page tables needed for
...
the kernel data area.
Don't map the proc0 L1 page table into the L2 page tables space.
1998-08-29 03:17:27 +00:00
mark
99bb4b6b6b
Rewritten pmap_pte() not to use the mapping of the L1 page table within
...
the L2 pages tables (CURRENT_PAGEDIR_HOLE).
Don't map the L1 page table into the L2 page table space any more (easy
reference hack) in pmap_allocpagedir().
1998-08-29 03:14:14 +00:00
mark
66074cf792
Use VM_MAX_KERNEL_BUF only to limit nbuf and not bufpages.
1998-08-29 03:09:14 +00:00
thorpej
e554af53c2
Use the pool allocator (and the "nointr" pool page allocator) for
...
vm_amap structures.
1998-08-29 01:05:28 +00:00
dbj
12107a5187
Updated many of the pmap files to use current versions from the
...
mvme68k port. The next68k port now uses MACHINE_NEW_NONCONTIG.
1998-08-28 23:05:53 +00:00
dbj
abbb6f13e3
Added some machine probing information to console printouts.
1998-08-28 22:56:08 +00:00
dbj
fa906c926a
added a flag to disable the NEXT_SLOT_ID_BMAP for testing the turbo machines
1998-08-28 22:53:47 +00:00
dbj
a96195b5fd
added -Wno-main if USE_EGCS is defined
1998-08-28 22:50:54 +00:00
dbj
a538dbbf21
Moved initialization of vbr, and removed default machine configuration
...
varaiables to debug probing on the turbo machines.
1998-08-28 22:47:12 +00:00
thorpej
4b7b605d84
Use the "nointr" pool page allocator for pmap_pmap_pool.
1998-08-28 22:22:48 +00:00
thorpej
d1f73558ff
Use the "nointr" pool page allocator for pmap_pmap_pool.
1998-08-28 21:58:29 +00:00
thorpej
3d5e078fe9
Use the "nointr" pool page allocator.
1998-08-28 21:20:05 +00:00
thorpej
f1f6ec6afe
Add an alternate pool page allocator that can be used if the pool is
...
never accessed in interrupt context. In the UVM case, this uses the
kernel_map, to reduce usage of the previous kmem_map resource.
1998-08-28 21:18:37 +00:00
thorpej
7cad30cd22
Add a couple of comments about how the pool page allocator functions
...
can be called with a map that doens't require spl protection.
1998-08-28 21:16:23 +00:00
drochner
2f94f2c21c
some fixes:
...
-use of uninitialized variable in attach (mostly harmless)
-removal of dead code in attach()
-fix of interpretation of SIA blocks on >=21142 (serious, caused strange
things with 10Mbit)
1998-08-28 20:58:37 +00:00
pk
8e0c62893c
Remove cache flush from dma_espintr(); the bus dma routines take care
...
of that now. Hence we no longer need <sparc/cpuvar.h>.
1998-08-28 20:14:36 +00:00
pk
ca868d7da6
Specify our boundary restriction when allocating DMAble memory.
1998-08-28 20:07:52 +00:00
thorpej
77d0a69569
Add a waitok boolean argument to the VM system's pool page allocator backend.
1998-08-28 20:05:48 +00:00
mark
808c0cca58
Fix bug with zeroing kernel page tables that I introduced yesterday.
1998-08-28 20:04:35 +00:00
thorpej
370a38c007
Add braces to make egcs happy.
1998-08-28 20:03:10 +00:00
pk
221a000391
Pass on bus_dma*() aligment and boundary arguments.
1998-08-28 20:02:19 +00:00
pk
1643e13b90
XXX - BUS_DMA_BIT24 does not exist everywhere..
1998-08-28 20:01:08 +00:00
thorpej
f369f261d1
Fix a debug printf.
1998-08-28 19:22:50 +00:00
thorpej
f3bfb08d45
When determining the default media on the Vortex/Boomerang, don't pick
...
the full-duplex variant. XXX We should check the EEPROM for "default to
full-duplex".
1998-08-28 18:16:02 +00:00
mark
1cb7a16aed
Fix typo. The page table allocation loop in initarm() should be
...
<= NUM_KERNEL_PTS rather than < NUM_KERNEL_PTS.
1998-08-28 17:15:45 +00:00
fvdl
17c31a8a21
Add ETHER|NONE to default capabilities, or we'll panic when attaching
...
the forthcoming ex driver.
1998-08-28 12:50:36 +00:00
pk
535cdbe9f2
Slight optimization in audio_[pr]int().
1998-08-28 12:07:41 +00:00
pk
b1447741da
Nuke Dprintf; fix formats.
1998-08-28 08:59:14 +00:00
pk
9441400ef0
Nuke Dprintf; fix formats.
...
Add missing copyright.
1998-08-28 08:58:24 +00:00
pk
f6a208ce6b
Nuke Dprintf; fix formats.
1998-08-28 08:57:38 +00:00
augustss
c50af72c34
Handle the case of MIDI devices with no audio devices.
1998-08-28 07:44:12 +00:00
thorpej
70b6acd9df
Use NFS_BOOT_BOOTPARAMS until we change the boot program to use DHCP
1998-08-28 04:56:15 +00:00
mark
25ae95328f
Use kernel_pmap->pm_pdir instead of PAGE_DIRS_BASE when mapping podule
...
space.
1998-08-28 03:19:34 +00:00
mark
17dcbf485c
More reworking in initarm().
...
Further cleanup and simply the allocation and mapping of the kernel
pagetables and static data pages.
Removed the page directory page table as it is no longer necessary.
Changed the allocation of the proc0 L1 page table and L2 page table
that maps the page tables to map these pages into kernel virtual
address space.
Updated for pv_addr_t argument changes to pmap_bootstrap().
1998-08-28 02:58:41 +00:00
mark
133f5c93f0
Updated for pmap_bootstrap() argument change. Modify ofw_configmem()
...
to obtains pv_addr_t structures for the proc0 L1 page table and the proc0
pagetable that maps page tables.
Use the virtual address from the pv_addr_t structure for the proc0 L1 page
table when calling pmap_bootstrap rather than relying on a special mapping
at PAGE_DIRS_BASE.
Modify ofw_construct_proc0_addrspace() for similar changes to
ofw_configmem().
Remove the kernel_pde page table in ofw_construct_proc0_addrspace() as it
it now longer needed.
1998-08-28 02:52:37 +00:00
mark
1ca0ef8cae
Modify the arguments to pmap_bootstrap() to take a pv_addr_t structure
...
for the page table to map kernel pagetables (kernel_ptpt). This means
that the pm_vptpt field is now valid for the kernel_pmap.
Use constants from vmparam.h in pmap_allocpagedir().
1998-08-28 02:46:51 +00:00
pk
7e95972ed1
Add `audiocs' ("SUNW,CS4231") and `en' ("ENI-155s").
1998-08-27 20:56:44 +00:00
pk
efad4d44c0
CS4231 audio driver. Play only for now.
1998-08-27 20:51:17 +00:00
pk
ce2bbbd092
Add audiocs.
1998-08-27 20:49:37 +00:00
pk
dd0709d28d
Add selected `%b' bits.
1998-08-27 20:05:11 +00:00
pk
142bff0170
Add missing entries and make it slightly more verbose.
1998-08-27 19:53:02 +00:00
pk
b3279eb3dc
Move a few prototypes.
...
Whitespace cleanup.
1998-08-27 18:45:12 +00:00
tv
6baebf57c6
Nuke egcs warns: void main(), implicit int
1998-08-27 12:20:51 +00:00
mrg
713a7dc9c3
oops, remove old isp attachment here..
1998-08-27 11:47:12 +00:00
mrg
396330e186
remove sparc64 "options BUS_DMA" -- it is now standard
1998-08-27 11:43:14 +00:00
mrg
82571f5403
move isp sbus attachment to dev/sbus
1998-08-27 11:41:24 +00:00
mrg
bd85d62257
move isp sbus attachment to dev/sbus and support it on the sparc64
1998-08-27 11:40:06 +00:00
mrg
41ad1758ac
move isp_sbus attachment into /sys/dev/sbus.
1998-08-27 11:30:45 +00:00
scottr
f8a4876874
Add on-board video information for the LC III, and a guess
...
at the LC II based on similar machines mentioned in the dev note.
1998-08-27 07:31:34 +00:00
christos
667541561d
Try to implement I_GETSIG to make netscape work again (untested)
1998-08-27 07:04:31 +00:00
eeh
a465fdedc6
Add 64-bit pmap support:
...
Moved from a two level 512/1024 entry setup mapping 32 (9/10/13) bits
respectively to a three level 1024/1024/1024 entry setup mapping 43
(10/10/10/13) bits. In 32-bit mode we waste about 1/12 pages mapping the high
11 bits. We also only manage 43 of the possible 44 bits of virtual address
space, wasting half of it. Oh well, maybe we'll do better next revision.
1998-08-27 06:23:31 +00:00
mark
c5695ed630
Centralize the definition of pv_addr_t to pmap.h
1998-08-27 04:00:53 +00:00
mark
af91a82f1e
Remove pv_addr_t and systempage declarations.
1998-08-27 03:58:10 +00:00
mark
e7a61c9984
Centralise the definition of the pv_addr_t structure.
1998-08-27 03:55:06 +00:00
drochner
a80cad6e0a
regen
1998-08-26 20:00:37 +00:00
drochner
fe1c5e2163
add the SIS 5597/5598 all-in-one PCI chipset
1998-08-26 19:59:16 +00:00
mrg
a317393b79
use __NetBSD__ not NetBSD
1998-08-26 15:12:55 +00:00
pk
fc397afa14
debug level 0
1998-08-26 15:06:37 +00:00
tv
7308faf67b
"COMPAT_11 + COMPAT_12 + COMPAT_13" doesn't work - these are based on
...
definition, not 1 or 0. Also, since all pre-1.4 releases require
COMPAT_13 (not just 1.3 binaries), just "#ifdef COMPAT_13".
1998-08-26 14:51:57 +00:00
dante
df94d3f4f5
Add AdvanSys SCSI controller
1998-08-26 14:27:44 +00:00
dante
d93a0d81b0
Add AdvanSys support
1998-08-26 14:20:37 +00:00
dante
97b8010151
Changed ADVSYSPROD to ADVSYS vendor ID
...
Added 1200A, 1200B, ULTRA, 2300 AdvanSys products ID
1998-08-26 14:18:26 +00:00
dante
d9e417cde9
Add AdvanSys 930U and 940U SCSI controllers
1998-08-26 14:13:58 +00:00
mrg
1f9d0626af
regen.
1998-08-26 13:46:56 +00:00
mrg
fa380eed0f
make oreboot work.
1998-08-26 13:42:50 +00:00
mrg
c757d26220
use right syscalls. add converters for timespec and semid_ds
1998-08-26 13:42:22 +00:00
mrg
25f5eb1d01
fake sendsig for now..
1998-08-26 13:38:32 +00:00
mrg
62ba41606d
use right syscalls
1998-08-26 13:38:21 +00:00
augustss
c5b4ddc051
Add more opl attachments.
1998-08-26 13:37:49 +00:00
augustss
7972a062b0
Make the OPL driver attach directly to ISA as well.
1998-08-26 13:33:59 +00:00
augustss
8d64ea1683
Less debug printing.
1998-08-26 13:08:44 +00:00
augustss
6633896a67
Do some renaming of registers and make sure we get sound in both
...
channels on OPL3.
1998-08-26 13:08:10 +00:00
mrg
a40fb261e6
deal with no DDB
1998-08-26 12:41:47 +00:00
mrg
446bcd99d6
panicstack: is needed outside of DEBUG. use _C_LABEL, and printf not db_printf (incase no ddb!)
1998-08-26 12:37:35 +00:00
augustss
9deb19798f
Add OPL driver.
1998-08-26 12:10:57 +00:00
augustss
bb3c56652c
Make the OPL driver turn on the sound on sound cards that require it.
...
That makes it much more likely that we get any sound. DUH!
1998-08-26 12:10:22 +00:00
tsubai
a890d2dd7f
Add MD DELAY and spl routines to fit Nisimura's change.
1998-08-26 12:07:21 +00:00
tsubai
1c3e72cd0e
Back out previous change.
1998-08-26 11:44:06 +00:00
mrg
8912df90bf
fix missed sparc -> sparc64
1998-08-26 10:36:42 +00:00
mrg
e791891d53
- use UVM by default.
...
- clean up the Makefile a bit to be less solaris-centric :)
- add support for compat_sparc32 (32bit compat module for NetBSD/sparc). this
isn't yet fully tested but it mostly written and compiles if not totally
links yet.
1998-08-26 10:31:36 +00:00
mrg
d3aee6e637
regen
1998-08-26 10:24:11 +00:00
mrg
3ba6ab0970
add a 32-bit compatibility module for the sparc64 port, so it can run NetBSD/sparc binaries with a LP64 kernel.
1998-08-26 10:20:33 +00:00
augustss
76567c8213
Remove ad1848 attribute; it's in conf/files now.
...
(Why don't we remove the XXX hack in this file?)
1998-08-26 09:32:24 +00:00
mrg
e9762ad2be
add COMPAT_SPARC32
1998-08-26 09:31:24 +00:00
mrg
8ea67882ab
make this actually work
1998-08-26 09:09:31 +00:00
mrg
be25ea2fb5
put pmapdebug usage inside #ifdef DEBUG
1998-08-26 07:55:10 +00:00