summaryrefslogtreecommitdiff
path: root/sys/arch/vax
AgeCommit message (Collapse)Author
2023-06-02follow the steps of Andrew Doran (ad) commit and fix more s/loose/lose/ typos.andvar
also s/beyound/beyond/ and few others along the way, mainly in comments.
2023-04-28Pass local symbols relocations in both passes and provide the kobj_relocskrll
implementation visibility of these relocations. Currently all implementations resolve local symbol relocations in the first pass and simply skip them in the second. The RISC-V implementation will make use of this visiblity.
2023-03-26s/diplay/display/ and s/DIPPLAY/DISPLAY/ in comments.andvar
2023-03-26Change CASMAGIC to 0xFEDABABE so that it cannot accidentally end up inragge
valid kernel memory. Due to the VARM accesses above S0 should always give a ptelen trap. Bug found by Kalvis Duckmanton.
2023-03-26Ensure that the kernel do not try to allocate a S0 segment larger than 1G,ragge
since the hardware prohibits that.
2023-02-23vax: Note where cpu_switchto needs barriers.riastradh
PR kern/57240 Not sure vax has ever had working MULTIPROCESSOR, though, and I'm not even sure how to spell store-before-load barriers on VAX, so no functional change for now.
2023-02-12Add optoion GENERIC.local include to the end of ~all GENERIC configsabs
This excludes atari, sgimips, evbmips, evbppc, evbsh3, and hpcarm all of which have somewhat specific kernel config file layouts
2023-02-11Add comments that "options VAX410" also supports VS3100/m30,m38,m40,m48.tsutsui
2023-02-11Port rasops'fied smg(4) framebuffer driver for VS3100 from OpenBSD/vax.tsutsui
This allows using more fonts other than 8x15 pixels on smg(4). Tested on my VAXstation 3100/m30. Note the bitorder of smg(4) VRAM is LSB first (i.e. LSBit is the most left side pixel) and this requires more complicated changes to bitmask ops in MI rasops(9) because several LE machines have VRAMs whose MSBit is connected to the most left side pixel, but for now I prepared smg(4) specific putchar and cursor ops based on old luna68k omrasops.
2023-02-06Add a support for gpx(4) color framebuffer found on VAXstation 3100.tsutsui
Poted from OpenBSD/vax. Note smg(4) monochrome onboard framebuffer driver is also changed attached only if gpx(4) is not installed or flags 1 is specified in config files, as OpenBSD did. Tested on my VAXstation 3100/m30 with and without 8bpp gpx(4). Revied on port-vax@ and "Please go ahead!" from ragge@. https://mail-index.netbsd.org/port-vax/2023/01/thread1.html#004147 Worth to pullup to netbsd-10.
2023-01-29Make a vax bootloader work on 8MB VAXen.tsutsui
64KB (0x800000 - 0x7f0000) is not enough for the bootloader itself and more spaces are required for heap on loading a kernel. https://mail-index.netbsd.org/port-vax/2023/01/24/msg004149.html "Go ahead" from ragge@. Should be pulled up to netbsd-10 and netbsd-9.
2023-01-24mark unused arguments as suchchristos
2023-01-13Make sure to call wsfont_init(9) as other framebuffer drivers.tsutsui
Otherwise wsfont_find(9) always fails and wsdisplay(4) is not attached. XXX: still no output on the framebuffer console on my VAXstation 3100/m30
2022-12-12vsbus vax: sprinkle volatile for register accessesjakllsch
2022-12-11Support save/restore of AST levels in the PCB for context switching.oster
Code written by ragge@ , tested by oster@.
2022-12-10Don't let compiler optimize out the framebuffer probe in lcg_match() byjakllsch
using keyword volatile.
2022-10-31s/interrut/interrupt/ and s/accelelerator/accelerator/ in comments.andvar
2022-10-27vax/qvaux(4): Convert to ttylock/ttyunlock.riastradh
2022-10-26ddb/db_active.h: New home for extern db_active.riastradh
This can be included unconditionally, and db_active can then be queried unconditionally; if DDB is not in the kernel, then db_active is a constant zero. Reduces need for #include opt_ddb.h, #ifdef DDB.
2022-10-11fix typos in log messages s/bus_dmamem_create/bus_dmamap_create/ andandvar
s/bus_dmamem_load/bus_dmamap_load/. Inspired by recent similar fixes in OpenBSD.
2022-09-29swwdog(4): Add to GENERIC kernels.riastradh
Plus a handful of others that I'm familiar with. Lots of special- purpose kernels should probably have this too but I'm not going through all the arm, mips, and ppc evaluation board kernels to see which ones are relevant. Omitted from systems I know to be very small: - sun2/GENERIC - dreamcast/GENERIC Feel free to remove it from others that need to be kept smaller. Compile-tested a few of these just in case: - alpha/GENERIC - amd64/GENERIC - evbmips/OCTEON - i386/GENERIC - riscv/GENERIC PR kern/29702
2022-09-02Remove unnecessary inclusion of <net/netisr.h>.thorpej
2022-08-07UFS/LFS dirhash:simonb
- Enable UFS_DIRHASH if the architecture or kernel model specific config file can use 128MB of RAM or more. - Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel and by a number of NetBSD developers for years. - Add LFS_DIRHASH if LFS was enabled. - Be somewhat consistent with FS options order.
2022-07-26s/functin/function/ in copy pasted comment.andvar
2022-07-06fix various typos in comments.andvar
2022-05-29le(4): Fix resource leaks for error paths.rin
XXX Compile test only (at least one arch per driver).
2022-05-24s/entrace/entrance/ in copy pasted comment.andvar
2022-04-25libsa now needs ioctl support to handle media with large sectors.mlelstv
Provide dummy functions.
2022-04-10fix various typos in comments and output/log messages.andvar
2022-04-08fix various typos, mainly in comments, but also log messages, docs, game text.andvar
2022-04-06Nix trailing whitespace in files of membars, atomics, and lock stubs.riastradh
Will be touching many of these files soon for functional changes. No functional change intended.
2022-03-03vax: Use device_set_private.riastradh
2022-02-13vax: __cpu_simple_lock audit.riastradh
Fix missing "memory" asm clobber so the compiler can't reorder memory access around __cpu_simple_lock/lock_try/unlock.
2022-02-12__cpu_simple_lock(9): Omit needless barriers in init.riastradh
It is, and always has been, the caller's responsibility to ensure the lock is initialized before it can be used -- otherwise the memory could hold garbage; it is nonsensical to even attempt locking operations on it before initialization. So there's no need to issue explicit barriers here. The barrier seems to have been introduced in sys/arch/alpha/alpha/lock_machdep.c rev. 1.1 (since moved to inline asm in alpha/include/lock.h) and then copied & pasted into several other architectures.
2022-02-12sys: Omit vestigial struct devices in softcs after device_t split.riastradh
2022-02-12sys: Fix various abuse of struct device internals.riastradh
Will help to make struct device opaque later.
2022-02-11vax: Remove a vestige from before the device_t/softc split.riastradh
Verified MicroVAX 4000/96 still boots. cpu0 at mainbus0: KA49, NVAX, 10KB L1 cache, 256KB L2 cache
2021-12-05s/commmand/command/ in comment.msaitoh
2021-12-05s/implictily/implicitly/ in comment.msaitoh
2021-11-02In order to prevent _mcount() from being recursively called when built with ↵ryo
COPTS=-O0, sprinkle `__always_inline' to make _mcount() be generated as a single function.
2021-11-01Use "stack_t" instead of "struct sigaltstack", as the former is thethorpej
newer standardized name. NFC.
2021-10-29Define __HAVE_STRUCT_SIGCONTEXT regardless of its current visibility.thorpej
2021-10-28The genassym code in libc also needs struct sigcontext13christos
2021-10-27The stupid CPP has proven me too clever by half.thorpej
2021-10-27Use the signal trampoline version constants from <sys/signal.h>.thorpej
2021-10-27Centrally define constants that define the signal return trampolinethorpej
versioning scheme, and add a big block comment describing how it works.
2021-10-27Make sigcontext13 visible only to _KERNEL. Make sigcontext visible onlythorpej
to _LIBC and _KERNEL.
2021-10-26Merge all MD __sigaction14_sigtramp.c copies into one:christos
- sparc and sparc64 were not using version 0 sigcontext when there were no arguments in the signal version. This was probably a bug. - vax is using +1 the version numbers of the other archs. - Only hppa was defining __LIBC12_SOURCE__ so it was getting a working sigcontext before. all the other ports that supported sigcontext had the compat code disabled. [pointed out by thorpej, thanks!] If we want to remove sigcontext support from userland at least now there is less work to do so.
2021-10-12fix various typos, mainly in comments.andvar
2021-10-04s/userpsace/userspace/andvar