OpenBSD CVS

CVS log for src/sys/dev/ksyms.c


[BACK] Up to [local] / src / sys / dev

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.34 / (download) - annotate - [select for diffs], Sat Jan 8 22:54:49 2022 UTC (2 years, 5 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.33: +1 -5 lines
Diff to previous 1.33 (colored)

__LDPGSZ hasn't been used here since rev 1.23 (2013).
Delete comment referring to it

ok jsg@

Revision 1.33 / (download) - annotate - [select for diffs], Sat Jul 18 20:21:01 2020 UTC (3 years, 10 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.32: +4 -4 lines
Diff to previous 1.32 (colored)

Make /dev/ksyms work.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jan 25 00:19:26 2019 UTC (5 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

I am retiring my old email address;  replace it with my OpenBSD one.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jan 11 17:29:43 2016 UTC (8 years, 5 months ago) by stefan
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Use uiomove() instead of uiomovei(); from Martin Natano

ok kettenis@

Revision 1.30 / (download) - annotate - [select for diffs], Sat Aug 29 01:58:39 2015 UTC (8 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.29: +1 -10 lines
Diff to previous 1.29 (colored)

_NLIST_DO_ELF is no longer needed: it's the only option

ok deraadt@

Revision 1.29 / (download) - annotate - [select for diffs], Wed Aug 12 06:19:25 2015 UTC (8 years, 10 months ago) by mlarkin
Branch: MAIN
Changes since 1.28: +7 -4 lines
Diff to previous 1.28 (colored)


Use a linker script when building i386 kernels to allow section padding on
PAGE_SIZE boundaries. This is required to enforce proper separation of
sections when adding page protections (coming shortly).

This was in snaps before release with no reported side effects.

ok deraadt@

Revision 1.28 / (download) - annotate - [select for diffs], Sat Mar 14 03:38:46 2015 UTC (9 years, 3 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.27: +1 -2 lines
Diff to previous 1.27 (colored)

Remove some includes include-what-you-use claims don't
have any direct symbols used.  Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@

Revision 1.27 / (download) - annotate - [select for diffs], Tue Feb 10 21:56:09 2015 UTC (9 years, 4 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

First step towards making uiomove() take a size_t size argument:
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
- rewrite uiomovei() as an uiomove() wrapper.
ok kettenis@

Revision 1.26 / (download) - annotate - [select for diffs], Mon Dec 22 02:55:48 2014 UTC (9 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

amd64 now also uses the ssyms mechanism.
ok guenther

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jul 8 17:19:25 2014 UTC (9 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.24: +1 -3 lines
Diff to previous 1.24 (colored)

decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.h
don't need to be married.
ok guenther miod beck jsing kettenis

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jun 11 20:31:15 2014 UTC (10 years ago) by matthew
Branch: MAIN
Changes since 1.23: +4 -1 lines
Diff to previous 1.23 (colored)

Reject negative file offsets in /dev/ksyms.

ok deraadt, kettenis

Revision 1.23 / (download) - annotate - [select for diffs], Thu Oct 17 08:02:19 2013 UTC (10 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.22: +1 -31 lines
Diff to previous 1.22 (colored)

Remove support for a.out and ecoff.  We only do elf now.
ok miod

Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 31 17:03:25 2013 UTC (11 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.21: +1 -3 lines
Diff to previous 1.21 (colored)

do not need machine/cpu.h directly

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jun 23 16:02:33 2011 UTC (12 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.20: +5 -44 lines
Diff to previous 1.20 (colored)

ansify a few files.  ok deraadt dlg krw matthew

Revision 1.20 / (download) - annotate - [select for diffs], Sun Dec 26 15:41:00 2010 UTC (13 years, 5 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Kill pmap_phys_address(), and force every driver's mmap() routine to return
a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument].

This allows MI drivers to implement mmap() routines without having to know
about the pmap_phys_address() implementation and #ifdef obfuscation.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Sep 11 13:39:33 2007 UTC (16 years, 9 months ago) by gilles
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

KNF

prompted and "much better" by marco@, ok pyr@

Revision 1.18 / (download) - annotate - [select for diffs], Sat Sep 8 17:59:23 2007 UTC (16 years, 9 months ago) by gilles
Branch: MAIN
Changes since 1.17: +2 -3 lines
Diff to previous 1.17 (colored)

more M_ZERO changes

ok pyr@ and krw@

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 12 18:09:24 2006 UTC (17 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored)

include uvm_extern.h for atop()

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 9 22:22:50 2004 UTC (19 years, 10 months ago) by pefo
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

mips/sgi uses same symbol table style setup as sparc64
OK mickey@

Revision 1.5.2.8 / (download) - annotate - [select for diffs], Thu Feb 19 10:56:13 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.5.2.7: +1 -3 lines
Diff to previous 1.5.2.7 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 9 21:32:23 2004 UTC (20 years, 5 months ago) by brad
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.14: +1 -3 lines
Diff to previous 1.14 (colored)

remove uvm_extern.h

tested on alpha, i386, powerpc, sparc64, m68k.

ok miod@

Revision 1.5.2.7 / (download) - annotate - [select for diffs], Sat Jun 7 11:02:28 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.5.2.6: +1 -3 lines
Diff to previous 1.5.2.6 (colored) to branchpoint 1.5 (colored)

Sync SMP branch to -current

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jun 3 01:22:55 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.13: +1 -3 lines
Diff to previous 1.13 (colored)

Convert to 2 term license; OK with art@

Revision 1.5.2.6 / (download) - annotate - [select for diffs], Fri Mar 28 00:38:09 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.5.2.5: +5 -5 lines
Diff to previous 1.5.2.5 (colored) to branchpoint 1.5 (colored)

Sync the SMP branch with 3.3

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Tue Oct 29 00:33:23 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.11.2.1: +6 -6 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

sync to -current

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jul 10 22:08:47 2002 UTC (21 years, 11 months ago) by mickey
Branch: MAIN
CVS Tags: UBC_SYNC_B, UBC_SYNC_A, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored)

proper cdev_decl(ksyms), fix ksyms's broken functions

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:42:15 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

Sync UBC branch to -current

Revision 1.5.2.5 / (download) - annotate - [select for diffs], Thu Mar 28 12:29:44 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.5.2.4: +4 -4 lines
Diff to previous 1.5.2.4 (colored) to branchpoint 1.5 (colored)

Merge in -current from about a week ago

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 14 01:26:52 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

First round of __P removal in sys

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Tue Nov 13 21:09:59 2001 UTC (22 years, 7 months ago) by niklas
Branch: SMP
Changes since 1.5.2.3: +5 -4 lines
Diff to previous 1.5.2.3 (colored) to branchpoint 1.5 (colored)

Merge in -current

Revision 1.11 / (download) - annotate - [select for diffs], Tue Nov 6 19:53:18 2001 UTC (22 years, 7 months ago) by miod
Branch: MAIN
CVS Tags: UBC_BASE
Branch point for: UBC
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.
(Look ma, I might have broken the tree)

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 1 12:13:47 2001 UTC (22 years, 7 months ago) by art
Branch: MAIN
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored)

Change d_mmap in struct cdevsw from:
        int     (*d_mmap)       __P((dev_t, int, int));
to:
	paddr_t	(*d_mmap)	__P((dev_t, off_t, int));

This allows us to mmap devices past 4GB offsets.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Wed Oct 31 03:22:40 2001 UTC (22 years, 7 months ago) by nate
Branch: SMP
Changes since 1.5.2.2: +17 -2 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored)

Sync the SMP branch to something just after 3.0

Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 17 05:16:05 2001 UTC (22 years, 8 months ago) by jason
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.8: +17 -2 lines
Diff to previous 1.8 (colored)

make ksyms work on sparc64 (requires essentially same goop as db_sym)

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Wed Jul 4 10:40:10 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.5.2.1: +3 -3 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)

Merge in -current from two days ago in the SMP branch.
As usual with merges, they do not indicate progress, so do not hold
your breath for working SMP, and do not mail me and ask about the
state of it.  It has not changed.  There is work ongoing, but very, very
slowly.  The commit is done in parts as to not lock up the tree in too
big chunks at a time.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jun 8 08:09:36 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Change the paddr_t pmap_extract(struct pmap *, vaddr_t) interface to
boolean_t pmap_extract(struct pmap *, vaddr_t, paddr_t *).
Matches NetBSD. Tested by various people on various platforms.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon May 14 22:23:01 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.5: +117 -68 lines
Diff to previous 1.5 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 12 13:28:04 2001 UTC (23 years, 4 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)

Remove debuging printf left by accident.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Feb 3 21:25:26 2001 UTC (23 years, 4 months ago) by art
Branch: MAIN
Changes since 1.5: +118 -68 lines
Diff to previous 1.5 (colored)

Violent cleanup of the code. Lots of effort duplication removed.
Don't look into the headers in read, just build the headers in attach and
ignore them.
mmap should now work (when boot loaders are fixed to align the tables).
Support for ELF.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 26 16:41:17 1999 UTC (24 years, 6 months ago) by art
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Branch point for: SMP
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

Another comment change. (NBPG -> PAGE_SIZE).

Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 2 00:16:29 1999 UTC (24 years, 7 months ago) by angelos
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

Fix comment typo.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Sep 14 14:19:56 1999 UTC (24 years, 9 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.2: +7 -9 lines
Diff to previous 1.2 (colored)

vaddr_t/vsize_t

Revision 1.2 / (download) - annotate - [select for diffs], Fri Nov 20 16:43:07 1998 UTC (25 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored)

careful with mmap off

Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 24 05:26:49 1998 UTC (25 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4

/dev/ksyms; kernel symbols pseudo-device that masquerades as an a.out binary for ports that copy the symbol table to the end of kernel space (all that use DDB do this)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.