Changeset View
Changeset View
Standalone View
Standalone View
head/sys/amd64/include/proc.h
Show All 27 Lines | |||||
* | * | ||||
* from: @(#)proc.h 7.1 (Berkeley) 5/15/91 | * from: @(#)proc.h 7.1 (Berkeley) 5/15/91 | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _MACHINE_PROC_H_ | #ifndef _MACHINE_PROC_H_ | ||||
#define _MACHINE_PROC_H_ | #define _MACHINE_PROC_H_ | ||||
#include <sys/queue.h> | |||||
#include <machine/segments.h> | #include <machine/segments.h> | ||||
/* | |||||
* List of locks | |||||
* k - only accessed by curthread | |||||
* pp - pmap.c:invl_gen_mtx | |||||
*/ | |||||
struct proc_ldt { | struct proc_ldt { | ||||
caddr_t ldt_base; | caddr_t ldt_base; | ||||
int ldt_refcnt; | int ldt_refcnt; | ||||
}; | }; | ||||
struct pmap_invl_gen { | |||||
u_long gen; /* (k) */ | |||||
LIST_ENTRY(pmap_invl_gen) link; /* (pp) */ | |||||
}; | |||||
/* | /* | ||||
* Machine-dependent part of the proc structure for AMD64. | * Machine-dependent part of the proc structure for AMD64. | ||||
*/ | */ | ||||
struct mdthread { | struct mdthread { | ||||
int md_spinlock_count; /* (k) */ | int md_spinlock_count; /* (k) */ | ||||
register_t md_saved_flags; /* (k) */ | register_t md_saved_flags; /* (k) */ | ||||
register_t md_spurflt_addr; /* (k) Spurious page fault address. */ | register_t md_spurflt_addr; /* (k) Spurious page fault address. */ | ||||
struct pmap_invl_gen md_invl_gen; | |||||
}; | }; | ||||
struct mdproc { | struct mdproc { | ||||
struct proc_ldt *md_ldt; /* (t) per-process ldt */ | struct proc_ldt *md_ldt; /* (t) per-process ldt */ | ||||
struct system_segment_descriptor md_ldt_sd; | struct system_segment_descriptor md_ldt_sd; | ||||
}; | }; | ||||
#define KINFO_PROC_SIZE 1088 | #define KINFO_PROC_SIZE 1088 | ||||
Show All 34 Lines |