Commit Graph

33 Commits

Author SHA1 Message Date
thorpej 3912e469dd Rename cdev_systrace_init() to cdev_clonemisc_init(), so it can
be properly used by any misc. cloning device.  While here, correct
a comment to indicate that "open" is the only entry point and that
everything else is handled with fileops.
2002-07-19 16:38:14 +00:00
abs 7be2718ed4 Use MALLOC_NOINLINE (saves 11K on FOURMEG) 2002-07-05 13:06:45 +00:00
junyoung 3d826105dc alloc_attr -> allocattr
Approved by Matthias Drochner.
2002-07-04 14:37:10 +00:00
jdolecek afb66555e4 make vectors.o explicitly depend on assym.h, so that 'make depend' step
is optional
2002-06-24 07:15:24 +00:00
thorpej 43e7ad972b Garbage-collect sigframe references. 2002-06-23 00:16:59 +00:00
christos 3b50728cf4 MD systrace gluons. 2002-06-17 16:32:57 +00:00
lukem fde6ae6f04 Enable "pseudo-device clockctl" in all kernels, except
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
2002-06-17 05:14:02 +00:00
bjh21 ae07cdce27 Change the entry pointer of the module from an offset to a branch instruction.
This allows us to *Load boot26 at 0x8000 and then use *Go to run it.
This might be useful because we can't currently set the RISC OS filetype
for files on CDs, so they all end up being 0xffd (Data), and *RMLoad only
works for files of type 0xffa (Module), so we need some other way of loading
boot26.
2002-06-13 22:30:22 +00:00
bjh21 b9af29fd4f Increase HIMEM to allow enough space for zlib's tables and 16 MB's worth of
page tables, so we can boot gzip'ed kernels on 16 MB machines.
2002-06-13 22:01:44 +00:00
bjh21 40d80d8c16 Add support for LIBSA_NO_FS_CLOSE, LIBSA_NO_FS_WRITE, LIBSA_NO_FS_SEEK and
LIBSA_NO_TWIDDLE.
LIBSA_NO_FS_SYMLINK is irrelevant here, and LIBSA_FS_SINGLECOMPONENT would
be pointless.
2002-05-28 14:38:55 +00:00
bjh21 1d76b4db4b 1.4: get_page() abstracted. 2002-05-27 20:18:56 +00:00
bjh21 c489f6804b Add a function, get_page(), whose job is to find which logical page should
be used to load a given physical page.  At the moment, this just returns
the page's current logical mapping, but in future it might handle returning
bounce pages for physical pages which are in use, and copying to the correct
page just before loading the kernel.
2002-05-27 20:17:11 +00:00
bjh21 205186731b Substantial overhaul of podule IDs. Unlike on PCI or USB, podule IDs are
assigned by RISCOS Ltd (and were assigned by Acorn) to be unique across all
manufacturers.  This means that associating each one with a manufacturer (and
checking the manufacturer when attaching) is bogus.  Thus, we don't do that
any more.

This should have the pleasant side-effect of getting APDL IDE interfaces
working, since they're just ICS ones with a different manufacturer ID.
2002-05-22 22:43:13 +00:00
bjh21 6d59ad5ec5 Add podule_readcmos(), for getting the CMOS configuration for a podule.
Only implemented on acorn26 for now, but the acorn32 implementation should
be pretty much identical.
2002-05-22 22:13:12 +00:00
matt 0a6d35b7ed Nuke local extern label_t *db_recover; it's now in <ddb/db_extern.h> 2002-05-13 20:30:07 +00:00
bjh21 caff9d0e7e Change the various targets to look more like their libsa counterparts.
I think this'll help on read-only source trees.
2002-05-05 10:02:17 +00:00
bjh21 505c2b63d1 Re-arrange "machine" magic so it's in the same place as on i386. This seems
to help things happen in the right order (I smell a missing dependency).
2002-05-05 10:01:26 +00:00
bjh21 228c4dd3c6 Replace the "machine" logic with something stolen from
i386/stand/Makefile.booters.  This might make builds with a read-only
source tree happier.
2002-05-04 12:25:00 +00:00
atatat d1b3852365 Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
2002-04-25 15:06:20 +00:00
bjh21 a533ffac94 Add a configuration for an installation ramdisk kernel. 2002-04-24 19:50:25 +00:00
augustss 7f7ab48604 Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.
2002-04-22 09:41:19 +00:00
thorpej 32a0860797 Centralize ARM CPU configuration information by adding a new header
file, <arm/cpuconf.h>, which pulls in "opt_cputypes.h" and then defines
the following:
* CPU_NTYPES -- now many CPU types are configured into the kernel.  What
  you really want to know is "== 1" or "> 1".
* Defines ARM_ARCH_2, ARM_ARCH_3, ARM_ARCH_4, ARM_ARCH_5, depending
  on which ARM architecture versions are configured (based on CPU_*
  options).  Also defines ARM_NARCH to determins how many architecture
  versions are configured.
* Defines ARM_MMU_MEMC, ARM_MMU_GENERIC, ARM_MMU_XSCALE depending on
  which classes of ARM MMUs are configured into the kernel, and ARM_NMMUS
  to determine how many MMU classes are configured.

Remove the needless inclusion of "opt_cputypes.h" in several places.
Convert remaining users to <arm/cpuconf.h>.
2002-04-12 18:50:29 +00:00
gmcgarry 6e066ba77a Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
2002-04-12 08:10:45 +00:00
bjh21 ee7cd026e8 This script has no excuse for ever failing: set -e 2002-04-02 13:17:41 +00:00
bjh21 9597ab134f Add a missing closing quotation mark. NetBSD's /bin/sh coped fine without
it, but bash (rightly) complained.
2002-04-02 13:14:43 +00:00
lukem d213d804f7 Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
2002-04-02 05:30:34 +00:00
bjh21 539b5e0d4b ARM32_{SYNC_ICACHE,DRAIN_WRITEBUF} -> ARM_{SYNC_ICACHE,DRAIN_WRITEBUF} 2002-04-01 17:43:10 +00:00
bjh21 71538f12fd ... and change the directory name as well. 2002-03-29 19:15:17 +00:00
bjh21 eefe8e924e std.arm26 -> std.acorn26 2002-03-29 19:13:39 +00:00
bjh21 67a2b59b9c Remove all my pointless "This file is part of NetBSD/arm26" comments, since
that's easier than correcting them.
2002-03-24 23:37:42 +00:00
bjh21 f1f30eb04d Fix include directories. 2002-03-24 23:17:36 +00:00
bjh21 83ecfb19eb Fix include directory. 2002-03-24 23:17:00 +00:00
bjh21 1de4f40a8a Rename NetBSD/arm26 to NetBSD/acorn26, so that the two Acorn/ARM ports have
matching names.  This commit might include some private hacks that have been
lurking in my tree a while.  They're all harmless, and this reduces the number
of gratuitous diffs I have to deal with.
2002-03-24 15:45:29 +00:00