Re: HP9000 K-Series support, howto and diffs
[email protected] (Hellmuth Michaelis) Sun, 2 Nov 2003 10:27:14 +0100 (CET)
| Newsgroups | gmane.os.openbsd.hppa |
|---|---|
| Organization | Kitchen Table Systems |
| Message-ID | <[email protected]> |
Michael Shalayeff wrote: > > Especially for the documentation for PDC_SYSMAP fetch item 4. on > > that page, "4. PDC Procedures PDF 304 KB" and you'll find on > > the do not define the names for the procedure numbers there. > the only name defined is PDC_SYSTEM_MAP . The old definitions in pdc.h were: #define PDC_SYSMAP_FIND 0 /* find module by index */ #define PDC_SYSMAP_ADDR 1 #define PDC_SYSMAP_HPA 2 /* same as PDC_MEMMAP_HPA */ where the first two are at least questionable and the third is simply wrong. For shure you have read PDC Procedures, p 4-78: Arguments: Description ARG1 ---------- ----------- ---- Find Module 0 Find Address 1 Translate Path 2 resulting in new definitions in pdc.h: #define PDC_SYSMAP_FINDMOD 0 /* find module by index */ #define PDC_SYSMAP_FINDADDR 1 /* find address */ #define PDC_SYSMAP_XLATPATH 2 /* translate path */ > > In the same document on pp 4-24 you'll find the reason for renaming > > one of the PDC_CHASSIS constants. > > they do not define any names except for PDC_CHASSIS there either. Please read PDC Procedures, p 4-25: systat System state ------ ------------ ... 011 Initialize ... which resulted in the change in pdc.h from #define PDC_OSTAT_BOOT 0x3 /* boot program running */ to #define PDC_OSTAT_INIT 0x3 /* initalize */ which makes even more sense to someone who actually looks at the LCD display on a K for chassis code 0xCEC0 which reads "INIT CEC0" and _not_ "BOOT CEC0" on the display. There are simply no "BOOT" chassis codes. Have a look at the Kxxx chassis codes, K-Service Manual, pp 4-1, where you will find an INIT Ostat but nowhere a BOOT Ostat. hellmuth -- Hellmuth Michaelis Hamburg, Europe hm\at\kts\dot\org www.kts.org a duck is like a bicycle because they both have two wheels except the duck (tl)