summaryrefslogtreecommitdiff
path: root/sys/arch/atari
AgeCommit message (Collapse)Author
2014-02-19Fix kernel crash when a user tries to switch to nonexistent terminal.tsutsui
Reported by Gabor Sebestyen in PR port-atari/48599. Should be pulled up to all netbsd-6 branches.
2014-01-12Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.tsutsui
XXX: probabry we should have bsd.saprog.mk or something.
2014-01-03Remove the _KERNEL part of these two clones of sys/exec_elf.hdsl
Remove the incorrect (and completely unused everywhere) Elf64_Shalf. Put a better include guard on arch/epoc32/stand/e32boot/include/elf.h Should be ok because I can't find any references to KERNEL in these source trees.
2014-01-03Fix allocator routines. Instead of abusing CIRCLEQ pointers, add an explicitmlelstv
type field to tag memory nodes that are or are not on the free list.
2013-11-27Change the queue.3 *_END(&head) macros to NULL. Since we don't have CIRCLEQchristos
anymore, all the macros expand to NULL anyway, so this improves readability. Requested by rmind@
2013-11-23convert from CIRCLEQ to TAILQ; remove open coding.christos
2013-10-19make cpu_need_resched() macros consistent; __USE flagschristos
2013-08-12Build boot loaders without unwind tables.joerg
2013-06-30G/C PFIL_HOOKS from the kernel configs.rmind
2013-06-05remove obsolete networking optionschristos
2013-04-27the bogus number policechristos
2013-04-27remove confusing numeric locators where they are unused.christos
2013-03-02Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.christos
2013-03-01Retire OSI network stack. OK core@joerg
2013-01-26use sizeof(buffer) - 1, not sizeof(buffer - 1)apb
2012-10-27split device_t/softc for all remaining drivers.chs
replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
2012-10-17Add "options COMPAT_60" to all kernel configuration filesapb
that already had "options COMPAT_50".
2012-10-13Adapt to the changed signature of pckbc_cnattach().jdc
2012-08-17Update all kernel configs mentioning WSEMUL_* but not already includingabs
WSDISPLAY_COMPAT_USL using the following rules: - If WSEMUL_ is commented out, add commented out out WSDISPLAY_COMPAT_USL - If INSTALL or obviously memory constrained, add WSDISPLAY_DEFAULTSCREENS=1 and commented out WSDISPLAY_COMPAT_USL - Otherwise add WSDISPLAY_COMPAT_USL Some of the INSTALL configs for larger memory machines are probably suitable for adding WSDISPLAY_COMPAT_USL. Now wsconscfg(8) should be able to switch VTs when expected. Implemented after no objection from tech-kern to the following: On 5 June 2012 09:47, David Brownlee <abs@absd.org> wrote: > wsconscfg(8) requires WSDISPLAY_COMPAT_USL in order to switch virtual > terminals. > > Except when in an exceptionally memory or space constrained > environment (INSTALL being the obvious case), is there any reason why > all GENERIC and GENERIC-like kernels which have wscons enabled > shouldn't also have WSDISPLAY_COMPAT_USL?
2012-08-12Add a missing extern to apeas -fno-common.martin
2012-08-10Appease gcc -fno-common:tsutsui
- remove physmem from machdep.c since it's initialized in atari_init.c - declare I/O address space variables properly Compile test only. (currenty my TT030 is busy on pkgsrc builds)
2012-07-31Apply back changes that were reverted on Jul 24 and Jul 26 (general ata/wdcbouyer
cleanup and SATA PMP support), now that I'm back to fix the fallouts.
2012-07-29Do not call setroot() from MD code and from MI code, which hasmlelstv
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732. No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information as a side effect. Instead call MI rootconf() from MD code which makes rootconf() now a wrapper to setroot(). Adjust several MD routines to set the global booted_device,booted_partition variables instead of passing partial information to setroot(). Make cpu_rootconf(9) describe the calling order.
2012-07-27Remove safepri and use IPL_SAFEPRI instead. This may be defined in a MDmatt
header file (if not, a value of 0 is assmued).
2012-07-26Revert, with intention of restoring in a less invasive way, the SATA Portjakllsch
Multiplier code. ok christos@
2012-07-02Add sata Port MultiPlier (PMP) support to the ata bus layer,bouyer
as described in http://mail-index.netbsd.org/tech-kern/2012/06/23/msg013442.html PMP support in integrated to the atabus layer. struct ata_channel's ch_drive[] is not dynamically allocated, and ch_ndrive (renamed to ch_ndrives) closely reflects the size of the ch_drive[] array. Add helper functions atabus_alloc_drives() and atabus_free_drives() to manage ch_drive[]/ch_ndrives. Add wdc_maxdrives to struct wdc_softc so that bus front-end can specify how much drive they really support (master/slave or single). ata_reset_drive() callback gains a uint32_t *sigp argument which, when not NULL, will contain the signature of the device being reset. While there, some cosmetic changes: - added a drive_type enum to ata_drive_datas, and stop encoding the probed drive type in drive_flags (we were out of drive flags anyway). - rename DRIVE_ATAPIST to DRIVE_ATAPIDSCW to better reflect what this really is - remove ata_channel->ata_drives, it's redundant with the pointer in ata_drive_datas - factor out the interpretation of SATA signatures in sata_interpet_sig() propagate these changes to the ATA HBA drivers, and add support for PMP to ahcisata(4) and siisata(4). Thanks to: - Protocase (http://www.protocase.com/) which provided a system with lots of controllers, SATA PMP and drive slots - Conservation Genomics Laboratory, Department of Biology, New Mexico State University for hosting the above system - Brook Milligan, who set up remote access and has been very responsive when SATA cable move was needed
2012-06-30Fix buffer overrun (off by one). PR port-atari/42717tsutsui
2012-06-30Add a dirty hack for atari's ancient installation ramdisk:tsutsui
Forcibly configure md0, md1, and md2 devices before setroot() for atari's traditional "auto-load from floppy on open" md_root device which loads installation ramdisk image from floppy. md(4) has been changed dynamically configured at first open after 5.0 and md devices won't appear in "root device:" prompt without this hack. Tested on TT030. Should be pulled up to netbsd-6.
2012-06-05Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at leastabs
give a hint that its not just for third party compat. No functional change.
2012-03-28- Normalize inclusion protection (remove)christos
- Move CHAR_{MIN,MAX} to a common file. - Fix broken comments
2012-03-10P1003_1B_SEMAPHORE is no longer optional.joerg
2012-02-21Use actual physmem size for allocation of bootstrap extra PT pagestsutsui
to avoid wasting pages on low memory machines. Improves atari specific part of PR/45915, tested on TT030.
2012-02-19Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!rmind
Approved by core@.
2012-02-13Build fix - convert to new-style definitions.jdc
OK by releng.
2012-02-12Change old-style function defintions to C89 prototypes.matt
Approved by releng.
2012-02-10proper sizing of kmem_arena on different portspara
PR port-i386/45946: Kernel locks up in VMEM system
2012-02-10The recent kmem changes allocate a large kernel address space beforemhitch
pmap_init() is called, and the initial kernel PT pages aren't enough for the allocations pmap_init(). This fails because pmap_kenter_pa() tries to allocate a new kernel PT page and traps because the pmap has not been initialized. When computing the number if initial kernel PT pages, include enough to allow kmem to map the physical memory. This should fix PR/45915. OK by releng@. One mac68k system has been verified to boot. Volunteers to test the others welcome. Amigas with at least up to 128MB of memory were OK, but larger memory will need some adjusting.
2012-02-02Always include <m68k/cpu.h> (i.e. outside #if defined(_KERNEL))tsutsui
for crash(8) as amiga and sun3. There are _KERNEL protections in it. Briefly tested by "build.sh -m news68k -U build". Further possible botch will be fixed later.
2012-01-27converting extent(9) from malloc(9) to kmem(9)para
preceding kmem-vmem-pool-uvm patch releng@ acknowledged
2011-12-22Merge m68881_save() and m68881_restore() (using most common mvme68k ones).tsutsui
All functions are checked by my eyes, and all GENERIC kernels compile.
2011-12-18Restore __HAVE_MM_MD_READWRITE which was added for 5.99.53 in rev 1.14tsutsui
but removed by merge botch on __HAVE_NEW_STYLE_BUS_H changes in rev 1.15. Fixes "/dev/nvram: Device not configured" problem on installboot(8) reported by David Ross.
2011-12-18WABPL is no longer considered experimental (has not been for some time)dholland
so update its comment in config files.
2011-12-18Explicitly specify -m68020-60 to avoid possible 060SP instructions,tsutsui
especially 64 bit integer mul/div ops in standalone bootloaders. From x68k.
2011-12-17Commit regenerated configuration file after COPTS=-Os shuffle.he
2011-12-17Drop makeoptions COPTS=-Os for the SMALL030 kernel now that std.atarihe
contains it.
2011-12-15Specify COPTS="-Os" for rich gcc 4.5 as bsd.sys.mk does for userland binariestsutsui
so that gzipped atari kernels still fit into floppies. Noticed by David Ross.
2011-12-12implement bdev_size(9) wrapper around d_psize() routine, so we can takemrg
the device lock in relevant places. avoid doing so while actually dumping. tested i386 crash dumps still work, and that all touched files compile. fixes PR#45705.
2011-11-26Make sure to call pflusha before (not after) enabling MMU ontsutsui
68030/68851 initialization paths. Pointed out by isaki@ per observation of ATC status on XM6i emulator. Tested on TT030, HP362, NWS-1750, and X68030 by me. XXX: probably we can remove existing pflusha or TBIA calls after MMU turned XXX: on (and before enabling cache) but I leave them as is for now to avoid XXX: unexcpected side effects.
2011-11-22The rnd pseudo-device is not really optional, because it is in the sametls
source file as the entropy-pool code itself. Move it to std. This will be cleaned up more when I split the sources up as they should be. This fixes build breaks on several ports. Thanks to Havard Eidnes for pointing them out.
2011-11-15Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports).tsutsui
Tested on TT030, Sun3/80, and X68030.