* [PATCH] Cygwin: wincap: Add capabilities for Windows 10 2004 and newer.
@ 2022-02-05 8:07 Takashi Yano
2022-02-05 9:48 ` Corinna Vinschen
0 siblings, 1 reply; 5+ messages in thread
From: Takashi Yano @ 2022-02-05 8:07 UTC (permalink / raw)
To: cygwin-patches
- The capability changes since Windows 10 2004 have been reflected
in wincap.cc. (has_con_broken_il_dl has been changed to false.)
---
winsup/cygwin/wincap.cc | 35 ++++++++++++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc
index 83a49eb8e..b8376b8ed 100644
--- a/winsup/cygwin/wincap.cc
+++ b/winsup/cygwin/wincap.cc
@@ -328,6 +328,37 @@ wincaps wincap_10_1903 __attribute__((section (".cygwin_dll_common"), shared)) =
},
};
+wincaps wincap_10_2004 __attribute__((section (".cygwin_dll_common"), shared)) = {
+ def_guard_pages:2,
+ mmap_storage_high:0x700000000000LL,
+ {
+ is_server:false,
+ needs_query_information:false,
+ has_gaa_largeaddress_bug:false,
+ has_precise_system_time:true,
+ has_microsoft_accounts:true,
+ has_broken_prefetchvm:false,
+ has_new_pebteb_region:true,
+ has_broken_whoami:false,
+ has_unprivileged_createsymlink:true,
+ has_precise_interrupt_time:true,
+ has_posix_unlink_semantics:true,
+ has_posix_unlink_semantics_with_ignore_readonly:true,
+ has_case_sensitive_dirs:true,
+ has_posix_rename_semantics:true,
+ no_msv1_0_s4u_logon_in_wow64:false,
+ has_con_24bit_colors:true,
+ has_con_broken_csi3j:false,
+ has_con_broken_il_dl:false,
+ has_con_esc_rep:true,
+ has_extended_mem_api:true,
+ has_tcp_fastopen:true,
+ has_linux_tcp_keepalive_sockopts:true,
+ has_tcp_maxrtms:true,
+ has_query_process_handle_info:true,
+ },
+};
+
wincapc wincap __attribute__((section (".cygwin_dll_common"), shared));
void
@@ -365,7 +396,9 @@ wincapc::init ()
break;
case 10:
default:
- if (likely (version.dwBuildNumber >= 18362))
+ if (likely (version.dwBuildNumber >= 19041))
+ caps = &wincap_10_2004;
+ else if (version.dwBuildNumber >= 18362)
caps = &wincap_10_1903;
else if (version.dwBuildNumber >= 17763)
caps = &wincap_10_1809;
--
2.35.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Cygwin: wincap: Add capabilities for Windows 10 2004 and newer.
2022-02-05 8:07 [PATCH] Cygwin: wincap: Add capabilities for Windows 10 2004 and newer Takashi Yano
@ 2022-02-05 9:48 ` Corinna Vinschen
2022-02-05 9:55 ` Takashi Yano
0 siblings, 1 reply; 5+ messages in thread
From: Corinna Vinschen @ 2022-02-05 9:48 UTC (permalink / raw)
To: cygwin-patches
On Feb 5 17:07, Takashi Yano wrote:
> - The capability changes since Windows 10 2004 have been reflected
> in wincap.cc. (has_con_broken_il_dl has been changed to false.)
> ---
> winsup/cygwin/wincap.cc | 35 ++++++++++++++++++++++++++++++++++-
> 1 file changed, 34 insertions(+), 1 deletion(-)
Sure thing, please push.
Thanks,
Corinna
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Cygwin: wincap: Add capabilities for Windows 10 2004 and newer.
2022-02-05 9:48 ` Corinna Vinschen
@ 2022-02-05 9:55 ` Takashi Yano
2022-02-05 10:22 ` Corinna Vinschen
0 siblings, 1 reply; 5+ messages in thread
From: Takashi Yano @ 2022-02-05 9:55 UTC (permalink / raw)
To: cygwin-patches
On Sat, 5 Feb 2022 10:48:40 +0100
Corinna Vinschen wrote:
> On Feb 5 17:07, Takashi Yano wrote:
> > - The capability changes since Windows 10 2004 have been reflected
> > in wincap.cc. (has_con_broken_il_dl has been changed to false.)
> > ---
> > winsup/cygwin/wincap.cc | 35 ++++++++++++++++++++++++++++++++++-
> > 1 file changed, 34 insertions(+), 1 deletion(-)
>
> Sure thing, please push.
Is this should be for both master and cygwin-3_3-branch?
Or only for master?
--
Takashi Yano <takashi.yano@nifty.ne.jp>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Cygwin: wincap: Add capabilities for Windows 10 2004 and newer.
2022-02-05 9:55 ` Takashi Yano
@ 2022-02-05 10:22 ` Corinna Vinschen
2022-02-05 10:26 ` Takashi Yano
0 siblings, 1 reply; 5+ messages in thread
From: Corinna Vinschen @ 2022-02-05 10:22 UTC (permalink / raw)
To: cygwin-patches
On Feb 5 18:55, Takashi Yano wrote:
> On Sat, 5 Feb 2022 10:48:40 +0100
> Corinna Vinschen wrote:
> > On Feb 5 17:07, Takashi Yano wrote:
> > > - The capability changes since Windows 10 2004 have been reflected
> > > in wincap.cc. (has_con_broken_il_dl has been changed to false.)
> > > ---
> > > winsup/cygwin/wincap.cc | 35 ++++++++++++++++++++++++++++++++++-
> > > 1 file changed, 34 insertions(+), 1 deletion(-)
> >
> > Sure thing, please push.
>
> Is this should be for both master and cygwin-3_3-branch?
> Or only for master?
Not sure... master-only, I think.
Corinna
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Cygwin: wincap: Add capabilities for Windows 10 2004 and newer.
2022-02-05 10:22 ` Corinna Vinschen
@ 2022-02-05 10:26 ` Takashi Yano
0 siblings, 0 replies; 5+ messages in thread
From: Takashi Yano @ 2022-02-05 10:26 UTC (permalink / raw)
To: cygwin-patches
On Sat, 5 Feb 2022 11:22:43 +0100
Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> On Feb 5 18:55, Takashi Yano wrote:
> > On Sat, 5 Feb 2022 10:48:40 +0100
> > Corinna Vinschen wrote:
> > > On Feb 5 17:07, Takashi Yano wrote:
> > > > - The capability changes since Windows 10 2004 have been reflected
> > > > in wincap.cc. (has_con_broken_il_dl has been changed to false.)
> > > > ---
> > > > winsup/cygwin/wincap.cc | 35 ++++++++++++++++++++++++++++++++++-
> > > > 1 file changed, 34 insertions(+), 1 deletion(-)
> > >
> > > Sure thing, please push.
> >
> > Is this should be for both master and cygwin-3_3-branch?
> > Or only for master?
>
> Not sure... master-only, I think.
I see.
--
Takashi Yano <takashi.yano@nifty.ne.jp>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-02-05 10:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-05 8:07 [PATCH] Cygwin: wincap: Add capabilities for Windows 10 2004 and newer Takashi Yano
2022-02-05 9:48 ` Corinna Vinschen
2022-02-05 9:55 ` Takashi Yano
2022-02-05 10:22 ` Corinna Vinschen
2022-02-05 10:26 ` Takashi Yano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).