Commit Graph

30303 Commits

Author SHA1 Message Date
bjh21 cb7a3d0674 ANSIfy, and othe KNF cleanup. 2002-02-17 19:53:44 +00:00
thorpej 45f23105c2 Make this compile again (update for changes to register bit names). 2002-02-17 19:49:58 +00:00
thorpej bb1c9c42fa Update for new location of the WD80x3 register description. 2002-02-17 19:47:41 +00:00
veego f12a3476e0 Add a missing ) from an 6 year old cleanup commit (rev 1.10):
s/sizeof(struct mfcp_softc,/sizeof(struct mfcp_softc),/
Noticed by Nagilum on irc.
2002-02-17 19:26:37 +00:00
thorpej 49cec2b141 * Remove a debug-breakpoint that is no longer needed.
* Move the pxe_init() call to when we open the virtual netif.
* Make sure to call pxe_fini() when we close the virtual netif.
2002-02-16 16:52:10 +00:00
thorpej 0aec9f6508 Need private copies of these files for now. 2002-02-16 16:26:23 +00:00
christos c8e246669c save cr2 for the benefit of linux emulation, and normalize use of pcb
in trap(), i.e. always initialize *pcb and use it instead of doing it
sometimes.
2002-02-16 16:22:03 +00:00
skrll 9e98a7e93d Enable ep* at pci here also. 2002-02-16 15:47:10 +00:00
mycroft 22d8cbc4f9 Make this build without akbd (again). 2002-02-16 08:30:27 +00:00
shin febef53a9c run cached and move fast.
before	5 seconds
	after	sub second
2002-02-16 05:26:02 +00:00
christos a7986989e7 Improve on fault signal translation. Inspired largely by Robert V. Baron's
wabi patch.
2002-02-16 05:19:26 +00:00
thorpej 8bb2be2987 Add a PXE boot loader. PXE interface code is derived by code
written by Alfred Perlstein, Paul Saab, John Baldwin for FreeBSD.

Still needs some work, but this will load a kernel on a Soekris net4501.

Many thanks to Frank van der Linden and his simulator wizardry for
helping me debug the low-level startup code.
2002-02-16 03:37:39 +00:00
nathanw 382c2e0513 Add a bunch of PNP ID strings that are apparantly for the ESS chips.
Snarfed from a Microsoft document.
2002-02-15 22:06:50 +00:00
reinoud 309c1facde Create a .zip file next to the .tar file special for those Acorn folks who
can download a free unzipper but dont have access to a .tar.gz file.
2002-02-15 21:49:40 +00:00
is 92a181b637 Move Amiga PORT to ELF and new toolchain. Still missing:
support in UPGRADE to move old shared libs to /emul/aout
2002-02-15 21:28:03 +00:00
skrll 45a18d6ff2 Remove redundant mov instruction.
OK'd by Matt Thomas <matt@netbsd.org>
2002-02-15 17:05:20 +00:00
simonb 4a188395df Make the ddb_regs declaration an extern in db_machdep.h and declare it on
db_interface.c.
2002-02-15 07:32:34 +00:00
bjh21 561984015b Undo part of rev 1.8: SWP intructions really do both read and write
the referenced address.
2002-02-14 11:59:26 +00:00
bjh21 44aa53a31d Undo part of rev 1.42:
SWP instructions really do both read and write the referenced address.
2002-02-14 11:54:16 +00:00
bjh21 2470f8172a Since core dumps are useful on arm26 now, don't bother dropping into DDB on
user-mode faults, even in DEBUG kernels.
2002-02-14 11:49:15 +00:00
chs b744097a5f allow writing to write-only mappings. fixes PR 3493. 2002-02-14 07:08:02 +00:00
briggs b72d845476 Actually set the i80312_softc global. 2002-02-14 02:38:22 +00:00
rjs 9134bf2610 Add Cotulla CPU IDs. 2002-02-14 01:37:20 +00:00
wrstuden 3a971f756f Make this work with the dependall target.
Pointed out by Christian Groessle on port-macppc, and patch suggested bu
Izumi Tsutsui.
2002-02-13 17:52:08 +00:00
is 5673052159 Add missing register prefix. 2002-02-13 16:34:05 +00:00
uch c0a13ed2e4 add LCD debug routines. 2002-02-13 16:25:32 +00:00
is 3372ef2e8e move ELF32 to std.amiga 2002-02-13 12:08:57 +00:00
shin 3b759dd825 initialize stack pointer. 2002-02-13 12:02:49 +00:00
gmcgarry 4c43f7cf1a Bump ramdisk to 2MB. 2002-02-13 06:02:46 +00:00
martin 1b4393c5db Cast/format fix to make this build on 32bit kernels. 2002-02-12 20:50:47 +00:00
scw 5bd17a1271 Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
2002-02-12 20:38:09 +00:00
reinoud 6dc9bb6c37 Forgot to remove the include file for the COMPAT_OLD_BOOTLOADER option i
removed.
2002-02-12 19:21:36 +00:00
uch b3f7b11fe7 ANSIfy KNF. 2002-02-12 15:26:45 +00:00
reinoud c68fc4c05d Get rid of the verbose flag ... this only clobbers the output. 2002-02-12 13:03:43 +00:00
skrll 1857cb5f00 Enable ep* at pci?
OK'd by Chris Gilbert <chris@netbsd.org>
2002-02-12 09:11:45 +00:00
thorpej cd98cbf7fb * For platforms which are already ELF, remove the definition of
MACHINE_ARCH since <arm/param.h> already sets it correctly to "arm".
* For platforms which are not yet ELF, defined MACHINE_ARCH to "arm32"
  if __ELF__ is not defined by the C preprocessor.
* In <arm/param.h>, clarify the rules about when MACHINE and
  MACHINE_ARCH are defined, and to what.  Also, for ELF platforms,
  int the non-_KERNEL case, force both MACHINE and MACHINE_ARCH to "arm",
  rather than allowing platform-specifc code to define either.
2002-02-12 06:58:18 +00:00
thorpej b55703254f Use sys/dev/md_root.c 2002-02-12 00:50:12 +00:00
thorpej dbb80edc9d Trim some fat:
* COPTS get -Os
* Comment out all COMPAT_* options
* Comment out System V IPC options
* Comment out KTRACE, IRQSTATS, KMEMSTATS, DIAGNOSTIC
* Comment out unneeded devices (audio, joystick, vnd, sequencer)

...and bump the ramdisk size to 3.5M (ELF binaries are somewhat
larger on-disk due to the way the linker pads out the .data program
section).
2002-02-12 00:49:40 +00:00
reinoud bff769a5fc The 4Mb sure was too little to boot the installation sets.... 2002-02-12 00:29:55 +00:00
kleink 02530a3ece When enabling hardware interrupts at the end of cpu_startup(), splhigh()
cannot be used to mask them off for deferred processing as autoconfiguration
hasn't even started and thus the IPL_HIGH mask hasn't been calculated yet.

Instead, set the current mask manually to all-masked using splraise().
2002-02-11 23:01:37 +00:00
reinoud 8a3a4890b3 Update the bootloader extraction program to be more friendly and to provide
a way to include the bootloader in the release structure

XXX it needs to honour DESTDIR one day
2002-02-11 22:12:22 +00:00
reinoud 9ca7566eb9 The COMPAT_OLD_BOOTLOADER flag can go now since BtRiscBSD is no longer
suported due to ELF transition.
2002-02-11 21:48:46 +00:00
reinoud 6dae5d0659 Cleanup the settype script and dont forget the `howto' files for UnixFS 2002-02-11 19:32:02 +00:00
uch 06d80c8f0f change kernel start address 0x80030000 to 0x80001000 2002-02-11 19:10:29 +00:00
reinoud f4bbd8d351 Remove old BtNetBSD.old bootloader... its obsolete and might be accidentaly
pulled in one time.
2002-02-11 19:02:37 +00:00
reinoud f80d729bf3 Commit of BtNetBSD version 0.99 : new bootconfig implemented in the
bootloader that also allows ELF symbols to be read correctly as well as
still having the posibility to boot older kernels with the `oldkernel'
option.

There is now support for upto 32 blocks of DRAM and a 16 blocks of VRAM.
Also preliminary support for specifying Mode Defintion Files (MDF) to the
kernel.
2002-02-11 19:00:07 +00:00
uch 7f6769e315 wrap #ifdef SH4 2002-02-11 18:55:16 +00:00
reinoud 11982f07b9 _important_ : the old BtRiscBSD compatibility has been put to rest... this
means that kernels from now on are not bootable by !BtRiscBSD but only with
!BtNetBSD.

Big initial commit for a new cleaned up and extended bootblock style. This
patch also allows ELF symbol tables to be read when the patches on the
bootloader are commit but will work fine with the older bootloader.

An extra option `oldkernel' will be provided in the newer bootloader to
pass out old style bootconfig's thus enabling old style kernels to load and
function.

Tested on a.out and ELF (preliminary) kernels with both older and new style
bootconfig blocks.
2002-02-11 18:47:36 +00:00
uch 26c1382e72 sync with PTE bit change. 2002-02-11 18:06:34 +00:00
uch 9487e1d731 change PTE PG_* bit define to support SH4 PCMCIA space attribute fully.
for detail, see pte.h.
2002-02-11 18:06:06 +00:00