- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: KP services
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2006 09:07 PM
тАО01-17-2006 09:07 PM
I am trying to use the "new" KP services to replace an own "stack-switching" mechanims used in an old program. I have written a little test program in C but can't understand how to link it, which sharable or lib should be included in the linking.
Can anyone help me!
Thanks
Peter
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2006 09:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2006 01:21 AM
тАО01-18-2006 01:21 AM
Re: KP services
I assuming you are working from
http://h71000.www7.hp.com/doc/82final/6673/6673pro_contents_001.html#toc_appendix_c
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2006 02:15 AM
тАО01-19-2006 02:15 AM
Re: KP services
Thanks to Kris I have managed to compile and link my C test code and also implemented some of the KP services in my target program. This is done on an IA64 running 8.2-1. But when i move the code to Alpha/8.2 it crashes in the exe$kp_restart routine. As I understand, the KP services in "user" mode are supported both on AXP and I64 from 8.2. Or not? Perhaps even for 7.3-2?(not likely).
Have anybody some ideas around this?
My test code is attached together with the crash output.
Thanks,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2006 02:44 AM
тАО01-19-2006 02:44 AM
Re: KP services
AFAIK, KP stands for Keith Parris.
With his name spelled out, as I just did, there is a fair chance he will jump at it.
I guess that would constitute the ultimate in availabe help.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2006 03:50 AM
тАО01-20-2006 03:50 AM
Re: KP services
Whats on line 17418 of the C compiler listing kp.lis ?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2006 04:09 AM
тАО01-20-2006 04:09 AM
Re: KP services
I can easily reproduce this. Works on I64 V8.2, but fails on Alpha V8.2:
$ RUN kp
...
DBG> g
task1 start
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=00000A7472617471, PC=00000A7472617470, PS=0000001B
break on unhandled exception at 11495251473520
%DEBUG-I-SOURCESCOPE, source lines not available for %PC in scope number 0
Displaying source for 1\%PC
17426: exe$kp_restart(kpb1, status);
The address VA=PC+1 doesn't look right !
R26 has been loaded from @48(R2) and contains the bad address:
DBG> exa/ins 303EC-20:303ec
KP\main\%LINE 17424+24: STL R0,#X0008(FP)
KP\main\%LINE 17426: LDQ R16,#X0020(R2)
KP\main\%LINE 17426+4: LDL R16,(R16)
KP\main\%LINE 17426+8: LDL R17,#X0008(FP)
KP\main\%LINE 17426+0C: BIS R31,#X02,R25
KP\main\%LINE 17426+10: LDQ R26,#X0048(R2) <<< load R26
KP\main\%LINE 17426+14: LDQ R27,#X0050(R2)
KP\main\%LINE 17426+18: JSR R26,(R26)
KP\main\%LINE 17428: BIS R31,#X01,R0
DBG> exa/quad @r2+48
0000000000010168: 00000A7472617473
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2006 04:56 AM
тАО01-20-2006 04:56 AM
Re: KP services
if you use the constant KPREG$K_HLL_REG_MASK as the reg-mask argument in the exe$kp_start call, the program also works on OpenVMS Alpha V8.2:
status = exe$kp_start(kpb1, (void *)task1, KPREG$K_HLL_REG_MASK);
AXPVMS $ run/nodeb kp
task1 start
task1 restart
end rtn
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2006 05:45 AM
тАО01-20-2006 05:45 AM
Re: KP services
here I was utterly off-target.
Guess I am not yet too old to learn something new :-)
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2006 07:12 PM
тАО01-22-2006 07:12 PM
Re: KP services
It's good to know that out there in the binary space, there is always someone willing to help a colleague in distress.
Peter
(I promise to read the documentation better next time)