linux-mips
[Top] [All Lists]

Re: Memory mapping

To: "Siders, Keith" <keith_siders@toshibatv.com>
Subject: Re: Memory mapping
From: Keith Owens <kaos@melbourne.sgi.com>
Date: Tue, 20 Nov 2001 11:15:04 +1100
Cc: "Linux-Mips (E-mail)" <linux-mips@oss.sgi.com>
In-reply-to: Your message of "Mon, 19 Nov 2001 10:18:23 MDT." <7DF7BFDC95ECD411B4010090278A44CA1B743F@ATVX>
Sender: owner-linux-mips@oss.sgi.com
On Mon, 19 Nov 2001 10:18:23 -0600, 
"Siders, Keith" <keith_siders@toshibatv.com> wrote:
>OK, now that I've spent a couple weeks looking at Linux memory management,
>can someone please help me straighten this out. First, I have a requirement
>to "unobtrusively" hot-patch instruction code ( and probably data also )
>segments in memory.

At the risk of stating the obvious, have you looked at the ptrace code
in arch/$(ARCH)/kernel/ptrace.c?  That already does all the work for
reading and writing code and data.


<Prev in Thread] Current Thread [Next in Thread>