Commit Graph

42836 Commits

Author SHA1 Message Date
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
tv 9f9b9c1b0a Use __format__, __printf__ for consistency 1998-08-28 22:55:50 +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
tv 5cc01b9a2b Add NetBSD rcsids. 1998-08-28 22:38:25 +00:00
tv 7eeb6fe5fd Don't try building anything in here on gcc 2.7 bootstrap. 1998-08-28 22:36:56 +00:00
perry 9d45b65e88 bump version 1998-08-28 22:26:15 +00:00
thorpej 4b7b605d84 Use the "nointr" pool page allocator for pmap_pmap_pool. 1998-08-28 22:22:48 +00:00
perry 05ffc15e02 document asprintf and vasprintf 1998-08-28 22:21:23 +00:00
thorpej d1f73558ff Use the "nointr" pool page allocator for pmap_pmap_pool. 1998-08-28 21:58:29 +00:00
perry 253ef37df2 add asprintf and vasprintf, originally written by Todd Miller for OpenBSD 1998-08-28 21:33:10 +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
tv 7fc231d281 Move some things from SRCS to OBJS so as not to build them at depend time. 1998-08-28 19:05:54 +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
tv 2ecc177404 Remove files obsoleted by egcs import of libiberty. 1998-08-28 16:59:09 +00:00
tv 5990abf3b1 Make sure to include config.h if available. 1998-08-28 16:58:25 +00:00
tv 1f41015535 Get the correct vfork definition from <unistd.h>. 1998-08-28 16:57:07 +00:00
tv 0b2df9f225 Update libbfd to shlib version 1.1. 1998-08-28 16:52:46 +00:00
tv a6542a91dc Update libiberty to the one shipped with egcs. Minor number
bump--interfaces added, but none changed or removed.
1998-08-28 16:47:13 +00:00
tv 2034bed7f1 Resolve conflicts and get prototypes from the right places (conig.h
guarded).
1998-08-28 16:02:39 +00:00
tv bb655b8a73 Conflict resolution. 1998-08-28 15:59:01 +00:00
tv b5a6ca0501 Update includes that go with theupdated libiberty. 1998-08-28 15:56:36 +00:00
tv 0f6f615875 Update libiberty to that shipped with egcs. Improvements include better
C++ demangling.
1998-08-28 15:39:36 +00:00