Commit Graph

1585 Commits

Author SHA1 Message Date
christos 7e277b5782 kill remaining PS_STRINGS instances. 2002-03-20 17:59:22 +00:00
atatat 31144d9976 Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command".  ERESTART is -1, which can lead to
confusion.  ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4.  No ioctl code should now return -1 anywhere.  The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
gmcgarry 0d5d235755 Don't match on trailing spaces in the module name. 2002-03-17 05:44:48 +00:00
gmcgarry 2edbfbd9c2 Include MFS in the INSTALL kernel for the miniroot install. 2002-03-17 05:43:17 +00:00
gmcgarry c8e4daf662 Move exec_hp300() out of uboot.c into its own file so that it can
be used by SYS_INST.  SYS_INST can now boot ELF kernels inside the
miniroot.
2002-03-16 06:20:07 +00:00
gmcgarry 97ef6567ad Add RCSIDs. 2002-03-15 05:55:35 +00:00
gmcgarry d4c41b0f8b malloc cleanups:
- malloc+memset -> malloc with M_ZERO
- malloc -> MALLOC for fixed-sized structures
Add RCSIDs while here
2002-03-15 05:52:53 +00:00
gmcgarry 1cb254edf6 Introduce iteinstallkeymap() which allows the keyboard driver to
register its keymap with ite.  Add RCSIDs while here.
2002-03-15 05:45:23 +00:00
gmcgarry 0cc97c18ac Don't display ipl if the device isn't actually attaching.
Add RCSID while here.
2002-03-15 05:40:01 +00:00
gmcgarry ddfcbf2bfc Increase the delay when resetting the port so that the output doesn't
get scrambled when we're the console.  Add RCSID while here.
2002-03-15 05:36:38 +00:00
lukem cd19d52695 * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
2002-03-10 19:56:37 +00:00
thorpej a180cee23b Pool deals fairly well with physical memory shortage, but it doesn't
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map).  Try to deal with this:

* Group all information about the backend allocator for a pool in a
  separate structure.  The pool references this structure, rather than
  the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
  to become available, but will still fail if it cannot callocate KVA
  space for the pages.  If this happens, carefully drain all pools using
  the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
  some pages, and use that information to make draining easier and more
  efficient.
* Get rid of PR_URGENT.  There was only one use of it, and it could be
  dealt with by the caller.

From art@openbsd.org.
2002-03-08 20:48:27 +00:00
tsutsui 3c8b0446fe Change type of dumpmag to u_int32_t since it is actually
a 32bit unsigned magic number.
As per discussion on tech-kern, and fixes port-sparc64/11949.
2002-03-06 13:10:18 +00:00
simonb 9bcc70fa1d Don't cast argument to ffs() to long.
Per discussion on port-alpha, noticed by Robert Elz.
2002-03-05 09:40:38 +00:00
simonb d224e9dcc0 Indent by tab and not two spaces. 2002-03-05 00:38:41 +00:00
simonb de2043f47e Sort function declarations.
Fix some KNF whitespace nits.
2002-03-05 00:34:14 +00:00
simonb 6f0fb25121 Don't need to declare phys_map - it is declared in <uvm/uvm_extern.h>. 2002-03-04 02:43:22 +00:00
simonb 9a942a34e0 Don't use local extern declarations for the mountroot variable or
declare local prototypes for nfs_mountroot() or md_root_setconf().
2002-03-04 02:25:21 +00:00
simonb 4324f37586 Use "#define<tab>". 2002-02-28 03:17:23 +00:00
christos e8116a8f5b - Use DEV_ constants, instead of documenting the numbers!
- Delete cdev_decl(mm); where appropriate, and other hand-crufting [hi powerpc!]
2002-02-27 01:20:51 +00:00
simonb d9ab16ba2f Purge CLSIZE, CLSIZELOG2 and MCLOFSET.
Be consistant in the way that MSIZE, MCLSHIFT, MCLBYTES and NMBCLUSTERS
  are defined.
Remove old VM constants from cesfic port.
Bump MSIZE to 256 on mipsco (the only one that wasn't already 256).
2002-02-26 15:13:19 +00:00
gmcgarry 0166df69f5 Implement DIOCGDEFLABEL ioctl. 2002-02-23 21:55:25 +00:00
gmcgarry 49fd989e9b Unnecessary to cast splx() to void. 2002-02-23 21:54:31 +00:00
gmcgarry 562fb80d45 Make the keyboard attach printf a little less cryptic. 2002-02-23 21:53:25 +00:00
gmcgarry 5382848ec7 Recognise md as a valid root device. And since md disks don't get
device_register()'d, don't go looking on our device list for them.
Ramdisk kernel now boot.
2002-02-23 21:52:25 +00:00
gmcgarry 42abedb038 Trim down to 1.2MB ramdisk for booting on 4MB machines. 2002-02-23 21:48:08 +00:00
gmcgarry 19f1fd96ca Don't need printer support during installation. 2002-02-23 21:47:07 +00:00
gmcgarry 6a45dcbe5d Cleanup options for binary compatibility. HPUX and SUNOS are known to work. 2002-02-23 21:46:24 +00:00
wiz 37e458fa45 strategy should have an 'r'. Inspired by similar change in OpenBSD. 2002-02-19 17:09:40 +00:00
gmcgarry 4c43f7cf1a Bump ramdisk to 2MB. 2002-02-13 06:02:46 +00:00
wiz 9baadd8ee5 "doesn't" should have an 's'. 2002-02-11 11:19:26 +00:00
wiz 66df0333a1 s/seperate/separate/ 2002-02-11 10:44:38 +00:00
gmcgarry 9be34a7e49 Up-to-date kernels for installation media. 2002-02-10 01:07:55 +00:00
gmcgarry 839f3d5b8f Don't need these. 2002-02-10 01:06:32 +00:00
gmcgarry d934377152 Implement DIOCGDEFLABEL ioctl. 2002-02-10 00:49:57 +00:00
gmcgarry 0b0cdf630f Some assemblers will optimise addresses within .text into pc-relative
references.  Bogus for our MMU trampoline code which is relocated to
the last physical page before being invoked.  This hack enforces all
addresses wrt the MMU trampoline code not to be pc-relative.
2002-02-10 00:47:59 +00:00
gmcgarry 70d5890284 Use LIST_INSERT_HEAD() to access the head on the interrupt list. 2002-02-10 00:42:15 +00:00
gmcgarry 25a639e366 Also don't print \n without DIAGNOSTIC. 2002-02-10 00:41:21 +00:00
lukem 971861de37 use ${INSTALL_FILE} as appropriate 2002-02-09 09:35:59 +00:00
gmcgarry 787dd8e0e3 Enter DDB on break if console. 2002-02-08 07:26:16 +00:00
gmcgarry dad6eb472b Remove old, custom files. 2002-02-08 06:17:03 +00:00
gmcgarry b7ac65ebe2 Use pmap_kenter_pa() for msgbuf 2002-02-02 04:17:37 +00:00
jdolecek 6d265bd894 add options PIPE_SOCKETPAIR to individual kernel configs
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
2002-01-27 13:23:08 +00:00
jdolecek ff8305bbac Switch to MI dev/md_root.c for archs which don't have any special
memory disk hooks (i.e. everything except atari).
2002-01-21 21:56:57 +00:00
oster 39b858e3bf Add new RF_* options for RAIDframe bits that are no longer built by default.
While we're here, enable RAIDframe (and RAID_AUTOCONFIG) by default for
architectures that I'm comfortable can deal with it being on by default.

Also: bump the number of 'raid' devices from 4 to 8, since 4 seems to
be insufficient in practise.
2002-01-19 18:45:06 +00:00
manu af62e00622 Added clockctl 2002-01-12 13:11:08 +00:00
chs 9451559ef4 pmap_page_protect(VM_PROT_NONE) must remove all mappings in the PV list,
even if they are wired.  we need to be able to remove all mappings to
pages that are being freed due to (eg.) file truncation.
2002-01-02 00:51:33 +00:00
martin b506d6e135 Add PPPoE to all generic kernels that should be able to use it.
XXX TODO: do this for INSTALL kernels too, add sysinst support and make the
XXX needed binaries available on the ramdisk root fs.
2001-12-28 12:21:52 +00:00
thorpej 86a77080a5 Remove (incorrect) extern decl of emul_hpux. 2001-12-26 19:08:11 +00:00
thorpej 63d3d9fe5a Multi-line string literals are not in ANSI C; don't use them. 2001-12-26 17:37:59 +00:00