Re: Patched Programs - Yet another spin

"Steve Richter" <[email protected]>
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>

-----Original Message-----
From: mi400-bounces-Zwy7GipZuJhWk0Htik3J/[email protected] [mailto:mi400-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]]On
Behalf Of Dave McKenzie
Sent: Wednesday, February 15, 2006 10:25 AM
To: MI Programming on the AS400 / iSeries
Subject: Re: [MI400] Patched Programs - Yet another spin


>The trick of putting PowerPC instructions in a user space won't work
>anymore because there's a new bit in the hardware page tables (new in
>V5R3) called "Nex," which I think stands for "No execute."  The bit is 1
>for user spaces, meaning that code in a user space can't be executed.

that's no fun!

What is the hardware page table?  Can the patched code in the RPG program
first change the object type and sub type of the user space to *PGM?  Kind
of as a boot strap type process where you are coding a permanent user space
executable that can turn off the NEX bit in other hardware page table
entries.

-Steve


_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.