Linux-kernel mailing list archive 1999-37,: MTRR modification.

# MTRR modification.

Rui Sousa (rsousa@grad.physics.sunysb.edu)
Mon, 13 Sep 1999 17:53:25 -0400

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jeremy Katz: "Re: Re: New Idea? Capture video settings details in Win98/etc."
- Previous message: Graham Murray: "Re: [OT] util-linux-2.9x released"

Hi,

How can I make permanent modifications to the MTRRs? For what I see
as soon as the file descriptor associated with /proc/mtrr is closed
all modifications disappear.

Or better yet how can I delete a mtrr register, create two new ones
covering the previous memory range, each with a different access type
and at the end revert everything?

Something like:

reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1

start application

reg00: base=0x00000000 ( 0MB), size= 64MB: write-back, count=1
reg01: base=0x04000000 ( 64MB), size= 64MB: write-combining, count=1

end application

reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1

Instead of what I get now:

reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1

start application

reg00: base=0x00000000 ( 0MB), size= 64MB: write-back, count=1
reg01: base=0x04000000 ( 64MB), size= 64MB: write-combining, count=1

end application

no mtrrs set (all the previous ones were created by me and disappeared
when the fd was closed)

Thank you,

Rui Sousa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Jeremy Katz: "Re: Re: New Idea? Capture video settings details in Win98/etc."
- Previous message: Graham Murray: "Re: [OT] util-linux-2.9x released"