OpenBSD CVS

CVS log for src/usr.sbin/memconfig/memconfig.8


[BACK] Up to [local] / src / usr.sbin / memconfig

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 20 05:07:48 2014 UTC (10 years, 4 months ago) by schwarze
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, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, 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, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, HEAD
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Obvious .Xr fixes, found while testing mandocdb(8).

Revision 1.11 / (download) - annotate - [select for diffs], Wed Aug 14 06:32:36 2013 UTC (10 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

no longer any need to quote macro lines with >9 args;
From: Jan Stary

Revision 1.10 / (download) - annotate - [select for diffs], Thu May 31 19:20:25 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, 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, OPENBSD_4_9_BASE, OPENBSD_4_9, 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, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

convert to new .Dd format;

Revision 1.9 / (download) - annotate - [select for diffs], Sun Feb 18 21:00:17 2007 UTC (17 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

unneeded .Op; from Igor Sobrado

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jun 12 12:59:51 2003 UTC (21 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, 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, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

- section reorder
- macro fixes
- kill whitespace at EOL
- new sentence, new line

Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 14 21:01:01 2002 UTC (21 years, 8 months ago) by matthieu
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

Fix from FreeBSD for atlhon problems with mtrr and XFree86. Ok deraadt@

FreeBSD commit messages say:

Some BIOSs are using MTRR values that are only documented under NDA
to control the mapping of things like the ACPI and APM into memory.

The problem is that starting X changes these values, so if something
was using the bits of BIOS mapped into memory (say ACPI or APM),
then next time they access this memory the machine would hang.

This patch refuse to change MTRR values it doesn't understand,
unless a new "force" option is given. This means X doesn't change
them by accident but someone can override that if they really want
to.

PR:             28418
Tested by:      Christopher Masto <chris at netmonger dot net>,
                David Bushong <david at bushong dot net>,
                Santos <casd at myrealbox dot com>


Make the MTRR code a bit more defensive - this should help people
trying to run X on some Athlon systems where the BIOS does odd things
(mines an ASUS A7A266, but it seems to also help on other systems).

Here's a description of the problem and my fix:

        The problem with the old MTRR code is that it only expects
        to find documented values in the bytes of MTRR registers.
        To convert the MTRR byte into a FreeBSD "Memory Range Type"
        (mrt) it uses the byte value and looks it up in an array.
        If the value is not in range then the mrt value ends up
        containing random junk.

        This isn't an immediate problem. The mrt value is only used
        later when rewriting the MTRR registers. When we finally
        go to write a value back again, the function i686_mtrrtype()
        searches for the junk value and returns -1 when it fails
        to find it. This is converted to a byte (0xff) and written
        back to the register, causing a GPF as 0xff is an illegal
        value for a MTRR byte.

        To work around this problem I've added a new mrt flag
        MDF_UNKNOWN.  We set this when we read a MTRR byte which
        we do not understand.  If we try to convert a MDF_UNKNOWN
        back into a MTRR value, then the new function, i686_mrt2mtrr,
        just returns the old value of the MTRR byte. This leaves
        the memory range type unchanged.

I have seen one side effect of the fix, which is that ACPI calls
after X has been run seem to hang my machine. As running X would
previously panic the machine, this is still an improvement ;-)

PR:             28418, 25958
Tested by:      jkh, Christopher Masto <chris at netmonger dot net>

Revision 1.6 / (download) - annotate - [select for diffs], Fri Aug 17 11:13:58 2001 UTC (22 years, 9 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

o) {Open,Net,Free}BSD -> .{O,N,F}x;
o) "start sentence on new line" issues;
o) minimal -mdoc improvements;

millert@ ok

Revision 1.5 / (download) - annotate - [select for diffs], Sat Oct 14 17:31:40 2000 UTC (23 years, 8 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.4: +20 -20 lines
Diff to previous 1.4 (colored)

- Correct .Nm usage.
- Compatify SYNOPSIS.
- Introduce the options.
- Add some punctuation.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 12 21:47:54 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.3: +6 -6 lines
Diff to previous 1.3 (colored)

Trailing whitespace begone!

Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 12 16:50:52 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Remove all arguments to the .Os macro so that all of 2.7's man pages will
correctly say "OpenBSD 2.7".

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 19 17:57:08 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
Changes since 1.1: +6 -4 lines
Diff to previous 1.1 (colored)

Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some other
cleanup along the way.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Nov 20 11:22:54 1999 UTC (24 years, 6 months ago) by matthieu
Branch: MAIN

add memconfig, an utility to manipulate MTRRs, from FreeBSD

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.