-/* $OpenBSD: db_disasm.c,v 1.22 2020/09/11 09:27:09 mpi Exp $ */
+/* $OpenBSD: db_disasm.c,v 1.23 2023/04/10 04:21:19 jsg Exp $ */
/* $NetBSD: db_disasm.c,v 1.11 1996/05/03 19:41:58 christos Exp $ */
/*
if (segovr_grp > 1)
seg = "<bad segment override prefix combination> ";
if (repe > 0 && repne > 0)
- db_printf("<bad repeat prefex combination> ");
+ db_printf("<bad repeat prefix combination> ");
else if (repe > 0)
db_printf("repe "); /* XXX "rep" if not CMPSx or SCASx */
else if (repne > 0)
-/* $OpenBSD: mpbiosreg.h,v 1.4 2011/03/23 16:54:34 pirofti Exp $ */
+/* $OpenBSD: mpbiosreg.h,v 1.5 2023/04/10 04:21:20 jsg Exp $ */
/* $NetBSD: mpbiosreg.h,v 1.3 2003/03/04 23:27:32 fvdl Exp $ */
/*-
#define MPS_MCT_NTYPES 5
/*
- * Interrupt typess
+ * Interrupt types
*/
#define MPS_INTTYPE_INT 0
} __packed;
/*
- * Check EC communcations status (busy). This is needed on i2c/spi but not
+ * Check EC communications status (busy). This is needed on i2c/spi but not
* on lpc since it has its own out-of-band busy indicator.
*
* lpc must read the status from the command register. Attempting this on
-/* $OpenBSD: mvmpic.c,v 1.6 2023/03/05 04:30:08 jmatthew Exp $ */
+/* $OpenBSD: mvmpic.c,v 1.7 2023/04/10 04:21:20 jsg Exp $ */
/*
* Copyright (c) 2007,2009,2011 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2015 Patrick Wildt <patrick@blueri.se>
/* Clear pending IPIs */
bus_space_write_4(sc->sc_iot, sc->sc_c_ioh, MPIC_DOORBELL_CAUSE, 0);
- /* Enable hardware priorization selection */
+ /* Enable hardware prioritization selection */
bus_space_write_4(sc->sc_iot, sc->sc_m_ioh, MPIC_CTRL,
MPIC_CTRL_PRIO_EN);
-/* $OpenBSD: atomic.h,v 1.11 2018/05/14 09:33:20 kettenis Exp $ */
+/* $OpenBSD: atomic.h,v 1.12 2023/04/10 04:21:20 jsg Exp $ */
/* Public Domain */
/*
* Although the PA-RISC 2.0 architecture allows an implementation to
- * be weakly ordered, all PA-RISC processers to date implement a
+ * be weakly ordered, all PA-RISC processors to date implement a
* strong memory ordering model. So all we need is a compiler
* barrier.
*/
-/* $OpenBSD: mpbiosreg.h,v 1.5 2011/03/23 16:54:35 pirofti Exp $ */
+/* $OpenBSD: mpbiosreg.h,v 1.6 2023/04/10 04:21:20 jsg Exp $ */
/* $NetBSD: mpbiosreg.h,v 1.1.2.3 2000/02/29 13:17:51 sommerfeld Exp $ */
/*-
#define MPS_MCT_NTYPES 5
/*
- * Interrupt typess
+ * Interrupt types
*/
#define MPS_INTTYPE_INT 0
-/* $OpenBSD: ufs_disksubr.c,v 1.6 2022/10/14 13:22:57 krw Exp $ */
+/* $OpenBSD: ufs_disksubr.c,v 1.7 2023/04/10 04:21:20 jsg Exp $ */
/* $NetBSD: ufs_disksubr.c,v 1.2 2013/01/14 01:37:57 tsutsui Exp $ */
/*
/*
* Attempt to read a disk label from a device
- * using the indicated stategy routine.
+ * using the indicated strategy routine.
* The label must be partly set up before this:
* secpercyl and anything required in the strategy routine
* (e.g., sector size) must be filled in before calling us.
-/* $OpenBSD: clock.c,v 1.13 2023/03/12 22:18:58 cheloha Exp $ */
+/* $OpenBSD: clock.c,v 1.14 2023/04/10 04:21:20 jsg Exp $ */
/* $NetBSD: clock.c,v 1.32 2006/09/05 11:09:36 uwe Exp $ */
/*-
* + default 64Hz
* + use TMU channel 0 as clock interrupt source.
* + use TMU channel 1 as emulated software interrupt source.
- * + use TMU channel 2 as freeruuning counter for timecounter.
+ * + use TMU channel 2 as freerunning counter for timecounter.
* + If RTC module is active, TMU channel 0 input source is RTC output.
* (1.6384kHz)
*/
-/* $OpenBSD: mdesc.c,v 1.8 2019/10/20 16:27:19 kettenis Exp $ */
+/* $OpenBSD: mdesc.c,v 1.9 2023/04/10 04:21:20 jsg Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
/*
* We can only fetch the physical resource inventory this way
- * if the firmware supports parellel boot.
+ * if the firmware supports parallel boot.
*/
if (prom_set_sun4v_api_version(HSVC_GROUP_PARALLEL_BOOT, 1, 0, &minor))
return;
-/* $OpenBSD: dtvar.h,v 1.15 2023/03/10 22:14:32 bluhm Exp $ */
+/* $OpenBSD: dtvar.h,v 1.16 2023/04/10 04:21:20 jsg Exp $ */
/*
* Copyright (c) 2019 Martin Pieuchot <mpi@openbsd.org>
/* Event states ring */
unsigned int dp_prod; /* [m] read index */
unsigned int dp_cons; /* [m] write index */
- struct dt_evt *dp_ring; /* [m] ring of event sates */
+ struct dt_evt *dp_ring; /* [m] ring of event states */
struct mutex dp_mtx;
struct dt_softc *dp_sc; /* [I] related softc */
-/* $OpenBSD: fanpwr.c,v 1.6 2023/02/13 19:16:50 kettenis Exp $ */
+/* $OpenBSD: fanpwr.c,v 1.7 2023/04/10 04:21:20 jsg Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
#define TCS4525_TIME_SLEW_MASK (0x3 << 3)
#define TCS4525_TIME_SLEW_SHIFT 3
-/* Distinguish between Failrchild original and Silergy clones. */
+/* Distinguish between Fairchild original and Silergy clones. */
enum fanpwr_id {
FANPWR_FAN53555, /* Fairchild FAN53555 */
FANPWR_SYR827, /* Silergy SYR827 */
-/* $OpenBSD: rkpmic.c,v 1.12 2022/10/12 13:39:50 kettenis Exp $ */
+/* $OpenBSD: rkpmic.c,v 1.13 2023/04/10 04:21:20 jsg Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
/*
* The RTC thinks November has 31 days. Match what Linux does
- * and undo the damage by considering the calenders to be in
+ * and undo the damage by considering the calendars to be in
* sync on January 1st 2016.
*/
secs = clock_ymdhms_to_secs(&dt);
* Don't try to be clever, just do the conversion in two
* steps, first taking care of November 31 in previous years,
* and then taking care of days in December of the current
- * year. Decmber 1st turns into November 31st!
+ * year. December 1st turns into November 31st!
*/
secs = tv->tv_sec;
clock_secs_to_ymdhms(secs, &dt);
-/* $OpenBSD: mbg.c,v 1.33 2022/03/11 18:00:50 mpi Exp $ */
+/* $OpenBSD: mbg.c,v 1.34 2023/04/10 04:21:20 jsg Exp $ */
/*
* Copyright (c) 2006, 2007 Marc Balmer <mbalmer@openbsd.org>
}
/*
- * degrade the sensor state if we are feerunning for more than
+ * degrade the sensor state if we are freerunning for more than
* sc->sc_trust seconds.
*/
void
-/* $OpenBSD: uvm_map.c,v 1.313 2023/02/24 15:17:48 mpi Exp $ */
+/* $OpenBSD: uvm_map.c,v 1.314 2023/04/10 04:21:20 jsg Exp $ */
/* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */
/*
/*
* UVM_FLAG_SIGALTSTACK indicates that immutable may be bypassed,
- * but the range is checked that it is contigous, is not a syscall
+ * but the range is checked that it is contiguous, is not a syscall
* mapping, and protection RW. Then, a new mapping (all zero) is
* placed upon the region, which prevents an attacker from pivoting
* into pre-placed MAP_STACK space.
* all mapped regions.
*
* Map must not be locked.
- * If no flags are specified, all ragions are unwired.
+ * If no flags are specified, all regions are unwired.
*/
int
uvm_map_pageable_all(struct vm_map *map, int flags, vsize_t limit)
* Link orig and next into free-space tree.
*
* Don't insert 'next' into the addr tree until orig has been linked,
- * in case the free-list looks at adjecent entries in the addr tree
+ * in case the free-list looks at adjacent entries in the addr tree
* for its decisions.
*/
if (orig->fspace > 0)
-/* $OpenBSD: uvm_pmemrange.c,v 1.62 2022/06/02 18:00:53 kettenis Exp $ */
+/* $OpenBSD: uvm_pmemrange.c,v 1.63 2023/04/10 04:21:20 jsg Exp $ */
/*
* Copyright (c) 2009, 2010 Ariane van der Steldt <ariane@stack.nl>
* The size tree is not used for memory ranges of 1 page, instead,
* single queue is vm_page[0].pageq
*
- * vm_page[0].fpgsz describes the length of a free range. Two adjecent ranges
+ * vm_page[0].fpgsz describes the length of a free range. Two adjacent ranges
* are joined, unless:
* - they have pages in between them which are not free
* - they belong to different memtypes (zeroed vs dirty memory)
* Returns the range thus created (which may be joined with the previous and
* next ranges).
* If no_join, the caller guarantees that the range cannot possibly join
- * with adjecent ranges.
+ * with adjacent ranges.
*/
struct vm_page *
uvm_pmr_insert_addr(struct uvm_pmemrange *pmr, struct vm_page *pg, int no_join)
-/* $OpenBSD: uvm_vnode.c,v 1.131 2022/12/08 21:32:48 kettenis Exp $ */
+/* $OpenBSD: uvm_vnode.c,v 1.132 2023/04/10 04:21:20 jsg Exp $ */
/* $NetBSD: uvm_vnode.c,v 1.36 2000/11/24 20:34:01 chs Exp $ */
/*
* function assumes we hold a reference.
*
* If the vnode is in the process of being recycled by someone
- * else, grabbing a refernce will fail. In that case the
+ * else, grabbing a reference will fail. In that case the
* pages will already be written out by whoever is cleaning
* the vnode, so simply return VM_PAGER_AGAIN such that we
* skip these pages.