Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update certificateService.c #546

Closed
wants to merge 1 commit into from
Closed

Conversation

JoeNemo
Copy link
Contributor

@JoeNemo JoeNemo commented Dec 21, 2022

Signed-off-by: JoeNemo joe.devlin@gmail.com

Signed-off-by: JoeNemo joe.devlin@gmail.com

Proposed changes

Correct bad pointer dereferencing in getting pointer to IRRSIM00 and provide some documentation of how and why.

This PR addresses Issue: [Link to Github issue within https://github.com/zowe/zss/issues if any]

#544

This PR depends upon the following PRs:

Type of change

Please delete options that are not relevant.

  • [ x] Bug fix (non-breaking change which fixes an issue)

Testing

We will be testing with achmelo on his system before mering.

Signed-off-by: JoeNemo <joe.devlin@gmail.com>

Signed-off-by: JoeNemo <joe.devlin@gmail.com>
Copy link
Contributor

@Martin-Zeithaml Martin-Zeithaml left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is no problem with copyright, this type of comment is better:

4100 0028 | LA      R0,X'28'        	Slot x'28'
8900 0002 | SLL     R0,X'2'         	Shift left 2 bits = * 4 => x'A0'
58F0 0010 | L       R15,X'10'       	CVT
58FF 0220 | L       R15,X'220'(,R15)	CSRTABLE
58FF 0028 | L       R15,X'28'(,R15)	SAF
1EF0      | ALR     R15,R0          	Add slot offset x'A0' to get IRRSIM00
58FF 0000 | L       R15,X'0'(,R15)   	Load the address
07FF      | BCR     X'F',R15        	Go

LG for parameter list should be ok, you are right, it is already a pointer.

@JoeNemo
Copy link
Contributor Author

JoeNemo commented Feb 8, 2023

Can we kill this PR because merge happened in some other PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants