Author: tsoome
Date: Tue Sep 17 13:15:27 2019
New Revision: 352445
URL: https://svnweb.freebsd.org/changeset/base/352445
Log:
loader: add memalign() to libsa
Implement memalign(size_t alignment, size_t size) to allocate aligned memory.
Modified:
head/stand/libsa/stand.h
head/stand/libs
Author: tsoome
Date: Tue Sep 17 13:50:25 2019
New Revision: 352446
URL: https://svnweb.freebsd.org/changeset/base/352446
Log:
loader.efi: efipart needs to use ioalign
UEFI specification 2.7A, EFI_BLOCK_IO_PROTOCOL, page 566.
The ioalign property does define the alignment of data buffer
Author: tsoome
Date: Tue Sep 17 16:16:46 2019
New Revision: 352451
URL: https://svnweb.freebsd.org/changeset/base/352451
Log:
loader: revert r352421
As insisted by kib, malloc(0) is quite legal.
Modified:
head/stand/libsa/zalloc_malloc.c
Modified: head/stand/libsa/zalloc_malloc.c
==
Author: tsoome
Date: Tue Sep 17 18:05:33 2019
New Revision: 352454
URL: https://svnweb.freebsd.org/changeset/base/352454
Log:
loader: provide u> and xemit words if needed
We have external interpreter (userboot.so) which may be lagging behind
with updates and may be missing u> xemit words.
Author: tsoome
Date: Fri Sep 20 05:22:34 2019
New Revision: 352548
URL: https://svnweb.freebsd.org/changeset/base/352548
Log:
loader: fix typo in zalloc.
Modified:
head/stand/libsa/zalloc.c
Modified: head/stand/libsa/zalloc.c
==
Author: tsoome
Date: Sun Sep 22 16:10:25 2019
New Revision: 352599
URL: https://svnweb.freebsd.org/changeset/base/352599
Log:
loader_4th: menu items need to reset color attribute, not switch to white
Forth menu kernel and BE entries, instead of resetting the color attribute,
are switching
Author: tsoome
Date: Sun Sep 22 17:39:20 2019
New Revision: 352601
URL: https://svnweb.freebsd.org/changeset/base/352601
Log:
loader_lua: lua color changes should end with reset
The color change should have reset sequence, not switch to white.
Modified:
head/stand/lua/color.lua
head/st
Author: tsoome
Date: Wed Sep 25 07:09:25 2019
New Revision: 352669
URL: https://svnweb.freebsd.org/changeset/base/352669
Log:
loader: add teken.fg_color and teken.bg_color variables
Add settable variables to control teken default color attributes.
The supported colors are 0-7 or basic col
Author: tsoome
Date: Wed Sep 25 07:36:35 2019
New Revision: 352670
URL: https://svnweb.freebsd.org/changeset/base/352670
Log:
loader: fix indentation in efi_console and vidconsole
Remove extra tab.
Reported by: yuripv
Modified:
head/stand/efi/libefi/efi_console.c
head/stand/i386/
Author: tsoome
Date: Wed Sep 25 13:21:07 2019
New Revision: 352680
URL: https://svnweb.freebsd.org/changeset/base/352680
Log:
kernel: terminal_init() should check for teken colors from kenv
Check for teken.fg_color and teken.bg_color and prepare the color
attributes accordingly.
When
Author: tsoome
Date: Wed Sep 25 13:24:31 2019
New Revision: 352681
URL: https://svnweb.freebsd.org/changeset/base/352681
Log:
vt: use colors from terminal emulator
Instead of hardcoded colors, use terminal state. This also means,
we need to record the pointer to terminal state with vtbuf.
Author: tsoome
Date: Thu Sep 26 07:14:54 2019
New Revision: 352739
URL: https://svnweb.freebsd.org/changeset/base/352739
Log:
vt: use proper return value check with TUNABLE_INT_FETCH
The TUNABLE_INT_FETCH is macro around getenv_int() and we will get
return value 0 or 1 for failure or succ
Author: tsoome
Date: Thu Sep 26 07:19:26 2019
New Revision: 352740
URL: https://svnweb.freebsd.org/changeset/base/352740
Log:
kernel terminal should initialize fg and bg variables before calling
TUNABLE_INT_FETCH
We have two ways to check if kenv variable exists - either we check return
Author: tsoome
Date: Wed May 29 07:24:10 2019
New Revision: 348352
URL: https://svnweb.freebsd.org/changeset/base/348352
Log:
loader: zfs_alloc and zfs_free should use panic
The zfs alloc and free code print out the error and get stuck in infinite
loop; use panic() instead.
Modified:
he
Author: tsoome
Date: Wed May 29 07:32:43 2019
New Revision: 348353
URL: https://svnweb.freebsd.org/changeset/base/348353
Log:
boot1.efi should also provide Calloc
boot1.efi does provide Malloc and Free, we also need Calloc.
Modified:
head/stand/efi/boot1/boot1.c
Modified: head/stand/efi
Author: tsoome
Date: Wed May 29 07:33:51 2019
New Revision: 348354
URL: https://svnweb.freebsd.org/changeset/base/348354
Log:
loader: malloc+memset is calloc in spa_create
Replace malloc + memset pair with calloc.
Modified:
head/stand/libsa/zfs/zfsimpl.c
Modified: head/stand/libsa/zfs/z
Author: tsoome
Date: Thu Jun 6 16:27:05 2019
New Revision: 348748
URL: https://svnweb.freebsd.org/changeset/base/348748
Log:
loader: disk_open() should honor D_PARTNONE
The D_PARTNONE is documented to make it possible to open raw MBR
partition, but the current disk_open() does not really
Author: tsoome
Date: Sun Jun 30 20:15:02 2019
New Revision: 349564
URL: https://svnweb.freebsd.org/changeset/base/349564
Log:
Clean efihttp pointer-sign warnings
The Http protocol structure is using unsigned char strings, Use type casts
where needed.
Modified:
head/stand/efi/libefi/efi
Author: tsoome
Date: Sun Jun 30 20:18:31 2019
New Revision: 349565
URL: https://svnweb.freebsd.org/changeset/base/349565
Log:
efihttp: comparison of integers of different signs
message.HeaderCount is UINTN (unsigned int), so should be i.
Modified:
head/stand/efi/libefi/efihttp.c
Modifie
Author: tsoome
Date: Sun Jun 30 20:21:27 2019
New Revision: 349566
URL: https://svnweb.freebsd.org/changeset/base/349566
Log:
efihttp: mark unused arguments with __unused
we do have __unused, lets use it.
Modified:
head/stand/efi/libefi/efihttp.c
Modified: head/stand/efi/libefi/efihttp.
Author: tsoome
Date: Tue Jul 2 20:32:35 2019
New Revision: 349613
URL: https://svnweb.freebsd.org/changeset/base/349613
Log:
efihttp: mac and err can be used uninitialized
While there, also check if mac != NULL, and use pointer compare for ipv4
and dns.
Modified:
head/stand/efi/libefi
Author: tsoome
Date: Tue Aug 6 19:27:27 2019
New Revision: 350654
URL: https://svnweb.freebsd.org/changeset/base/350654
Log:
loader.efi: replace HandleProtocol() with OpenProtocol()
The HandleProtocol() is deprecated interface and we should use OpenProtocol()
instead. Moreover, in some f
Author: tsoome
Date: Tue Aug 6 20:08:01 2019
New Revision: 350655
URL: https://svnweb.freebsd.org/changeset/base/350655
Log:
loader.efi: boot1.c was left out of 350654
Followup for 350654.
Modified:
head/stand/efi/boot1/boot1.c
Modified: head/stand/efi/boot1/boot1.c
===
Author: tsoome
Date: Tue Aug 6 20:13:28 2019
New Revision: 350656
URL: https://svnweb.freebsd.org/changeset/base/350656
Log:
loader.efi: efilib.h and libefi.c were left out of 350654
And this is second followup for 350654
Modified:
head/stand/efi/include/efilib.h
head/stand/efi/libefi
Author: tsoome
Date: Thu Aug 8 18:08:13 2019
New Revision: 350772
URL: https://svnweb.freebsd.org/changeset/base/350772
Log:
loader: support com.delphix:removing
We should support removing vdev from boot pool. Update loader zfs reader
to support com.delphix:removing.
Reviewed by: a
Author: tsoome
Date: Fri Aug 9 19:09:05 2019
New Revision: 350825
URL: https://svnweb.freebsd.org/changeset/base/350825
Log:
loader: add error check for vdev_indirect calls
We can error out due to memory allocation errors, we can not recover from
those and need to get out.
Modified:
h
Author: tsoome
Date: Wed Jun 17 10:56:58 2020
New Revision: 362265
URL: https://svnweb.freebsd.org/changeset/base/362265
Log:
loader: r362262 did miss the pathlen check
While we are checking the "/dev/" prefix, we can skip the paths shorter than
this prefix.
Sponsored by: Netflix, Kl
Author: tsoome
Date: Sat Jun 20 06:23:31 2020
New Revision: 362431
URL: https://svnweb.freebsd.org/changeset/base/362431
Log:
loader: create single zfs nextboot implementation
We should have nextboot feature implemented in libsa zfs code.
To get there, I have created zfs_nextboot() implem
Author: tsoome
Date: Sat Jun 20 07:46:43 2020
New Revision: 362432
URL: https://svnweb.freebsd.org/changeset/base/362432
Log:
loader: fix libofw build after r362431
Modified:
head/stand/libofw/Makefile
Modified: head/stand/libofw/Makefile
=
Author: tsoome
Date: Sat Jun 20 08:22:57 2020
New Revision: 362433
URL: https://svnweb.freebsd.org/changeset/base/362433
Log:
loader: libofw build is missing sys/list.h after r362431
Add another include path
Modified:
head/stand/libofw/Makefile
Modified: head/stand/libofw/Makefile
=
Author: tsoome
Date: Tue Jun 23 06:42:39 2020
New Revision: 362531
URL: https://svnweb.freebsd.org/changeset/base/362531
Log:
MFOpenZFS: Add basic zfs ioc input nvpair validation
We want newer versions of libzfs_core to run against an existing
zfs kernel module (i.e. a deferred reboot or
Author: tsoome
Date: Fri Jun 26 21:21:35 2020
New Revision: 362663
URL: https://svnweb.freebsd.org/changeset/base/362663
Log:
loader: can not read zfs pool with slog removed
The vdev_init() does check for "known" vdev types, the [log] device removal
will create "hole"
device, but vdev_in
Author: tsoome
Date: Tue Jun 30 21:48:58 2020
New Revision: 362812
URL: https://svnweb.freebsd.org/changeset/base/362812
Log:
boot1.efi: use malloc family from libsa
The zfs reader development did reach to the point where linking boot1,
we will get errors about duplicate symbols Malloc, F
Author: tsoome
Date: Thu Jul 2 07:03:15 2020
New Revision: 362883
URL: https://svnweb.freebsd.org/changeset/base/362883
Log:
loader: potential memory leak and check return values
Need to free nvlist before return from vdev_from_nvlist().
Sponsored by: Netflix, Klara Inc.
Modified:
Author: tsoome
Date: Thu Jul 2 07:15:48 2020
New Revision: 362884
URL: https://svnweb.freebsd.org/changeset/base/362884
Log:
loader: zfs reader does not need BOOT2 bits
After switching zfsloader to use full libsa, we do not need
spa_get_primary() and spa_get_primary_vdev() any more.
Author: tsoome
Date: Tue Jul 7 12:24:40 2020
New Revision: 362989
URL: https://svnweb.freebsd.org/changeset/base/362989
Log:
loader: geli_dev_ioctl does return huge mediasize
The DIOCGMEDIASIZE is calculated md->md_sectorsize * md->md_provsize, and
for boot disk, the md_sectorsize is 4k.
Author: tsoome
Date: Thu Jul 9 13:19:00 2020
New Revision: 363042
URL: https://svnweb.freebsd.org/changeset/base/363042
Log:
loader: setting vdev size based on label asize is not working
Because we need to read asize from vdev_tree. We also need to consider
different vdev type difference
Author: tsoome
Date: Sat Jul 11 06:51:42 2020
New Revision: 363090
URL: https://svnweb.freebsd.org/changeset/base/363090
Log:
loader: implement GELI writes
Bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247482
This patch is based on initial work from allanjude.
PR:
Author: tsoome
Date: Thu Jul 16 10:20:35 2020
New Revision: 363241
URL: https://svnweb.freebsd.org/changeset/base/363241
Log:
efibootmgr: typo in long option name
del-timout should be del-timeout
Reported by: mjg
MFC after:1 week
Modified:
head/usr.sbin/efibootmgr/efibootmgr.
Author: tsoome
Date: Sun Jul 19 06:59:09 2020
New Revision: 363318
URL: https://svnweb.freebsd.org/changeset/base/363318
Log:
loader: cstyle cleanup
No functional changes intended.
Sponsored by: Netflix, Klara Inc.
Modified:
head/stand/i386/loader/main.c
Modified: head/stand/i386/l
Author: tsoome
Date: Wed Aug 5 14:08:44 2020
New Revision: 363910
URL: https://svnweb.freebsd.org/changeset/base/363910
Log:
zfs_keys_nextboot array is missing ZPOOL_CONFIG_POOL_GUID and
ZPOOL_CONFIG_GUID
As we do check the incomint nvlist, we either need to list all possible
keys or us
Author: tsoome
Date: Wed Aug 5 14:32:20 2020
New Revision: 363911
URL: https://svnweb.freebsd.org/changeset/base/363911
Log:
MFOpenZFS: Add support for boot environment data to be stored in the label
We are building new bootonce mechanism (previously zfs bootnext) and it is
based on this
Author: tsoome
Date: Wed Aug 19 15:20:33 2020
New Revision: 364397
URL: https://svnweb.freebsd.org/changeset/base/364397
Log:
libsa: cstyle cleanup for environment.c
No functional changes.
Modified:
head/stand/libsa/environment.c
Modified: head/stand/libsa/environment.c
Author: tsoome
Date: Wed Aug 19 15:27:09 2020
New Revision: 364398
URL: https://svnweb.freebsd.org/changeset/base/364398
Log:
libsa: make env_discard() public
Allow env_discard() to be used outside environment.c
Modified:
head/stand/libsa/environment.c
head/stand/libsa/stand.h
Modifie
Author: tsoome
Date: Wed Aug 19 20:41:22 2020
New Revision: 364408
URL: https://svnweb.freebsd.org/changeset/base/364408
Log:
libsa: remove leftover whitespace
Tiny cleanup, no functional changes.
Modified:
head/stand/libsa/environment.c
Modified: head/stand/libsa/environment.c
Author: tsoome
Date: Wed Aug 26 07:00:07 2020
New Revision: 364805
URL: https://svnweb.freebsd.org/changeset/base/364805
Log:
remove left over empty directory
364746 did leave empty directory around.
Deleted:
head/sys/cddl/contrib/opensolaris/uts/common/fs/
__
Author: tsoome
Date: Wed Aug 26 07:29:17 2020
New Revision: 364806
URL: https://svnweb.freebsd.org/changeset/base/364806
Log:
remove pragma ident lines
The #pragma ident is historical relict and not needed any more, this
pragma is actually unknown for common compilers and is only causing
Author: tsoome
Date: Wed Aug 26 14:02:38 2020
New Revision: 364818
URL: https://svnweb.freebsd.org/changeset/base/364818
Log:
efibootmgr: wrong check for opts.order
opts.order && !(opts.order) does not really make sense.
Reported by: swildner
Modified:
head/usr.sbin/efibootmgr/efib
Author: tsoome
Date: Wed Aug 26 17:52:32 2020
New Revision: 364827
URL: https://svnweb.freebsd.org/changeset/base/364827
Log:
libsa: only skein_block.c is using SKEIN_LOOP
Only use SKEIN_LOOP while compiling skein_block.c
Modified:
head/stand/libsa/zfs/Makefile.inc
Modified: head/stand/
Author: tsoome
Date: Thu Oct 22 20:02:02 2020
New Revision: 366951
URL: https://svnweb.freebsd.org/changeset/base/366951
Log:
loader: revert r342161 and r342151
We are using asize property from pool label and we do not depend
on partition data to find last two pool labels and to validate
Author: tsoome
Date: Fri Nov 6 21:27:54 2020
New Revision: 367431
URL: https://svnweb.freebsd.org/changeset/base/367431
Log:
efifb: vt_generate_cons_palette() takes max color, not mask
vt_generate_cons_palette() does take max values of RGB component colours, not
mask. Also we need to set
Author: tsoome
Date: Sun Nov 8 09:35:41 2020
New Revision: 367479
URL: https://svnweb.freebsd.org/changeset/base/367479
Log:
loader: cstyle cleanup of bootstrap.h
No functional changes intended.
Modified:
head/stand/common/bootstrap.h
Modified: head/stand/common/bootstrap.h
===
Author: tsoome
Date: Sun Nov 8 09:49:51 2020
New Revision: 367480
URL: https://svnweb.freebsd.org/changeset/base/367480
Log:
loader: cstyle cleanup of bootstrap.h did miss a bit
correct small issues - misplaced comment and typos.
Modified:
head/stand/common/bootstrap.h
Modified: head/s
Author: tsoome
Date: Sat Nov 14 10:56:40 2020
New Revision: 367674
URL: https://svnweb.freebsd.org/changeset/base/367674
Log:
loader: cstyle cleanup of console.c
cstyle cleanup only, no functional changes intended.
Modified:
head/stand/common/console.c
Modified: head/stand/common/consol
Author: tsoome
Date: Sun Nov 15 14:04:27 2020
New Revision: 367710
URL: https://svnweb.freebsd.org/changeset/base/367710
Log:
zfsboot: add prototype for main()
Some compilers are complaining about missing prototype.
PR: 251150
Reported by: markiyan.kush...@gmail.com
Modif
Author: tsoome
Date: Mon Nov 30 08:22:40 2020
New Revision: 368168
URL: https://svnweb.freebsd.org/changeset/base/368168
Log:
Add VT driver for VBE framebuffer device
Implement vt_vbefb to support Vesa Bios Extensions (VBE) framebuffer with VT.
vt_vbefb is built based on vt_efifb and is a
Author: tsoome
Date: Mon Nov 30 08:31:41 2020
New Revision: 368169
URL: https://svnweb.freebsd.org/changeset/base/368169
Log:
fix vmbus_fb_mmio_res after r368168
mixed efifb versus vbefb struct use did slip in by mistake.
Modified:
head/sys/dev/hyperv/vmbus/vmbus.c
Modified: head/sys/de
Author: tsoome
Date: Mon Nov 30 11:45:47 2020
New Revision: 368184
URL: https://svnweb.freebsd.org/changeset/base/368184
Log:
vt: if loader did pass the font via metadata, use it
The built in 8x16 font may be way too small with large framebuffer
resolutions, to improve readability, use lo
Author: tsoome
Date: Tue Dec 1 22:28:02 2020
New Revision: 368261
URL: https://svnweb.freebsd.org/changeset/base/368261
Log:
ficl: instead of pad, emit can use local variable
Pad in forth is used as "scratchpad" and internal implementations
should not use it. Ficl does not really follow
Author: tsoome
Date: Tue Dec 1 23:07:05 2020
New Revision: 368266
URL: https://svnweb.freebsd.org/changeset/base/368266
Log:
ficl: make dump a bit friendlier
would be nice to have dump to output hex and ascii.
Modified:
head/stand/ficl/softwords/softcore.fr
Modified: head/stand/ficl/so
Author: tsoome
Date: Wed Dec 2 09:42:02 2020
New Revision: 368274
URL: https://svnweb.freebsd.org/changeset/base/368274
Log:
vt/fonts: fix typo
add missing 'is'.
Reported by: bcr
Modified:
head/share/vt/fonts/INDEX.fonts
Modified: head/share/vt/fonts/INDEX.fonts
=
Author: tsoome
Date: Mon Dec 7 11:25:18 2020
New Revision: 368410
URL: https://svnweb.freebsd.org/changeset/base/368410
Log:
loader: xdr_array is missing count
The integer arrays are encoded in nvlist as counted array ,
loader xdr_array() is missing the count. This will affect the pool i
Author: tsoome
Date: Tue Dec 15 21:48:35 2020
New Revision: 368677
URL: https://svnweb.freebsd.org/changeset/base/368677
Log:
loader: allow loader to accept zfs feature com.datto:bookmark_v2
We do not need to actually read bookmarks, just whitelist this feature
Reported by: jpaetzel
Author: tsoome
Date: Tue Dec 15 22:37:03 2020
New Revision: 368684
URL: https://svnweb.freebsd.org/changeset/base/368684
Log:
loader: allow loader to accept zfs feature com.delphix:bookmark_written
We do not need to actually read bookmarks, just whitelist this feature.
Reported by: mj
Author: tsoome
Date: Mon Dec 2 21:08:59 2019
New Revision: 355308
URL: https://svnweb.freebsd.org/changeset/base/355308
Log:
loader.efi: fix cd boot for cisco C220M3
Reported by: Chris Ross
MFC after:1w
Modified:
head/stand/efi/libefi/efipart.c
Modified: head/stand/efi/libefi/ef
Author: tsoome
Date: Tue Dec 3 18:36:39 2019
New Revision: 355347
URL: https://svnweb.freebsd.org/changeset/base/355347
Log:
loader: ReadKeyStrokeEx may return partial keystrokes
In some systems we can receive no scancode nor unicodechar values.
PR: 240760
Reported by: Ar
Author: tsoome
Date: Wed Dec 4 16:41:00 2019
New Revision: 355392
URL: https://svnweb.freebsd.org/changeset/base/355392
Log:
loader: clean up efipart filter expressions
Small cleanup based on illumos review.
Modified:
head/stand/efi/libefi/efipart.c
Modified: head/stand/efi/libefi/efip
Author: tsoome
Date: Fri Dec 6 09:50:29 2019
New Revision: 355441
URL: https://svnweb.freebsd.org/changeset/base/355441
Log:
loader.efi: print ImageBase so we know where we are
Output a bit of debugging aid.
Modified:
head/stand/efi/loader/main.c
Modified: head/stand/efi/loader/main.c
Author: tsoome
Date: Fri Dec 13 08:20:20 2019
New Revision: 355702
URL: https://svnweb.freebsd.org/changeset/base/355702
Log:
loader: vdisk dereference after free
print out the information and then free the memory used.
MFC after:1 week
Modified:
head/stand/common/vdisk.c
Modif
Author: tsoome
Date: Fri Dec 13 08:41:37 2019
New Revision: 355703
URL: https://svnweb.freebsd.org/changeset/base/355703
Log:
loader: clean up devopen and devclose a bit
devopen should undo setup of f->f_dev in case of error.
devclose can just call free().
MFC after:1 week
Modif
Author: tsoome
Date: Fri Dec 13 12:36:16 2019
New Revision: 355713
URL: https://svnweb.freebsd.org/changeset/base/355713
Log:
loader: cd9660_open() warn: is 'buf' large enough for 'struct
iso_primary_descriptor'?
We do allocate amount of memory (void * or char *), and then assign this
bu
Author: tsoome
Date: Sun Dec 15 14:09:49 2019
New Revision: 355773
URL: https://svnweb.freebsd.org/changeset/base/355773
Log:
loader: zfsimpl.c cstyle cleanup
No functional changes intended.
MFC after:1 week
Modified:
head/stand/libsa/zfs/zfsimpl.c
Modified: head/stand/libsa/zf
Author: tsoome
Date: Sun Dec 15 21:52:40 2019
New Revision: 355786
URL: https://svnweb.freebsd.org/changeset/base/355786
Log:
loader: rewrite zfs vdev initialization
In some cases the pool discovery will get stuck in infinite loop while setting
up the vdev children.
To fix, we split
Author: tsoome
Date: Tue Dec 17 08:30:11 2019
New Revision: 355844
URL: https://svnweb.freebsd.org/changeset/base/355844
Log:
loader.efi: efi_readkey_ex needs to key despite the shift status or toggle
status
From UEFI specification 2.8, page 434:
"It should also be noted that certain inp
Author: tsoome
Date: Mon Jan 6 19:35:22 2020
New Revision: 356424
URL: https://svnweb.freebsd.org/changeset/base/356424
Log:
loader: update zfsimpl.c from illumos review suggestions
Add extra comments and update error handling.
MFH: 1 week
Modified:
head/stand/libsa/zfs/zf
Author: tsoome
Date: Thu Jan 9 21:21:08 2020
New Revision: 356570
URL: https://svnweb.freebsd.org/changeset/base/356570
Log:
loader: bioscd probe can get sector size 0
With buggy BIOS, it may happen we get sector size reported 0 for cd, and then
the default 512 is used, which is quite wr
Author: tsoome
Date: Mon Jan 13 18:22:54 2020
New Revision: 356693
URL: https://svnweb.freebsd.org/changeset/base/356693
Log:
loader: allocate properly aligned buffer for network packet
Use memalign(4, size) to ensure we have properly aligned buffer.
MFC after:2 weeks
Modified:
Author: tsoome
Date: Mon Jan 13 20:02:27 2020
New Revision: 356700
URL: https://svnweb.freebsd.org/changeset/base/356700
Log:
Backout 356693. The libsa malloc does provide necessary alignment and
memalign by 4 will reduce alignment for some platforms. Thanks for Ian for
pointing this out.
M
Author: tsoome
Date: Mon Feb 3 11:33:33 2020
New Revision: 357442
URL: https://svnweb.freebsd.org/changeset/base/357442
Log:
loader: bc_add can not use any other probes than ah=0x4b
CD boot is broken for some systems since bioscd and biosdisk merge. The issue
is that we can not use anythi
Author: tsoome
Date: Tue Feb 4 07:37:55 2020
New Revision: 357497
URL: https://svnweb.freebsd.org/changeset/base/357497
Log:
loader: rewrite zfs reader zap code to use malloc
First step on removing zfs_alloc.
Reviewed by: delphij
Differential Revision:https://reviews.freebs
Author: tsoome
Date: Sat May 9 06:25:20 2020
New Revision: 360836
URL: https://svnweb.freebsd.org/changeset/base/360836
Log:
loader: vdev_read() can corrupt memory
When reading less than sector size but from sector boundary,
the vdev_read() will read full sector into the provided buffer
Author: tsoome
Date: Tue May 19 19:53:12 2020
New Revision: 361266
URL: https://svnweb.freebsd.org/changeset/base/361266
Log:
lz4 hash table does not start zeroed
illumos issue: https://www.illumos.org/issues/12757
Submitted by: andyf
Modified:
head/sys/cddl/contrib/opensolaris/comm
Author: tsoome
Date: Fri Jun 5 18:18:27 2020
New Revision: 361842
URL: https://svnweb.freebsd.org/changeset/base/361842
Log:
zfsbootcfg: use vfs.root.mountfrom and update nextboot on every vdev
vfs.zfs.boot.primary_pool is only set on BIOS boot, use vfs.root.mountfrom
instead and update
Author: tsoome
Date: Sun Jun 14 06:58:58 2020
New Revision: 362172
URL: https://svnweb.freebsd.org/changeset/base/362172
Log:
Move font related data structured to sys/font.c and update vtfontcvt
Prepare support to be able to handle font data in loader, consolidate
data structures to sys/f
Author: tsoome
Date: Sun Jun 14 10:13:40 2020
New Revision: 362174
URL: https://svnweb.freebsd.org/changeset/base/362174
Log:
loader.efi: update console after gfx mode change
The gfx mode change should be coordinated with console setup.
Modified:
head/stand/efi/loader/framebuffer.c
Modi
Author: tsoome
Date: Sun Jun 14 20:57:24 2020
New Revision: 362184
URL: https://svnweb.freebsd.org/changeset/base/362184
Log:
zfsboot: cstyle cleanup
No functional changes intended.
Sponsored by: Netflix, Klara Inc.
Modified:
head/stand/i386/zfsboot/zfsboot.c
Modified: head/stand/i
Author: tsoome
Date: Tue Jun 16 07:05:03 2020
New Revision: 362217
URL: https://svnweb.freebsd.org/changeset/base/362217
Log:
loader: variable i is unused without MBR/GPT support built in
Because i is only used as index in for loop, declare it in for statement.
Sponsored by: Netflix, K
Author: tsoome
Date: Tue Jun 16 07:30:34 2020
New Revision: 362218
URL: https://svnweb.freebsd.org/changeset/base/362218
Log:
loader: zfs_cmd.c does not really compile without libzfs.h
Having libzfs.h wrapped in LOADER_ZFS_SUPPORT check does not really make
sense,
because we do need func
Author: tsoome
Date: Tue Jun 16 20:35:00 2020
New Revision: 362239
URL: https://svnweb.freebsd.org/changeset/base/362239
Log:
boot2: need to expand tab output and mask getchar
The BIOS ouput char function does not expand tab.
Mask getchar with 0xFF.
Sponsored by: Netflix, Klara Inc.
Author: tsoome
Date: Wed Jun 17 08:08:57 2020
New Revision: 362259
URL: https://svnweb.freebsd.org/changeset/base/362259
Log:
loader: vidc_init should also erase the screen
Inject \e[J to erase the initial loader screen. We have two options,
find where out cursor is and use BIOS scroll fo
Author: tsoome
Date: Wed Jun 17 10:41:01 2020
New Revision: 362262
URL: https://svnweb.freebsd.org/changeset/base/362262
Log:
loader: strings in nvlist are counted strings, not c-strings
We need to fetch both string size and data, then handle the data.
Reviewed by: allanjude
Sponsor
The arm (uboot) has a bit different approach on block device(s), see
efipart_hdinfo_add_filepath() in efipart.c; the code needs to check for
MEDIA_FILEPATH_DP, I think.
rgds,
toomas
> On 16 Oct 2017, at 19:07, Andrew Turner wrote:
>
> Correct, it is aarch64. It runs a similar qemu command,
Author: tsoome
Date: Wed Oct 18 07:39:21 2017
New Revision: 324717
URL: https://svnweb.freebsd.org/changeset/base/324717
Log:
libsa/ip.c: misplaced comment, ip_v is half char, not ip_p
The comment should be at previous line.
Reported by: Dan McDonald
Modified:
head/sys/boot/libsa/i
Author: tsoome
Date: Wed Oct 18 08:06:05 2017
New Revision: 324719
URL: https://svnweb.freebsd.org/changeset/base/324719
Log:
libsa/ip: stop read loop on bad fragments
Lets try to clear out from case of overlapping etc fragments and stop read.
Reported by: Dan McDonald
Modified:
he
Author: tsoome
Date: Tue Oct 31 20:29:31 2017
New Revision: 325248
URL: https://svnweb.freebsd.org/changeset/base/325248
Log:
loader ptblread() is broken with >512B sectors
The loader strategy() function is assuming 512B blocks, so we need to adjust
ptblread() for other sector sizes.
Author: tsoome
Date: Wed Nov 1 18:49:45 2017
New Revision: 325286
URL: https://svnweb.freebsd.org/changeset/base/325286
Log:
efipart_strategy is using wrong offset with >512B sectors
The strategy() calls are assuming 512B sectors, so we need to adjust the
offset accordingly.
Reviewe
Author: tsoome
Date: Thu Nov 2 08:47:03 2017
New Revision: 325310
URL: https://svnweb.freebsd.org/changeset/base/325310
Log:
zfs.c:vdev_read() needs to be careful about large sectors
Using the same implementation as done in efi/boot1. We must handle smaller
than sector size IO etc.
Author: tsoome
Date: Fri Nov 10 12:07:56 2017
New Revision: 325641
URL: https://svnweb.freebsd.org/changeset/base/325641
Log:
loader.efi: efi_devpath_is_prefix should return bool
efi_devpath_is_prefix() is currently returning values 0 or 1, which means
it really should return bool.
A
Author: tsoome
Date: Wed Nov 22 08:48:00 2017
New Revision: 326089
URL: https://svnweb.freebsd.org/changeset/base/326089
Log:
loader.efi: efipart does not recognize partitionless disks
Rework the block device handle check to allow more robust device
classification. This is mostly usabilit
Author: tsoome
Date: Wed Nov 22 10:04:09 2017
New Revision: 326090
URL: https://svnweb.freebsd.org/changeset/base/326090
Log:
net_parse_rootpath() has no parameters
Add void for parameter list.
Modified:
head/stand/common/dev_net.c
Modified: head/stand/common/dev_net.c
=
101 - 200 of 447 matches
Mail list logo