Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71902
b: refs/heads/master
c: c75ac71
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Bailey authored and Kyle McMartin committed Oct 18, 2007
1 parent 55aa2b2 commit 76522a4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2cfc5be7df26b6fbe9a293e2abf388a6e5b9a39e
refs/heads/master: c75ac712df81bf0b9a561bd89f74282650440035
2 changes: 2 additions & 0 deletions trunk/include/asm-parisc/Kbuild
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
include include/asm-generic/Kbuild.asm

unifdef-y += pdc.h
19 changes: 13 additions & 6 deletions trunk/include/asm-parisc/pdc.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,15 @@
#define PDC_MEM_RET_PDT_FULL -11
#define PDC_MEM_RET_INVALID_PHYSICAL_LOCATION ~0ULL

#ifndef __ASSEMBLY__
#ifdef __KERNEL__
# ifndef __ASSEMBLY__
typedef struct {
unsigned long long baseAddr;
unsigned int pages;
unsigned int reserved;
} MemAddrTable_t;
#endif

# endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */

#define PDC_PSW 21 /* Get/Set default System Mask */
#define PDC_PSW_MASK 0 /* Return mask */
Expand Down Expand Up @@ -296,8 +297,11 @@ typedef struct {
#define OSTAT_ON 7

#ifndef __ASSEMBLY__

#include <linux/types.h>
#endif /* __ASSEMBLY__ */

#ifdef __KERNEL__
# ifndef __ASSEMBLY__

extern int pdc_type;

Expand Down Expand Up @@ -558,7 +562,8 @@ struct pdc_hpmc_pim_20 { /* PDC_PIM */
__u64 fr[32];
};

#endif /* __ASSEMBLY__ */
# endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */

/* flags of the device_path (see below) */
#define PF_AUTOBOOT 0x80
Expand Down Expand Up @@ -707,6 +712,7 @@ struct zeropage {
#define BOOT_CONSOLE_SPA_OFFSET 0x3c4
#define BOOT_CONSOLE_PATH_OFFSET 0x3a8

#ifdef __KERNEL__
#ifndef __ASSEMBLY__
void pdc_console_init(void); /* in pdc_console.c */
void pdc_console_restart(void);
Expand Down Expand Up @@ -786,6 +792,7 @@ static inline char * os_id_to_string(u16 os_id) {
default: return "Unknown";
}
}
#endif /* __ASSEMBLY__ */
# endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */

#endif /* _PARISC_PDC_H */

0 comments on commit 76522a4

Please sign in to comment.