Searched hist:1.546 (Results 1 - 25 of 26) sorted by relevance
| /src/tests/usr.bin/xlint/lint1/ | ||
| H A D | platform_ilp32_long.c | 1.3 Mon Jul 03 21:36:16 GMT 2023 rillig lint: consistently use portable type size in integer constraints Since tree.c 1.546 from 2023-07-03, lint no longer warned about possible loss of accuracy when converting from 'long' to 'int' on an ILP32 platform that uses 'unsigned long' for size_t, when run in portable mode (-p), which is enabled by default in the NetBSD build. The integer constraints avoid false-positive warnings by looking at the actual values an expression can take. The function can_represent is guarded by a condition that uses the portable_size_in_bits, but then internally used the opposite size_in_bits, which led to inconsistent results. The warning looks confusing though, as on an ILP32 platform, 'int' and 'long' have the same size and representation, therefore there cannot be an actual loss of accuracy. The warning may need to be reworded to explicitly mention the portability mode, in which sizeof(int) is assumed to be 3 instead of 4, to catch possible loss of accuracy on other platforms. |
| /src/usr.bin/xlint/lint1/ | ||
| H A D | tree.c | 1.547 Mon Jul 03 21:36:16 GMT 2023 rillig lint: consistently use portable type size in integer constraints Since tree.c 1.546 from 2023-07-03, lint no longer warned about possible loss of accuracy when converting from 'long' to 'int' on an ILP32 platform that uses 'unsigned long' for size_t, when run in portable mode (-p), which is enabled by default in the NetBSD build. The integer constraints avoid false-positive warnings by looking at the actual values an expression can take. The function can_represent is guarded by a condition that uses the portable_size_in_bits, but then internally used the opposite size_in_bits, which led to inconsistent results. The warning looks confusing though, as on an ILP32 platform, 'int' and 'long' have the same size and representation, therefore there cannot be an actual loss of accuracy. The warning may need to be reworded to explicitly mention the portability mode, in which sizeof(int) is assumed to be 3 instead of 4, to catch possible loss of accuracy on other platforms. 1.546 Mon Jul 03 07:19:57 GMT 2023 rillig lint: clean up redundant casts |
| /src/distrib/notes/common/ | ||
| H A D | main | 1.546 Sat Jun 23 17:46:00 GMT 2018 snj remove core list, portmaster list, releng list, and developer list. ...as proposed several times in several places back in 2009/2010. this info can all be found on the website (where it's more accurate) and has no place in a document describing the installation of netbsd. |
| /src/sys/dev/usb/ | ||
| H A D | usbdevs | 1.546 Thu Mar 11 10:35:22 GMT 2010 enami Add device id of yurex from OpenBSD. |
| H A D | usbdevs.h | 1.546 Sun Jun 06 23:02:31 GMT 2010 jakllsch Regenerate. |
| H A D | usbdevs_data.h | 1.546 Sat May 22 18:51:19 GMT 2010 plunky regen for Magic Mouse id |
| /src/sys/kern/ | ||
| H A D | init_main.c | 1.546 Sat Sep 23 18:21:11 GMT 2023 ad Repply this change with a couple of bugs fixed: - Do away with separate pool_cache for some kernel objects that have no special requirements and use the general purpose allocator instead. On one of my test systems this makes for a small (~1%) but repeatable reduction in system time during builds presumably because it decreases the kernel's cache / memory bandwidth footprint a little. - vfs_lockf: cache a pointer to the uidinfo and put mutex in the data segment. |
| /src/sys/arch/amd64/conf/ | ||
| H A D | GENERIC | 1.546 Thu Nov 14 16:23:52 GMT 2019 maxv Add support for Kernel Memory Sanitizer (kMSan). It detects uninitialized memory used by the kernel at run time, and just like kASan and kCSan, it is an excellent feature. It has already detected 38 uninitialized variables in the kernel during my testing, which I have since discreetly fixed. We use two shadows: - "shad", to track uninitialized memory with a bit granularity (1:1). Each bit set to 1 in the shad corresponds to one uninitialized bit of real kernel memory. - "orig", to track the origin of the memory with a 4-byte granularity (1:1). Each uint32_t cell in the orig indicates the origin of the associated uint32_t of real kernel memory. The memory consumption of these shadows is consequent, so at least 4GB of RAM is recommended to run kMSan. The compiler inserts calls to specific __msan_* functions on each memory access, to manage both the shad and the orig and detect uninitialized memory accesses that change the execution flow (like an "if" on an uninitialized variable). We mark as uninit several types of memory buffers (stack, pools, kmem, malloc, uvm_km), and check each buffer passed to copyout, copyoutstr, bwrite, if_transmit_lock and DMA operations, to detect uninitialized memory that leaves the system. This allows us to detect kernel info leaks in a way that is more efficient and also more user-friendly than KLEAK. Contrary to kASan, kMSan requires comprehensive coverage, ie we cannot tolerate having one non-instrumented function, because this could cause false positives. kMSan cannot instrument ASM functions, so I converted most of them to __asm__ inlines, which kMSan is able to instrument. Those that remain receive special treatment. Contrary to kASan again, kMSan uses a TLS, so we must context-switch this TLS during interrupts. We use different contexts depending on the interrupt level. The orig tracks precisely the origin of a buffer. We use a special encoding for the orig values, and pack together in each uint32_t cell of the orig: - a code designating the type of memory (Stack, Pool, etc), and - a compressed pointer, which points either (1) to a string containing the name of the variable associated with the cell, or (2) to an area in the kernel .text section which we resolve to a symbol name + offset. This encoding allows us not to consume extra memory for associating information with each cell, and produces a precise output, that can tell for example the name of an uninitialized variable on the stack, the function in which it was pushed on the stack, and the function where we accessed this uninitialized variable. kMSan is available with LLVM, but not with GCC. The code is organized in a way that is similar to kASan and kCSan, so it means that other architectures than amd64 can be supported. |
| /src/share/man/man4/ | ||
| H A D | Makefile | 1.546 Wed Jan 26 01:18:48 GMT 2011 pooka Add support for the Extensible MIPS ("eMIPS") platform. The NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the Giano system simulator. eMIPS is a platform developed at Microsoft Research for researching reconfigurable computing. eMIPS allows dynamic loading and scheduling of application-specific circuits for the purpose of accelerating computations based on the current workload. NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research by Alessandro Forin and Neil Pittman. Microsoft Corporation has donated full copyright to The NetBSD Foundation. Platform support for eMIPS is the first part of Microsoft's contribution. The second part includes the hardware accelerator framework and will be proposed on tech-kern soon. |
| /src/sys/dev/pci/ | ||
| H A D | pcidevs.h | 1.546 Sun Jul 06 00:03:08 GMT 2003 simonb Regen: Add an entry for the Intel E7505 Chipset Memory Controller Hub. |
| H A D | pcidevs_data.h | 1.546 Sun Jul 06 17:08:44 GMT 2003 simonb Regen; E7500 and E7505 updates. |
| H A D | pcidevs | 1.546 Sun Jul 06 14:59:29 GMT 2003 tron Add Intel 82547EI gigabit chip. |
| /src/sys/arch/i386/i386/ | ||
| H A D | machdep.c | 1.546 Tue Dec 30 03:57:19 GMT 2003 yamt (MULTIPROCESSOR version of) need_resched: - nothing needs to be done if ci_want_resched is already set. - if the cpu isn't running any lwp, send a no-op ipi to it so that it can resume immediately from halting in idle loop without having to wait until the next clock tick. some advices from Stephan Uphoff. |
| /src/distrib/sets/lists/base/ | ||
| H A D | shl.mi | 1.546 Sun Jul 11 06:16:55 GMT 2010 mrg ldap is configured to depend upon MKCRYPTO no, so force MKLAP=no if MKCRYPTO=no. don't build pkg_install, libcrypto tests or rump_smbfs if MKCRYPTO=no. mark librumpcrypto, rump_smb, pkg_* fix set lists as appropriate. |
| H A D | mi | 1.546 Thu Apr 14 21:45:10 GMT 2005 peter The pf directory is always created in /usr/share/examples, so remove the pf keyword from the list. Fixes part of PR 29968 from Jukka Salmi. |
| /src/doc/ | ||
| H A D | 3RDPARTY | 1.546 Fri Aug 03 14:26:37 GMT 2007 joerg Update pkg_install entry for pkg_install-20070802 import. |
| /src/usr.bin/make/ | ||
| H A D | main.c | 1.546 Wed Dec 15 00:24:13 GMT 2021 rillig make: use consistent indentation for statements and continuations No binary change, except for line numbers in assertions in suff.c. |
| H A D | parse.c | 1.546 Thu Feb 04 21:42:46 GMT 2021 rillig make: rename context and ctxt to scope This continues the previous commit, in which VAR_GLOBAL, VAR_INTERNAL and VAR_CMDLINE were renamed. Renaming the variable 'ctxt' was trivial since that word is used nowhere else. In the comments though, each occurrence of the word 'context' had to be checked individually since the word 'context' was not only used for referring to a variable scope. It is also used to distinguish different situations where characters are escaped in a certain way ('parsing context') and in a few other expressions. |
| H A D | var.c | 1.546 Sun Sep 27 21:35:16 GMT 2020 rillig make(1): normalize whitespace in source code There is no more space tab. Either only tabs or only spaces or tabs followed by spaces, but not spaces followed by tabs. |
| /src/sys/sys/ | ||
| H A D | param.h | 1.546 Thu Sep 21 07:22:03 GMT 2017 ozaki-r Dump the kernel version for the latest change of struct route Welcome to 8.99.3 |
| /src/sys/arch/i386/conf/ | ||
| H A D | GENERIC | 1.546 Sun Feb 16 17:35:15 GMT 2003 augustss Add uax(4) (and url(4) in some cases). |
| /src/distrib/sets/lists/man/ | ||
| H A D | mi | 1.546 Wed Feb 12 02:45:06 GMT 2003 gmcgarry Add nls(7) |
| /src/distrib/sets/lists/tests/ | ||
| H A D | mi | 1.546 Sat Oct 12 15:30:37 GMT 2013 christos add new t_tcp test |
| /src/share/mk/ | ||
| H A D | bsd.own.mk | 1.546 Tue Nov 11 16:09:53 GMT 2008 cube Add MesaGLUT to the list of X11SRCDIR.<package> variables. |
| /src/sys/conf/ | ||
| H A D | files | 1.546 Sun Aug 11 17:00:04 GMT 2002 thorpej While the "wi" is a wlan device, it does not currently use any code from if_ieee80211subr.c, since "wi" devices implement the 802.11 protocol in firmware (for the most part). So, remove the wlan attribute, which saves a fair bit of kernel text. |
Completed in 1461 milliseconds