Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ia64 a little bit of clean up, sort ski items, and ...
details: https://anonhg.NetBSD.org/src/rev/c16d1e603288
branches: trunk
changeset: 998857:c16d1e603288
user: scole <scole%NetBSD.org@localhost>
date: Sun May 05 16:45:34 2019 +0000
description:
a little bit of clean up, sort ski items, and some notes about libunwind
diffstat:
sys/arch/ia64/TODO | 51 +++++++++++++++++++++++++++------------------------
1 files changed, 27 insertions(+), 24 deletions(-)
diffs (92 lines):
diff -r a80301b01c2c -r c16d1e603288 sys/arch/ia64/TODO
--- a/sys/arch/ia64/TODO Sun May 05 15:07:12 2019 +0000
+++ b/sys/arch/ia64/TODO Sun May 05 16:45:34 2019 +0000
@@ -1,7 +1,7 @@
$ NetBSD: TODO,v 1.1 2018/04/14 12:06:03 scole Exp $
What works:
- The ski simulator (pkgsrc/emulators/ski) works on NetBSD, can run
+ The ski simulator (pkgsrc/emulators/ski) works on NetBSD/i386, can run
and step through in assembly.
Netbooting may work on some machines, basically you need to boot
@@ -13,32 +13,29 @@
Also, a successful report of booting off the CD is here
http://mail-index.netbsd.org/port-ia64/2009/06/18/msg000102.html
-Tasks remaining, first couple seem most important:
-
-- pmap.c is getting compilation warnings (for gcc6 & gcc7) like
- /var/tmp//cckQKcKn.s:7614: Warning: Use of 'st8' may violate RAW dependency 'RR#' (data)
- ...
- how to change compile flags for specific kernel file like "CFLAGS.pmap.c+= -O0" ?
+Tasks remaining:
- context switching and forking appear unfinished,
vm_machdep.c::cpu_lwp_fork() appears incomplete
-- pmap module, imported from freebsd but still needs more work and
- testing
+- pmap module, imported from freebsd but still needs more work and testing
- IA64 Stack unwind code: Support remaining unwind descriptor
types. (See arch/ia64/unwind/TODO). ddb() traces need to print line
- information also. Seems like a lot of this could be re-used
- from freebsd
+ information also. Seems like there are a few options:
+ 1) fix and finish current unwind that is minimal, incomplete, and buggy
+ 2) import FreeBSD/ia64 implementation, may be derived from HP originally:
+ http://lists.llvm.org/pipermail/cfe-dev/2016-September/050649.html
+ 3) import this version
+ https://www.nongnu.org/libunwind/man/libunwind-ia64(3).html
+ originally written by one of ia64 gurus but still looks maintained
+ and portable
+ 4) something else
+- kernel with LOCKDEBUG option crashes in pmap startup somewhere
- redo _regset.h in netbsd style with __greg_t __gregset_t
-- some commands in ski are not yet implemented, 2 important ones
- are still missing, "cstack" and "pm", which view the stack and
- source code lines respectively
-- create a ski network driver
-- create a ski disk driver
- implement ld.elf_so, MK_DYNAMICROOT
- fix memory detection, on real hardware doesn't find all memory
-- implement interrupts (sacpi & pci), can be mostly from freebsd?
+- implement interrupts (sacpi & pci)
- MKGDB for ia64
- implement fp[gs]etsticky, [make|get|set|swap]context
-- floating point, fenv functions were imported from freebsd, but haven't been tested
+- floating point, fenv functions were imported from freebsd, but only compile tested
- implement core_machdep.c
- implement __cloneS ptrace.S sbrk.S shmat.S
- implement kvm_ia64.c
@@ -48,10 +45,9 @@
mutex_spin_enter()/mutex_spin_exit() __HAVE_SPIN_MUTEX_STUBS
- rwlock.h rw_enter(),rw_exit(),rw_tryenter() __HAVE_RW_STUBS, implemented already?
- add efipart_dev to read gpt/ffs disks for bootloader
-- fix printf of lx in bootloader/libsa ?
-- sort out bootloader/loader.efi stuff, is freebsd one good enough or
- do we want commands more like netbsd i386 bootloader? e.g., add
- command to boot nfs from loader.efi instead of hack now
+- sort out bootloader/loader.efi stuff, make it more like netbsd and
+ less like freebsd, command to boot nfs from loader.efi instead of
+ hack that exists now
- ia64 implement __HAVE_FAST_SOFTINTS?
- want or need __HAVE_CPU_UAREA_ROUTINES, cpu_uarea_alloc, cpu_uarea_free
- fix all "[Nn]ot yet" and "XXX" functions everywhere
@@ -65,9 +61,16 @@
- write console and/or X framebuffer driver. freebsd has vgapci
device that may be portable
- add ia32 emulation, port from freebsd
-- create install EFI/cdrom/netbsd
+- installation media for EFI/cdrom/usb
+
+ski emulator tasks:
+- some commands in ski are not yet implemented. 2 important ones
+ are still missing, "cstack" and "pm", which view the stack and
+ source code lines respectively
+- create a ski network driver
+- create a ski disk driver
- fix ski to run on other archs beside i386, or at least amd64
-Pie in the sky
+Pie in the sky:
- Xen and itanium!
- qemu and itanium
Home |
Main Index |
Thread Index |
Old Index