replace the single phys_ram_seg_t with a count. an array of segment
descriptors will be placed after this structure in the core file.
This commit is contained in:
parent
49a4ba96f8
commit
69d88fbfd6
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: kcore.h,v 1.2 1997/04/06 08:47:30 cgd Exp $ */
|
/* $NetBSD: kcore.h,v 1.3 1998/02/14 00:17:57 cgd Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1996 Carnegie-Mellon University.
|
* Copyright (c) 1996 Carnegie-Mellon University.
|
||||||
|
@ -33,7 +33,10 @@
|
||||||
typedef struct cpu_kcore_hdr {
|
typedef struct cpu_kcore_hdr {
|
||||||
u_int64_t lev1map_pa; /* PA of Lev1map */
|
u_int64_t lev1map_pa; /* PA of Lev1map */
|
||||||
u_int64_t page_size; /* Page size */
|
u_int64_t page_size; /* Page size */
|
||||||
phys_ram_seg_t core_seg; /* Core addrs; only one seg */
|
u_int64_t nmemsegs; /* Number of RAM segments */
|
||||||
|
#if 0
|
||||||
|
phys_ram_seg_t memsegs[]; /* RAM segments */
|
||||||
|
#endif
|
||||||
} cpu_kcore_hdr_t;
|
} cpu_kcore_hdr_t;
|
||||||
|
|
||||||
#endif /* _ALPHA_KCORE_H_ */
|
#endif /* _ALPHA_KCORE_H_ */
|
||||||
|
|
Loading…
Reference in New Issue