History log of /src/sys/arch/luna68k/conf/files.luna68k |
Revision | | Date | Author | Comments |
1.34 |
| 15-Jan-2024 |
thorpej | Switch luna68k over to the common interrupt dispatch code.
|
1.33 |
| 14-Jan-2024 |
thorpej | Switch luna68k over to the common m68k vector table.
|
1.32 |
| 09-Jan-2024 |
thorpej | Remove duplicated / slightly-tweaked loadustp() (load user segment table) routines from all of the m68k ports using the shared pmap. Instead, in pmap_init(), set up a function pointer to the appropriate mmu_load_urp*() function in mmu_subr.s.
|
1.31 |
| 17-Sep-2023 |
andvar | fix KGDB enabled build for luna68k: * include sys/kgdb.h in luna68k/trap.c for missing definitions. * cast second kgdb_trap argument to (db_regs_t *). * build m68k/kgdb_machdep.c in kgdb enable build for kgdb_trap() implementation.
|
1.30 |
| 10-Jun-2022 |
tsutsui | luna68k: add psgpam(4) audio for LUNA, using YM2149 PSG/SSG sound chip.
"PSG PAM" is a audio driver using "Pulse Amplitude Modulation" with the YM2149 PSG/SSG chip connected to the I/O processor HD647180X on LUNA. The driver plays up to 30 kHz PCM audio by manipulating PSG channel volumes at extremely high speed with 6.144 MHz HD647180X, a Z80 compatible sub CPU. https://www.youtube.com/watch?v=fR7PqaLpijQ https://www.youtube.com/watch?v=kCDZCgkwgBA
Compatibilities with the existing XPIOCDOWNLD ioctl(2) to download and exec user programs (PSG sound driver player ported from PC-6001 etc.) on the HD647180X is still provided. https://twitter.com/tsutsuii/status/1533247362965315584
This psgpam(4) driver for NetBSD/luna68k was written by @moveccr during isaki-audio2 branch developments, and it was also demonstrated at Open Source Conference 2018 Kyoto: https://github.com/isaki68k/netbsd-src/tree/audio2 https://mail-index.netbsd.org/netbsd-advocacy/2018/08/07/msg000781.html https://twitter.com/tsutsuii/status/1025504875625365505
Note specifications of interrupts from the HD647180X to the host LUNA was confirmed by Kenji Aoyama on his LUNA-88K2 running OpenBSD/luna88k.
I would like to thank all people still working on ancient LUNA machines!
|
1.29 |
| 26-Dec-2021 |
andvar | fix various typos, mainly in comments.
|
1.28 |
| 18-Feb-2019 |
thorpej | Refactor the 68040 writeback() from each m68k port's trap handler into a shared copy: m68040_writeback(). It is essentially a copy of the Atari version, with some minor cosmetic tweaks and one small performance optimization from the mvme68k port.
Tested by rjs@ on a Quadra 950. (Thanks!)
|
1.27 |
| 25-Feb-2018 |
mrg | branches: 1.27.4; add a special rule to build m68k/fpu.c to avoid passing -msoft-float. fixes GCC 6 kernel builds that use this file.
|
1.26 |
| 09-Mar-2017 |
tsutsui | Add a driver for LUNA's front panel LCD. Ported from OpenBSD/luna88k.
Reviewed by enami@. Tested by Naruaki Etomi and me.
A 68k LUNA with this driver will be demonstrated at AsiaBSDCon NetBSD booth by Etomi-san, with LUNA-88K2 running OpenBSD/luna88k by Kenji Aoyama.
|
1.25 |
| 03-Dec-2016 |
tsutsui | branches: 1.25.2; Preliminary support for LUNA's HD647180X I/O processor (a.k.a. XP).
Demonstrated as "PSG tunes / PCM wav player on LUNA" (using Z80 PSG/PCM drivers ported from NEC PC-6001) at OSC2016 Kyoto and OSC2016 Hiroshima: http://mail-index.netbsd.org/netbsd-advocacy/2016/08/01/msg000712.html http://mail-index.netbsd.org/netbsd-advocacy/2016/11/29/msg000724.html
|
1.24 |
| 20-Jul-2014 |
tsutsui | branches: 1.24.2; 1.24.4; 1.24.8; 1.24.10; Pull LUNA's keyboard driver changes from OpenBSD/luna88k.
- split keyboard mapping definitions to new files, omkbdmap.[ch] - add WSDISPLAY_COMPAT_RAWKBD support (actually the name is wrong; it doesn't emit raw keycode but converts MD code into PS/2 one as "raw keycode on x86" for Xorg server) - allow to enter into ddb by CTRL+ALT(zenmen)+ESC - remove unnecessary return values
Now LUNA's keyboard works on Xorg server without tweaks by xmodmap(1) etc.
|
1.23 |
| 15-Nov-2011 |
tsutsui | branches: 1.23.6; 1.23.10; 1.23.24; Use now common fpu_probe() and print FPU type per probe result since it turns out that server and high-end LUNA models actually have MC68882, not MC68881 as basic and standard models: http://www.h2.dion.ne.jp/~dogs/collect/ds/luna.html
Also put LUNA model names into cpu_model[] for sysctl(3). (maybe we don't have to consider sysctl backward compatibility on this port ;-)
|
1.22 |
| 12-Jun-2011 |
rmind | branches: 1.22.2; Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock.
- Simplify locking in some pmap(9) modules by removing P->V locking.
- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).
- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner. Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.
- Unify /dev/mem et al in MI code and provide required locking (removes kernel-lock on some ports). Also, avoid cache-aliasing issues.
Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches formed the core changes of this branch.
|
1.21 |
| 16-May-2011 |
tsutsui | branches: 1.21.2; - merge and move pasted m68k MD setreg() functions into m68k/m68k_machdep.c - move m68881_save() and m68881_restore() declarations into <m68k/m68k.h>
Briefly tested and no obvious breakage on atari, sun3, and x68k.
|
1.20 |
| 20-Feb-2008 |
drochner | branches: 1.20.32; 1.20.38; Since files.wscons et al. are included by ~all ports anyway, include them in the mi "files" file, and remove include statements from md files. These shouldn't pull in additional kernel code when not in use, so it shouldn't do any harm except a risk of namespace collisions which should be easy to fix.
|
1.19 |
| 03-Dec-2007 |
ad | Interrupt handling changes, in discussion since February:
- Reduce available SPL levels for hardware devices to none, vm, sched, high. - Acquire kernel_lock only for interrupts at IPL_VM. - Implement threaded soft interrupts.
|
1.18 |
| 04-Mar-2007 |
tsutsui | branches: 1.18.2; 1.18.18; 1.18.20; 1.18.26; Add MI softintr(9) support for luna68k with common m68k/softintr.c. Compile test only.
|
1.17 |
| 11-Dec-2005 |
christos | branches: 1.17.26; merge ktrace-lwp.
|
1.16 |
| 14-Nov-2004 |
christos | branches: 1.16.12; use the common procfs_machdep.c
|
1.15 |
| 07-Jul-2004 |
mycroft | Move spc into the MI area.
|
1.14 |
| 27-Jul-2003 |
thorpej | Since everyone uses clock_subr.c (or should, if they don't currently), list it in conf/files instead of in every port's files.*.
|
1.13 |
| 27-Jun-2003 |
he | branches: 1.13.2; Defflag PANICBUTTON, now that machdep.c includes opt_panicbutton.h.
|
1.12 |
| 05-Nov-2002 |
chs | merge pmap.c for all 4k-page motorola-MMU (or compatible) m68k platforms.
|
1.11 |
| 03-Nov-2002 |
chs | use a merged sys_machdep.c for all the motorola-MMU m68k platforms.
|
1.10 |
| 02-Nov-2002 |
chs | enhance the common m68k db_memrw.c to handle read-only kernel text and switch all the motorola-MMU m68k platforms to use it.
|
1.9 |
| 26-Oct-2002 |
jdolecek | now that mem_no is emitted by config(8), there is no reason to keep copy of more or less identical iskmemdev() for every arch; move the function to spec_vnop.c, and g/c machine-dependant copies
|
1.8 |
| 20-Oct-2002 |
chs | merge the 12 copies of vm_machdep.c on the m68k platforms. clean up some other stuff along the way, including: - use m68k/cacheops.*, remove duplicates from cpu.h. - centralize a few declarations in (all the copies of) cpu.h. - define M68K_VAC on platforms which have a VAC. - switch the sun platforms to the (now common) proc_trampoline(). - do the phys_map thang on the sun platforms too, no reason not to.
|
1.7 |
| 06-Sep-2002 |
gehenna | Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch> by using this grammer.
- Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables.
- The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
|
1.6 |
| 21-Jan-2002 |
jdolecek | branches: 1.6.8; Switch to MI dev/md_root.c for archs which don't have any special memory disk hooks (i.e. everything except atari).
|
1.5 |
| 22-Dec-2001 |
chs | convert luna68k to ELF. ok'd by nisimura.
|
1.4 |
| 17-Jan-2001 |
fvdl | branches: 1.4.4; 1.4.8; Add machdep file for procfs. Currently only used for linux-style /proc/cpuinfo (only active when procfs is mounted with -o linux). For ports other than the i386 this currently produces an empty string.
|
1.3 |
| 15-Mar-2000 |
soren | branches: 1.3.6; s/md/raid/ for RAIDframe major name.
|
1.2 |
| 15-Mar-2000 |
oster | Add the RAIDframe device major to the machine-dependent config files so that the right entries get added to dev_name2blk[]. Needed for / on RAID. (Missed these yesterday.. Thanks to Izumi Tsutsui for noticing, and for letting me know :) )
|
1.1 |
| 05-Jan-2000 |
nisimura | Introduce NetBSD/luna68k port into CVS repository.
|
1.3.6.3 |
| 18-Jan-2001 |
bouyer | Sync with head (for UBC+NFS fixes, mostly).
|
1.3.6.2 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.3.6.1 |
| 15-Mar-2000 |
bouyer | file files.luna68k was added on branch thorpej_scsipi on 2000-11-20 20:10:25 +0000
|
1.4.8.4 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.4.8.3 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.4.8.2 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.4.8.1 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.4.4.3 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.4.4.2 |
| 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.4.4.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.6.8.2 |
| 17-May-2002 |
gehenna | Remove old block majors list.
|
1.6.8.1 |
| 16-May-2002 |
gehenna | Include the list of block/character major numbers.
|
1.13.2.4 |
| 29-Nov-2004 |
skrll | Sync with HEAD.
|
1.13.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.13.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.13.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.16.12.3 |
| 27-Feb-2008 |
yamt | sync with head.
|
1.16.12.2 |
| 07-Dec-2007 |
yamt | sync with head
|
1.16.12.1 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.17.26.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.18.26.1 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.18.20.2 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.18.20.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.18.18.1 |
| 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
1.18.2.1 |
| 03-Dec-2007 |
ad | Sync with HEAD.
|
1.20.38.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.20.32.2 |
| 31-May-2011 |
rmind | sync with head
|
1.20.32.1 |
| 18-Mar-2010 |
rmind | Unify /dev/{mem,kmem,zero,null} implementations in MI code. Based on patch from Joerg Sonnenberger, proposed on tech-kern@, in February 2008.
Work and depression still in progress.
|
1.21.2.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.22.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.23.24.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.23.10.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.23.10.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.23.6.1 |
| 09-Nov-2014 |
msaitoh | Pull up following revision(s) (requested by tsutsui in ticket #1182): sys/arch/luna68k/conf/files.luna68k: revision 1.24 sys/arch/luna68k/conf/GENERIC: revision 1.113 via patch sys/arch/luna68k/dev/omrasops.c: revision 1.17-1.19 sys/arch/luna68k/dev/lunaws.c: revision 1.30 sys/arch/luna68k/dev/omkbdmap.c: revision 1.1-1.2 sys/arch/luna68k/dev/omkbdmap.h: revision 1.1 sys/arch/luna68k/dev/lunafb.c: revision 1.31-1.36 sys/arch/luna68k/dev/omrasopsvar.h: revision 1.3 - Setup Bt458 color palette to support ANSI color text on 8bpp framebuffer. Mostly taken from OpenBSD/luna88k. Also sync some comments. Tested on LUNA-II, and mlterm-fb with 8bpp wallpaper also works fine. Thanks to Kenji Aoyama (OpenBSD/luna88k maintainer) for providing his spare 8bpp board. - Use C99 struct initialization for wsdisplay_accessops. - Use kmem(9) instead of malloc(9). - Pull LUNA's keyboard driver changes from OpenBSD/luna88k. Now LUNA's keyboard works on Xorg server without tweaks by xmodmap(1) etc. - split keyboard mapping definitions to new files, omkbdmap.[ch] - add WSDISPLAY_COMPAT_RAWKBD support (actually the name is wrong; it doesn't emit raw keycode but converts MD code into PS/2 one as "raw keycode on x86" for Xorg server) - allow to enter into ddb by CTRL+ALT(zenmen)+ESC - remove unnecessary return values - Add consistent prefix to a softc member name. - Implement WSDISPLAYIO_SMODE ioctl for proper mmap and colormap handling. Tested on LUNA with 4bpp framebuffer. - allow mmap framebuffer memories only in WSDISPLAYIO_DUMBFB - initialize palette for ANSI text colors on back to WSDISPLAYIO_MODE_EMUL - Pull readability changes from OpenBSD/luna88k. Tested on LUNA-II with 8bpp framebuffer. - prepare and use unpack_attr() function to get fg and bg from attribute - use proper variable names to clarify meanings - Put dumb optimizations to avoid conditionals in putchar drawing loops. ~10% improvements of time cat results on LUNA-II 8bpp framebuffer. - Fix unintended RCS Id substitution. - Pull LUNA's framebuffer improvements by Kenji Aoyama from OpenBSD/luna88k. This Makes 4bpp wscons putchar ~30% on LUNA-II. http://marc.info/?l=openbsd-cvs&m=141199909120631&w=2 > Use raster(logic) operation, or ROP, function on LUNA frame buffer. > It makes 4bpp wscons putchar ~20% faster. Also use the similar ROP in 1bpp putchar and cursor functions and the 1bpp putchar is also ~5% faster. While here, reduce diffs from OpenBSD a bit. Tested on all 1bpp/4bpp/8bpp framebuffers. - Add options WSDISPLAY_COMPAT_RAWKBD for Xorg server.
|
1.24.10.1 |
| 18-Jan-2017 |
skrll | Sync with netbsd-5
|
1.24.8.2 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.24.8.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.24.4.2 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.24.4.1 |
| 05-Dec-2016 |
skrll | Sync with HEAD
|
1.24.2.1 |
| 06-Dec-2016 |
snj | Pull up following revision(s) (requested by tsutsui in ticket #1283): distrib/sets/lists/comp/md.luna68k: revision 1.21 etc/etc.luna68k/MAKEDEV.conf: revision 1.9 sys/arch/luna68k/conf/GENERIC: revision 1.120 sys/arch/luna68k/conf/files.luna68k: revision 1.25 sys/arch/luna68k/conf/majors.luna68k: revision 1.21 sys/arch/luna68k/dev/xp.c: revision 1.1 sys/arch/luna68k/include/Makefile: revision 1.19 sys/arch/luna68k/include/xpio.h: revision 1.1 sys/arch/luna68k/luna68k/mainbus.c: revision 1.14 Preliminary support for LUNA's HD647180X I/O processor (a.k.a. XP). Demonstrated as "PSG tunes / PCM wav player on LUNA" (using Z80 PSG/PCM drivers ported from NEC PC-6001) at OSC2016 Kyoto and OSC2016 Hiroshima: http://mail-index.netbsd.org/netbsd-advocacy/2016/08/01/msg000712.html http://mail-index.netbsd.org/netbsd-advocacy/2016/11/29/msg000724.html
|
1.25.2.1 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
1.27.4.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|