1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
freebsd/sys/boot/common
Ed Schouten b3608ae18f Replace index() and rindex() calls with strchr() and strrchr().
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
2012-01-03 18:51:58 +00:00
..
bcache.c
boot.c
bootstrap.h Add 2 new archsw interfaces: 2011-04-03 22:31:51 +00:00
commands.c
console.c
crc32.c
crc32.h
dev_net.c
dev_net.h
devopen.c
disk.c With LOADER_MBR_SUPPORT defined and LOADER_GPT_SUPPORT undefined we would 2011-10-20 15:46:54 +00:00
disk.h Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
gpt.c Rename bcpy() macro to bcopy(). 2011-02-27 12:25:47 +00:00
gpt.h
help.common
interp_backslash.c
interp_forth.c
interp_parse.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
interp.c a whitespace nit 2011-05-07 13:57:30 +00:00
isapnp.c
isapnp.h
load_elf32_obj.c
load_elf32.c
load_elf64_obj.c
load_elf64.c
load_elf_obj.c Minimize backward seeks when trying to load ELF relocatable modules. 2011-06-19 13:35:41 +00:00
load_elf.c Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
loader.8 Clean up from the 4.x era. 2011-12-27 15:59:51 +00:00
ls.c
Makefile.inc Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
md.c
merge_help.awk
misc.c
module.c Fix a long standing bug where file_load() passes down the global loadaddr 2011-04-04 16:59:46 +00:00
newvers.sh
panic.c
pnp.c
reloc_elf32.c
reloc_elf64.c
reloc_elf.c Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
ufsread.c Since r219452 the alignment of __dmadat has changed, revealing that fsread() 2011-07-11 20:43:59 +00:00
util.c Fix buffer overflow in sys/boot/common/util.c's printf(), when printing 2011-08-08 20:53:04 +00:00
util.h Rename bcpy() macro to bcopy(). 2011-02-27 12:25:47 +00:00