Commit Graph

92885 Commits

Author SHA1 Message Date
matt 28b1aa2b30 Move .s files to .S files. (and .s.o rules in boot/Makefile.inc)
Put in register prefixes everywhere.
2002-02-24 01:04:23 +00:00
ad fab93c4a60 Reserve majors 101 and 102 for wsmux and wsfont. 2002-02-24 00:39:36 +00:00
matt 17a0652faf Change the default entry for ELF. 2002-02-24 00:17:42 +00:00
matt e2d6f22138 Add register prefixes to these. 2002-02-24 00:12:41 +00:00
matt 6cad4b795d Upon further reflection, move udiv/urem to libkern and out of vax/vax. 2002-02-24 00:08:19 +00:00
matt 87806a826d Rename VAX kernel assembly source from .s to .S (the NetBSD standard) 2002-02-23 23:48:00 +00:00
wiz d70fe2e86c Fix error message, as reported in lib/15711 by Onno van der Linden. 2002-02-23 23:28:31 +00:00
manu 63b308a593 FIxed typo 2002-02-23 22:43:56 +00:00
manu d2e60e82f8 Fixed various sysconf() commands 2002-02-23 22:35:15 +00:00
gmcgarry a530714247 Trim the ramdisk down even smaller. Include the device files on
the ramdisk, since we don't have enough memory to dynamically build
/dev on mfs.
2002-02-23 22:02:08 +00:00
gmcgarry b85e9644ab Don't use tset, since it's not on the ramdisk. Might have to rethink
this for serial consoles.
2002-02-23 22:00:28 +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
gmcgarry feb0773e27 Support two-stage netboot. Is known to work on maxine, but problems
have been reported on 3min.
2002-02-23 21:43:57 +00:00
gmcgarry 1635c6c690 Handle being built as a host tool. 2002-02-23 21:34:06 +00:00
gmcgarry 0d9e66cda7 Add elf2ecoff as a build tool for mips ports. 2002-02-23 21:32:27 +00:00
matt c7ce362189 Teach old (a.out) vax gas about register prefixes. 2002-02-23 21:16:41 +00:00
matt 9fe6d7dc5a Dump a few comments that don't apply anymore. Remove dead code that is no
longer used.  Add register prefix support.  It's always on for ELF and
optional for a.out (it's recognize register names with or without the %
prefix).
2002-02-23 21:07:29 +00:00
matt 572f2bb969 Teach gcc to emit register prefixes (though unless its ELF, the register
prefix is NULL).
2002-02-23 21:02:49 +00:00
thorpej 0780eaaa32 Use bcopy() and bzero(), since the rest of libsa does. This means
we don't have to pull in memset() and memcpy() from libsa.
2002-02-23 20:48:14 +00:00
leo c3de71f0bf Fixup icu-code. It now works for both ISA and PCI. 2002-02-23 20:44:45 +00:00
thorpej 59f1dfe1c2 Don't need to provide zcalloc() and zcfree(); there are such routines
in libz.
2002-02-23 20:34:41 +00:00
thorpej 524d248b59 Fix the -DRELOC=... CPP flag. Add -DDYNAMIC_CRC_TABLE to shrink
the text (and, thus, the space taken up in flash) a bit.
2002-02-23 20:19:52 +00:00
briggs caaef6d0d0 Implement obio_bs_rr_1. 2002-02-23 19:55:34 +00:00
he 2328e1f7fb Replace a tab with 8 spaces inside a .(disp to get more sane formatting. 2002-02-23 19:36:16 +00:00
thorpej a91d5a1a99 Example Makefile and linker script for building a run-from-flash
gzboot image for the IQ80310 with room for 2M of compressed data.
2002-02-23 19:16:54 +00:00
matt bc49a6eede Fix long time codegen bug. Only the COMPARE, ADD, MINUS operations actually
set the C(arry) bit appropriately.  All other leave it in an indeterminate
(to GCC) state.  Mark that by setting CC_NO_OVERFLOW.  Change vax.md emission
of branches that use the C bit to use OUTPUT_JUMP so that if CC_NO_OVERFLOW is
set, branches that would normally use the C bit use opcodes that don't use the
C bit (jgtru -> jneq && jlssu -> jeql).  Delete the cmpdi pattern.
2002-02-23 18:36:52 +00:00
thorpej c39065eb62 Add support for running directly out of flash:
* Require that the builder Makefile provide a linker script.
* After making sure the MMU is disabled, check to see if
  _etext == __data_start.  If not, then copy the .data contents
  into RAM.
* Put the stack in .bss.
2002-02-23 18:19:09 +00:00
chs 7b2a130dc8 make this work in the new build system. 2002-02-23 17:27:42 +00:00
thorpej 87de164ab4 Fix a silly bug in the propellor spinning code. 2002-02-23 17:25:32 +00:00
scw c4dbe1a160 Allow MD code to provide functions for reading/writing NVRAM/RTC
locations. If passed NULL, the old behaviour using bus_space_{read,write}_1()
is used. Otherwise, all access to the chip goes via the MD functions.

This is necessary for mvmeppc boards where the mk48txx NVRAM/RTC is not
directly addressable.
2002-02-23 17:18:54 +00:00
wiz 0f4520b538 Typo and grammar fixes. 2002-02-23 17:06:24 +00:00
wiz 56e0213dd1 Whitespace nits and a typo fix. 2002-02-23 17:03:18 +00:00
wiz 4da241dfa0 Whitespace nits. 2002-02-23 17:01:20 +00:00
fvdl 99d2b6e3ef Add linux_sysctl.c 2002-02-23 16:46:03 +00:00
ad b13d5cf210 Fix typo in previous. 2002-02-23 14:05:02 +00:00
toshii 3676484136 Make KERNEL_VM_SIZE a little larger so that ubc_init doesn't fail from
ENOMEM.
2002-02-23 14:02:48 +00:00
toshii 5e0f2080c8 Remove a bogus pmap_map_entry call. 2002-02-23 13:58:10 +00:00
pooka 5079cbce00 libstdc++, not libstc++ 2002-02-23 11:06:53 +00:00
dbj c467951c58 turn on polling using cnpollc 2002-02-23 10:51:50 +00:00
dbj b97918f553 In adb_soft_intr, remove the packet from the queue before calling the
completion routine so that the completion routine can reentrantly
process the queue.  This happens, for example. when polling is turned
on by entering the debugger by keystroke.
2002-02-23 10:47:16 +00:00
martin a290138790 Add more examples. 2002-02-23 08:11:22 +00:00
thorpej d114b32f24 Add some nops after we enable the MMU, for good measure (enough for
the nops to be the prefetch'd insns when the MMU switch occurs).
2002-02-23 05:58:46 +00:00
thorpej f31f6affa9 Make sure the MMU is enabled after we switch to the new kernel
page tables (gzboot disables the MMU before it does its work).
2002-02-23 05:55:26 +00:00
thorpej 0b91bc440f Move files[] from open.c to globals.c, so that it's possible to
use libsa in an application where there are no file systems or
devices.
2002-02-23 05:44:24 +00:00