Opened 10 years ago
Last modified 9 years ago
#44 closed defect
interpret_ptr_ reports incorrect ring number, omits bitoff field, does not handle hardcore ptrs — at Initial Version
| Reported by: | Owned by: | Eric Swenson | |
|---|---|---|---|
| Priority: | minor | Milestone: | MR12.6f |
| Component: | Tools | Version: | MR12.6e |
| Keywords: | Cc: |
Description
The interpret_ptr_.pl1 subroutine returns a structure giving various information about an input pointer. However, it has several flaws.
- struc.ring returns a value 1-less than the ring number actually in the input pointer value.
- struc.bitoff should return (<bit-offset>) if a nonzero bit offset appears in the input pointer value. However, right now, the code does not initialize or place a correct value in that return field.
- It would be nice if interpret_ptr_ returned information about hardcore pointers (those with segno < 230), using ring0_get_$name and ring0_get_$segptr to obtain the information. Then a pointer like 75|0 could return information about restart_fault|0.
Note:
See TracTickets
for help on using tickets.
