Commit Graph

306267 Commits

Author SHA1 Message Date
gutteridge 37dff36670 acronyms.comp: add SBI 2024-05-19 15:47:38 +00:00
tsutsui 448aa2ad53 Reorder function prototypes per source files. 2024-05-19 15:44:21 +00:00
tsutsui 173d80ed84 Install cd9660 related system headers for tools installboot(8) builds. 2024-05-19 15:43:24 +00:00
tsutsui 40d859218e Make cd9660_util.c usable in userland tools like installboot(8).
This was partially done for src/distrib/cdrom/macppc_installboot,
but more strict prototypes are necessary for native binary builds.
2024-05-19 15:41:53 +00:00
tsutsui 14cc0335a4 Enable SUPPORT_CD on uboot. 2024-05-19 15:39:58 +00:00
riastradh 42a8728080 ttm: Undo mistake in previous.
PR xsrc/58133
2024-05-19 13:50:04 +00:00
riastradh fd5adf4c18 ttm: Sync ttm_bo_uvm_fault_idle better with Linux.
PR xsrc/58133
2024-05-19 13:28:28 +00:00
christos 43bbf82ac4 allow things to compile again 2024-05-18 19:57:03 +00:00
andvar b087128c77 s/Abosrb/Absorb/ in comment. 2024-05-18 19:28:36 +00:00
andvar 7b6cdeb9a1 s/abou/about/ in comment. 2024-05-18 19:04:45 +00:00
andvar 9d70975e70 s/Aborb/Absorb/ in comment. 2024-05-18 19:03:31 +00:00
christos 3c6141f6f3 include all extra flavors of the kernel and use the proper variable for
the machine dependent installation directory.
2024-05-18 02:03:17 +00:00
thorpej e4214c824f If <sys/mcontext.h> does not define __UCONTEXT_SIZE, define it as
sizeof(ucontext_t).
2024-05-18 01:21:42 +00:00
thorpej d8a1d80a31 Define the _UC_* flag bits before including <sys/mcontext.h>. 2024-05-18 01:16:21 +00:00
thorpej 1853c81a61 Clean up the <sys/ucontext.h> <-> <machine/mcontext.h> interface up
a little:
- Define _UC_MD_BIT* constants for the available machine-dependent bits,
  and use those constants to define the machine-dependent bits as well
  as the machine-independent bits that have machine-dependent values.
- Explicitly generate an error if _UC_TLSBASE, _UC_SETSTACK, or
  _UC_CLRSTACK are not defined by <machine/mcontext.h>.
2024-05-18 00:37:40 +00:00
thorpej 286a759751 Remove unnecessary include of <sys/malloc.h>. 2024-05-18 00:05:50 +00:00
thorpej c79d399c24 Remove unecessary include of <sys/malloc.h>. 2024-05-18 00:05:18 +00:00
thorpej 0ad7109896 Remove unnecessary include of <sys/malloc.h>. 2024-05-18 00:04:46 +00:00
thorpej 002d97bff0 Move the include of <sys/malloc.h> to where it's truly needed. 2024-05-18 00:04:01 +00:00
thorpej 4ea2e44bb6 Remove unnecessary include of <sys/malloc.h>. 2024-05-17 23:57:46 +00:00
thorpej 64a52938bd <sys/mallocvar.h> -> <sys/malloc.h> 2024-05-17 23:56:24 +00:00
uwe a9c500b2e8 curses: constify newterm() and setterm() arguments
newterm() argument is const in the spec, so this fixes our
conformance.

setterm() is not in the spec, but it's natural and in ncurses its
argument is const too, so follow suit.

Doesn't change the ABI, so no bump required.

ok blymn@
2024-05-17 23:32:50 +00:00
thorpej a7aa342f5e G/C MDP_AST -- it's not referenced anywhere. 2024-05-17 22:21:17 +00:00
thorpej e71269a14e Implement _UC_SETSTACK / _UC_CLRSTACK. 2024-05-17 21:37:07 +00:00
christos 9a57126d1c use IMAGESPECEXTRA to include libdata and don't include IMAGERUNTIME 2024-05-17 21:31:10 +00:00
christos 1f259ef1e5 Add /dev/pipe to the spec list using IMAGESPECEXTRA 2024-05-17 20:27:09 +00:00
christos fa65999dca use IMAGERUNTIME to copy extra data instead of random pax commands 2024-05-17 20:26:48 +00:00
christos d308a2f4e0 Add IMAGERUNTIME and IMAGESPECEXTRA variables 2024-05-17 19:54:28 +00:00
nia 48b353f191 eap(4): Restore the full set of supported hardware encodings from netbsd-7
Tested in QEMU.
2024-05-17 12:20:02 +00:00
nia d833e8b264 Add some "simpler" PCI audio devices to aarch64's GENERIC64
These serve as alternatives to hdaudio.  Tested in QEMU.
2024-05-17 10:25:43 +00:00
christos 5336283700 When calling el_line make sure that we call the resizing function
callback because el_line updates the legacy LineInfo structure and
we need to notify that the cached copy of the the buffer has changed.
Of course the resizing function can call el_line itself to update
the buffer, so prevent recursion. Bug found by Peter Rufer at Arista.
2024-05-17 02:59:08 +00:00
riastradh 70dffce551 riscv: Make feraiseexcept actually raise the given exceptions.
Doing

	fexcept_t ex = 0;
	fesetexceptflag(&ex, excepts);

has the effect of _clearing_ all the exceptions in excepts.  Using
fesetexceptflag doesn't make this easier, because we would have to
record which exceptions were already raised.  So just set the fflags
bits in the fcsr register directly.
2024-05-17 02:11:07 +00:00
manu af39a49700 iWorkaround panic: fpudna from userland
i386 Xen PV domU get spurious fpudna traps from userland. Older eager FPU
contact switching code took care of ignoring them. When transitioning
from eager switching to awlays switching, this special handling was
removed, causing "fpudna from userland" panics.

This change restores the previosu behavior where fpudna traps from
userland are ignored on Xen PV domU.
2024-05-17 00:37:14 +00:00
christos f9a956b234 Add more extra stuff on the cds 2024-05-16 17:55:48 +00:00
nia db3eea83fb add additional details about how EAP_USE_BOTH_DACS works and is used
requested by uwe
2024-05-16 17:00:31 +00:00
christos f2a4ad5a9b Apply the -xx treatment to the rest of the ffs makefs invocations. 2024-05-16 15:46:42 +00:00
uwe 0aa0d85cd9 eap(4): touch up markup a bit 2024-05-16 14:41:03 +00:00
tsutsui 73e733dee4 Add -data-change-warn to MKISOFS_ARGS for macppc as done for mac68k:
https://mail-index.netbsd.org/source-changes/2023/05/19/msg144826.html
> Creating Type&Creator mappings for .bin (macbinary encoded) files,
> mkisofs changes files, then turns around and complains they have been
> changed.
>
> This is a self-inflicted wound, so demote the error to a warning.

This looks to make macppccd builds with cdrtools-3.02a10.
2024-05-16 14:21:45 +00:00
gson 12b0bef8b3 Fix typo in comment 2024-05-16 14:11:42 +00:00
ast aa0f3360a3 . Update the ASCII art timeline for the last two years
. In particular, add NetBSD 8.3 to timeline
. Add respective "publication dates" of those points in time
While here, also:
. Fix white space idiosyncracies and opt for https instead of http
. Track some changes made to the FreeBSD version of this file
2024-05-16 12:04:21 +00:00
nia 8b6d31f906 Note that EAP_USE_BOTH_DACS is deprecated in the eap(4) manual page. 2024-05-16 11:54:19 +00:00
riastradh 689d59067a riscv: More shiftiness reduction around FCSR in libc. 2024-05-16 01:02:35 +00:00
riastradh 143bae62f3 riscv: Nix shifting around FRRM and FSRM in libc too.
These read and write the floating-point rounding mode directly, not
the whole floating-point control and status register.
2024-05-16 00:56:11 +00:00
christos baab9fc215 Add missing stuff for vax 2024-05-15 16:31:35 +00:00
christos 8047228591 Factor out common stuff. 2024-05-15 16:29:53 +00:00
riastradh 6f685adcb6 usleep(3): Note the historical rake that was stepped upon.
PR 58184
2024-05-15 13:12:04 +00:00
tsutsui edc3e298c6 Fix an old bug in NATIVELABEL_ONLY case in PR/50729 by me. (sigh)
'disklabel -r -w' writes a disklabel at a wrong sector in
NATIVELABEL_ONLY && !LABELUSESMBR && LABELSECTOR != 0 case
if the target disk doesn't have a valid disklabel, due to
incorrect LABEL_OFFSET value.

Found and investigated on NetBSD/hp300 bootable CD tests.
Maybe this affects ports that use distrib/utils/x_disklabel
but have no MBR support, i.e. only NetBSD/hp300 10.0 and
NetBSD/ews4800mips 9.0 and later.

Should be pulled up to netbsd-10 and netbsd-9.
2024-05-15 12:47:22 +00:00
reinoud b1f39b6076 Fixing potential, though unlikely overflow as detected by coverity scan 2024-05-15 11:01:27 +00:00
riastradh 906e271cb3 modfl(3): Fix conversion from FreeBSD.
LDBL_MANL_SIZE is spelled EXT_FRACLBITS -- and not EXT_FRACHBITS.

PR lib/58237: modfl returns wrong answers on ld128 architectures
2024-05-15 00:02:56 +00:00
andvar e4ebea9efd fix recently committed typos by msaitoh in few more places, as well as few more.
mainly s/contigous/contiguous/ and s/miliseconds/milliseconds/ in comments.
2024-05-14 19:00:43 +00:00