Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/elf_common.h
Show First 20 Lines • Show All 790 Lines • ▼ Show 20 Lines | |||||
#define NT_FREEBSD_ARCH_TAG 3 | #define NT_FREEBSD_ARCH_TAG 3 | ||||
#define NT_FREEBSD_FEATURE_CTL 4 | #define NT_FREEBSD_FEATURE_CTL 4 | ||||
/* NT_FREEBSD_FEATURE_CTL desc[0] bits */ | /* NT_FREEBSD_FEATURE_CTL desc[0] bits */ | ||||
#define NT_FREEBSD_FCTL_ASLR_DISABLE 0x00000001 | #define NT_FREEBSD_FCTL_ASLR_DISABLE 0x00000001 | ||||
#define NT_FREEBSD_FCTL_PROTMAX_DISABLE 0x00000002 | #define NT_FREEBSD_FCTL_PROTMAX_DISABLE 0x00000002 | ||||
#define NT_FREEBSD_FCTL_STKGAP_DISABLE 0x00000004 | #define NT_FREEBSD_FCTL_STKGAP_DISABLE 0x00000004 | ||||
#define NT_FREEBSD_FCTL_WXNEEDED 0x00000008 | #define NT_FREEBSD_FCTL_WXNEEDED 0x00000008 | ||||
#define NT_FREEBSD_FCTL_LA48 0x00000010 | |||||
emaste: I assume that similar changes will come to other archs, e.g. for Arm 48 / 52. If we're going to… | |||||
Done Inline ActionsAre you referring to ARM 8.2 'large VA' ? From what I remember, they do it by increasing page size to 64k (or doing something that is equivalent to that). I doubt that we ever would support such page size on arm64. I was not able to find an extension in up to 8.6 that would increased the page table levels. Still, if you have a proposal to rename the bit, I will apply it of course. I cannot propose anything better than LA_GEN1. kib: Are you referring to ARM 8.2 'large VA' ? From what I remember, they do it by increasing page… | |||||
Done Inline ActionsAh, yes, so Intel only for the time being. LA_GEN1 is a fine name if we think it will indeed become MI in the future, but probably unnecessary. emaste: Ah, yes, so Intel only for the time being.
LA_GEN1 is a fine name if we think it will indeed… | |||||
/* Values for n_type. Used in core files. */ | /* Values for n_type. Used in core files. */ | ||||
#define NT_PRSTATUS 1 /* Process status. */ | #define NT_PRSTATUS 1 /* Process status. */ | ||||
#define NT_FPREGSET 2 /* Floating point registers. */ | #define NT_FPREGSET 2 /* Floating point registers. */ | ||||
#define NT_PRPSINFO 3 /* Process state info. */ | #define NT_PRPSINFO 3 /* Process state info. */ | ||||
#define NT_THRMISC 7 /* Thread miscellaneous info. */ | #define NT_THRMISC 7 /* Thread miscellaneous info. */ | ||||
#define NT_PROCSTAT_PROC 8 /* Procstat proc data. */ | #define NT_PROCSTAT_PROC 8 /* Procstat proc data. */ | ||||
#define NT_PROCSTAT_FILES 9 /* Procstat files data. */ | #define NT_PROCSTAT_FILES 9 /* Procstat files data. */ | ||||
▲ Show 20 Lines • Show All 669 Lines • Show Last 20 Lines |
I assume that similar changes will come to other archs, e.g. for Arm 48 / 52. If we're going to offer similar control there is there a more MI name we could use that's applicable everywhere (even if in the Arm case LA48 would still apply)? I don't have a great idea though; things incorporating "smaller" or "legacy" or whatnot are all relative to something else, and a term that stands alone is preferable.