Author: tsoome
Date: Thu Jun 14 08:58:10 2018
New Revision: 335125
URL: https://svnweb.freebsd.org/changeset/base/335125
Log:
libsa: cstyle cleanup for open/close/read/write sources
Modified:
head/stand/libsa/close.c
head/stand/libsa/open.c
head/stand/libsa/read.c
head/stand/libsa/write
Author: tsoome
Date: Thu Jun 14 09:06:53 2018
New Revision: 335126
URL: https://svnweb.freebsd.org/changeset/base/335126
Log:
libsa: f_rabuf could be NULL
It is possible that we will not get RA buffer from open(), therefore
we must validate RA.
Modified:
head/stand/libsa/read.c
Modifi
Author: tsoome
Date: Thu Jun 14 09:10:34 2018
New Revision: 335127
URL: https://svnweb.freebsd.org/changeset/base/335127
Log:
libsa: remobe unneeded check before free()
free() is checking for NULL, remove duplicate check.
Modified:
head/stand/libsa/close.c
Modified: head/stand/libsa/clo
Author: tsoome
Date: Thu Jun 14 16:11:50 2018
New Revision: 335148
URL: https://svnweb.freebsd.org/changeset/base/335148
Log:
libsa: open() should use NULL instead of typecasted 0
Modified:
head/stand/libsa/open.c
Modified: head/stand/libsa/open.c
Author: tsoome
Date: Fri Dec 1 06:37:12 2017
New Revision: 326421
URL: https://svnweb.freebsd.org/changeset/base/326421
Log:
loader.efi: efipart should exclude iPXE stub block protocol
iPXE does insert stub BLOCK IO protocol handle to rework other issues,
this handle is not usable as it
Author: tsoome
Date: Mon Dec 4 08:50:00 2017
New Revision: 326509
URL: https://svnweb.freebsd.org/changeset/base/326509
Log:
loader.efi: add note about iPXE into the efipart.c
Commant update.
Modified:
head/stand/efi/libefi/efipart.c
Modified: head/stand/efi/libefi/efipart.c
==
Author: tsoome
Date: Wed Dec 6 06:49:53 2017
New Revision: 326616
URL: https://svnweb.freebsd.org/changeset/base/326616
Log:
dhcp_try_rfc1048() is not used any more
Remove unused function.
Reviewed by: imp
Differential Revision:https://reviews.freebsd.org/D13382
Modified:
Author: tsoome
Date: Thu Dec 14 16:41:52 2017
New Revision: 326854
URL: https://svnweb.freebsd.org/changeset/base/326854
Log:
libefi: make efichar.h more usable in stand code
Use _STANDALONE for guard expression in efichar.[ch] and add efi_char typedef.
clean up boot1.c, and replace for l
Author: tsoome
Date: Tue Jan 16 20:35:54 2018
New Revision: 328061
URL: https://svnweb.freebsd.org/changeset/base/328061
Log:
utf8_to_ucs2() should check for malloc failure
utf8_to_ucs2() is calling malloc() without checking the result.
Reviewed by: imp
Differential Revision:
Author: tsoome
Date: Sat Apr 7 14:40:09 2018
New Revision: 332170
URL: https://svnweb.freebsd.org/changeset/base/332170
Log:
libsa: cd9660: warning: 'lenskip' may be used uninitialized in this function
We better provide value for lenskip in both instances.
Modified:
head/stand/libsa/cd9
Author: tsoome
Date: Sat Apr 7 14:42:47 2018
New Revision: 332173
URL: https://svnweb.freebsd.org/changeset/base/332173
Log:
libsa: name is not used in dirmatch()
Seems like variable 'name' is leftover.
Modified:
head/stand/libsa/cd9660read.c
Modified: head/stand/libsa/cd9660read.c
===
Author: tsoome
Date: Sun Apr 8 11:39:27 2018
New Revision: 332270
URL: https://svnweb.freebsd.org/changeset/base/332270
Log:
loader: include efi.4th only if we do have uefi
Also simplify efi.4th.
Modified:
head/stand/forth/efi.4th
head/stand/forth/loader.4th
head/stand/forth/loader.
Author: tsoome
Date: Sun Apr 8 11:55:27 2018
New Revision: 332272
URL: https://svnweb.freebsd.org/changeset/base/332272
Log:
loader: 332270 did use wrong path for efi.4th
The correct path is still /boot/efi.4th
Modified:
head/stand/forth/loader.4th
Modified: head/stand/forth/loader.4t
Author: tsoome
Date: Sun Apr 8 13:40:38 2018
New Revision: 332275
URL: https://svnweb.freebsd.org/changeset/base/332275
Log:
loader: 332270 did left out stand/i386/loader/loader.rc
we have 2 instances of loader.rc...
Modified:
head/stand/i386/loader/loader.rc
Modified: head/stand/i386/
> On 8 Apr 2018, at 17:23, O. Hartmann wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> Am Sun, 8 Apr 2018 11:55:27 +0000 (UTC)
> Toomas Soome schrieb:
>
>> Author: tsoome
>> Date: Sun Apr 8 11:55:27 2018
>> New Revision: 332272
&g
Author: tsoome
Date: Mon Apr 16 07:26:23 2018
New Revision: 332555
URL: https://svnweb.freebsd.org/changeset/base/332555
Log:
loader: provide values in help_getnext()
With r328289 we attempt to make sure we free the resources allocated in
help_getnext(), however, it is possible that we ge
Author: tsoome
Date: Mon Apr 16 08:15:50 2018
New Revision: 332557
URL: https://svnweb.freebsd.org/changeset/base/332557
Log:
loader: make sure we use snprintf() in commands.c
Safeguard against memory corruptions.
Modified:
head/stand/common/commands.c
Modified: head/stand/common/comman
Author: tsoome
Date: Mon Apr 16 08:41:44 2018
New Revision: 332558
URL: https://svnweb.freebsd.org/changeset/base/332558
Log:
loader: command_errmsg should be const
Use const char * for command_errmsg.
Modified:
head/stand/common/bootstrap.h
head/stand/common/commands.c
Modified: head
Author: tsoome
Date: Mon Apr 16 12:46:14 2018
New Revision: 332560
URL: https://svnweb.freebsd.org/changeset/base/332560
Log:
loader: make sure we do not return garbage from help_getnext
Since we do free subtopic and desc in help_getnext(), we need to set them also
NULL, so we make sure w
Author: tsoome
Date: Mon Apr 16 14:10:19 2018
New Revision: 332565
URL: https://svnweb.freebsd.org/changeset/base/332565
Log:
loader: cstyle cleanup of command.c
just clean it up. no functional changes intended.
Reviewed by: imp
Differential Revision:https://reviews.freebsd.
Author: tsoome
Date: Mon May 15 16:53:02 2017
New Revision: 318297
URL: https://svnweb.freebsd.org/changeset/base/318297
Log:
e1000api: misleading-indentation
Two blocks in e1000_ich8lan.c are misaligned, causing noise with some
compilers (gcc 6).
Reviewed by: imp, erj
Differentia
Author: tsoome
Date: Mon May 15 21:50:34 2017
New Revision: 318320
URL: https://svnweb.freebsd.org/changeset/base/318320
Log:
loader: add ip layer code into libstand
Implement simple separate ip module and fragment re-assembly.
The work is based on send and receive previously implement
Author: tsoome
Date: Tue May 16 17:35:05 2017
New Revision: 318356
URL: https://svnweb.freebsd.org/changeset/base/318356
Log:
libstand: increase nfs max read size to 16k
With ip fragment reassembly implemented, it makes sense to allow
larger nfs reads. Note due to loader heap size limit,
Author: tsoome
Date: Sun May 28 21:20:55 2017
New Revision: 319084
URL: https://svnweb.freebsd.org/changeset/base/319084
Log:
Small cleanup in dev_net.c
The variable servip is unused. One leftover printf and small cstyle nit.
Reviewed by: bapt
Differential Revision:https://r
Author: tsoome
Date: Sun May 28 21:30:01 2017
New Revision: 319085
URL: https://svnweb.freebsd.org/changeset/base/319085
Log:
use the same option list for dhcp discovery and request
The DHCP client is supposed to use the same option request list for
both DHCP discovery and request.
T
Author: tsoome
Date: Mon Jun 5 11:55:26 2017
New Revision: 319601
URL: https://svnweb.freebsd.org/changeset/base/319601
Log:
ANSIfy md5 functions
Update the function declarations.
Reviewed by: dim
Differential Revision:https://reviews.freebsd.org/D11055
Modified:
head/li
d: head/sys/boot/i386/libi386/relocater_tramp.S
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/boot/i386/libi386/relocater_tramp.SFri Jun 16 20:08:44
2017(r320011)
@@ -0,
> On 22. juuni 2017, at 21:23, Dimitry Andric wrote:
>
> On 22 Jun 2017, at 16:30, Ed Maste wrote:
>>
>> Author: emaste
>> Date: Thu Jun 22 14:30:09 2017
>> New Revision: 320234
>> URL: https://svnweb.freebsd.org/changeset/base/320234
>>
>> Log:
>> Make structure padding explicit in EFI_MEMOR
Author: tsoome
Date: Thu Jun 29 04:33:55 2017
New Revision: 320467
URL: https://svnweb.freebsd.org/changeset/base/320467
Log:
loader: chain load relocate data declaration is bad
The implementation is using fixed size array allocated in asm module,
need to use proper array declaration for
Author: tsoome
Date: Mon Oct 24 16:28:54 2016
New Revision: 307865
URL: https://svnweb.freebsd.org/changeset/base/307865
Log:
loader should boot pre-feature flags pools.
The feature flags chek is missing the corner case where we have valid pool
version, but feature flags are not enabled -
Author: tsoome
Date: Wed Nov 2 06:37:35 2016
New Revision: 308195
URL: https://svnweb.freebsd.org/changeset/base/308195
Log:
efinet_dev_print should honor verbose option.
lsdev should display detailed information about net devices only with -v
switch. This will make EFI and BIOS version
Author: tsoome
Date: Tue Nov 8 06:50:18 2016
New Revision: 308434
URL: https://svnweb.freebsd.org/changeset/base/308434
Log:
Loader paged/pageable data is not always paged.
This change does modify devsw dv_print() to return the int value,
enabling walkers to interrupt the walk on non zer
Author: tsoome
Date: Wed Nov 9 21:28:46 2016
New Revision: 308476
URL: https://svnweb.freebsd.org/changeset/base/308476
Log:
boot/forth spelling issue in forth word
Reviewed by: dteske, imp
Approved by: imp (mentor)
Differential Revision:https://reviews.freebsd.org/D8484
Mod
lizing 'void (*)(int)' with an expression of type 'int
> (int)' [-Werror,-Wincompatible-pointer-types]
> .dv_print = zfs_dev_print,
> ^
> 1 error generated.
> *** Error code 1
>
> Stop.
> make[2]: stopped in /us
change, as you can not really build new source with using old headers.
rgds,
toomas
>
> On Thu, Nov 10, 2016 at 11:52 PM, Kamil Czekirda wrote:
>> cp /usr/src/lib/libstand/libstand.h /usr/include/stand.h fixed that
>>
>> thanks
>>
>> 2016-11-10 23:28 GMT
Author: tsoome
Date: Thu Nov 17 18:38:35 2016
New Revision: 308774
URL: https://svnweb.freebsd.org/changeset/base/308774
Log:
loader: beri_sdcard_disk_print() needs to return int.
The https://reviews.freebsd.org/rS308434 did change the return type for
dv_print callbacks, but the return ty
Author: tsoome
Date: Thu Nov 17 19:38:30 2016
New Revision: 308776
URL: https://svnweb.freebsd.org/changeset/base/308776
Log:
loader: zfs toplevel vdev must have spa set.
The salt based checksum mechanisms, such as skein, are storing the seed
in spa structure, and need to access the spa t
Author: tsoome
Date: Sat Nov 19 08:54:21 2016
New Revision: 308827
URL: https://svnweb.freebsd.org/changeset/base/308827
Log:
lsdev device name section headers should be printed by dv_print callback.
lsdev command does walk over devsw list, prints list element name and
will use dv_print()
Author: tsoome
Date: Sat Nov 19 16:08:40 2016
New Revision: 308843
URL: https://svnweb.freebsd.org/changeset/base/308843
Log:
loader: smbios version check is not correct
The version check for sku and family values is not correct, as this data is
valid for version 2.4+, that also includes
Author: tsoome
Date: Thu Dec 1 19:19:20 2016
New Revision: 309369
URL: https://svnweb.freebsd.org/changeset/base/309369
Log:
libstand: dosfs cstyle cleanup for return keyword.
Reviewed by: bapt, imp, allanjude
Approved by: imp (mentor), allanjude (mentor)
Differential Revision:
Author: tsoome
Date: Sun Oct 6 18:38:58 2019
New Revision: 353146
URL: https://svnweb.freebsd.org/changeset/base/353146
Log:
loader.efi: for text mode, use STM to scroll the whole screen
Since local UEFI console is implemented on top of framebuffer,
we need to avoid redrawing the whole s
Author: tsoome
Date: Tue Oct 15 08:33:05 2019
New Revision: 353544
URL: https://svnweb.freebsd.org/changeset/base/353544
Log:
boot1.efi: provide generic exit() and stub getchar()
panic() is expecting us to have exit and getchar, lets provide those.
Modified:
head/stand/efi/boot1/boot1.c
Author: tsoome
Date: Sat Oct 19 08:08:06 2019
New Revision: 353757
URL: https://svnweb.freebsd.org/changeset/base/353757
Log:
loader: zfs_fmtdev can crash when pool discovery did fail and we have no spa
When zfs probe did fail and no spa was created, but zfs_fmtdev() is called,
we will cr
Author: tsoome
Date: Thu Oct 24 07:49:33 2019
New Revision: 354015
URL: https://svnweb.freebsd.org/changeset/base/354015
Log:
userboot/test should use PRIx64 as one would expect from prefix 0x
Test is printing decimal value after prefix 0x.
Modified:
head/stand/userboot/test/test.c
Modi
Author: tsoome
Date: Sat Oct 26 18:29:02 2019
New Revision: 354119
URL: https://svnweb.freebsd.org/changeset/base/354119
Log:
loader: rs_alloc() may return NULL
rs_alloc() in zfs reader code may return NULL, so we need to check the return
value and error out if needed.
MFC after:1 we
Author: tsoome
Date: Sun Oct 27 08:35:29 2019
New Revision: 354127
URL: https://svnweb.freebsd.org/changeset/base/354127
Log:
loader: zio_checksum_verify should check byteswap
We do have both native and byteswap checksum callbacks in place but the
selection is not wired.
MFC after:
Author: tsoome
Date: Fri Nov 1 06:54:07 2019
New Revision: 354237
URL: https://svnweb.freebsd.org/changeset/base/354237
Log:
loader: asprinf does crash arm64 due to missing NULL pointer check
PCHAR macro needs to check if d is NULL.
MFC after:3 days
Modified:
head/stand/libsa/p
Author: tsoome
Date: Sat Nov 2 09:50:36 2019
New Revision: 354249
URL: https://svnweb.freebsd.org/changeset/base/354249
Log:
loader: fall back to term_emu on efi console with serial backend
In case of efi console having serial backend (video + serial or only serial),
we need to stick wit
Author: tsoome
Date: Sat Nov 2 10:53:23 2019
New Revision: 354252
URL: https://svnweb.freebsd.org/changeset/base/354252
Log:
loader: libi386/comconsole.c cstyle cleanup
Only cstyle, no functional changes.
Modified:
head/stand/i386/libi386/comconsole.c
Modified: head/stand/i386/libi386/
Author: tsoome
Date: Sat Nov 2 12:28:04 2019
New Revision: 354253
URL: https://svnweb.freebsd.org/changeset/base/354253
Log:
Remove duplicate lz4 implementations
Port illumos change: https://www.illumos.org/issues/11667
Move lz4.c out of zfs tree to opensolaris/common/lz4, adjust it t
Author: tsoome
Date: Sat Nov 2 15:08:19 2019
New Revision: 354254
URL: https://svnweb.freebsd.org/changeset/base/354254
Log:
r354253 did miss lz4.c from sys/cddl/boot/zfs.
Deleted:
head/sys/cddl/boot/zfs/lz4.c
___
svn-src-head@freebsd.org mailing l
Author: tsoome
Date: Sat Nov 2 20:46:45 2019
New Revision: 354264
URL: https://svnweb.freebsd.org/changeset/base/354264
Log:
r354253 did miss the updates to sys/conf/files and sys/conf/kern.pre.mk
Reported by: Brandon Bergren
Modified:
head/sys/conf/files
head/sys/conf/kern.pre.mk
M
Author: tsoome
Date: Sat Nov 2 21:02:54 2019
New Revision: 354265
URL: https://svnweb.freebsd.org/changeset/base/354265
Log:
r354253 did miss the fact that libzpool is built as fake kernel
We build libzpool as kernel like, use _FAKE_KERNEL check to include
kernel api in libzpool.
Added:
Author: tsoome
Date: Sat Nov 2 21:52:45 2019
New Revision: 354267
URL: https://svnweb.freebsd.org/changeset/base/354267
Log:
r354264 did mix up the directory path
The correct path is sys/cddl/contrib/opensolaris/common/lz4, not
sys/cddl/contrib/opensolaris/lz4
Reported by: Michael
Author: tsoome
Date: Sun Nov 3 09:14:29 2019
New Revision: 354278
URL: https://svnweb.freebsd.org/changeset/base/354278
Log:
loader: userboot/test should accept more than one disk
allow to specify multiple -d options, test -d disk1 -d disk2 ..
Modified:
head/stand/userboot/test/test.c
Author: tsoome
Date: Sun Nov 3 11:09:06 2019
New Revision: 354279
URL: https://svnweb.freebsd.org/changeset/base/354279
Log:
loader: calculate physical vdev psize from asize
Since physical device asize is calculated from psize and the asize is stored
in pool label, we can use asize to se
Author: tsoome
Date: Sun Nov 3 13:03:47 2019
New Revision: 354282
URL: https://svnweb.freebsd.org/changeset/base/354282
Log:
loader: should check malloc in zfs_dev_open
malloc can return NULL.
Modified:
head/stand/libsa/zfs/zfs.c
Modified: head/stand/libsa/zfs/zfs.c
===
Author: tsoome
Date: Sun Nov 3 13:25:47 2019
New Revision: 354283
URL: https://svnweb.freebsd.org/changeset/base/354283
Log:
loader: we do not support booting from pool with log device
If pool has log device, stop there and tell about it.
Modified:
head/stand/libsa/zfs/zfs.c
head/stan
Author: tsoome
Date: Sun Nov 3 14:36:16 2019
New Revision: 354284
URL: https://svnweb.freebsd.org/changeset/base/354284
Log:
loader: zfs.c is missing malloc checks, fix it
malloc() can return NULL, we need to check the return value.
Modified:
head/stand/libsa/zfs/zfs.c
Modified: head/s
Author: tsoome
Date: Sun Nov 3 21:19:52 2019
New Revision: 354323
URL: https://svnweb.freebsd.org/changeset/base/354323
Log:
loader: factor out label and uberblock load from vdev_probe, add MMP checks
Clean up the label read.
Modified:
head/stand/libsa/zfs/zfsimpl.c
head/sys/cddl/boot
Author: tsoome
Date: Sun Nov 3 21:36:29 2019
New Revision: 354324
URL: https://svnweb.freebsd.org/changeset/base/354324
Log:
loader: allow booting from pool with log device
Apparently people are using log with boot pool, so we can not just
error out there. Still we will need to investiga
Author: tsoome
Date: Mon Nov 4 12:20:19 2019
New Revision: 354332
URL: https://svnweb.freebsd.org/changeset/base/354332
Log:
loader: show APFS partition type name
Add small visual aid in lsdev output.
Modified:
head/stand/common/part.c
head/stand/common/part.h
Modified: head/stand/co
Author: tsoome
Date: Tue Nov 5 18:07:30 2019
New Revision: 354363
URL: https://svnweb.freebsd.org/changeset/base/354363
Log:
loader: populate nvl with data even when label_txg is 0
We actually do not use that data, at least not now, but we want to
avoid possible surprises.
Modified:
h
Author: tsoome
Date: Tue Nov 5 18:35:13 2019
New Revision: 354364
URL: https://svnweb.freebsd.org/changeset/base/354364
Log:
loader: clean up the noise around log device
We are ignoring log device but we also do want to have clean code.
Modified:
head/stand/libsa/zfs/zfs.c
head/stand/
Author: tsoome
Date: Wed Nov 6 21:13:10 2019
New Revision: 354415
URL: https://svnweb.freebsd.org/changeset/base/354415
Log:
loader.efi: HARDDRIVE_DEVICE_PATH may have subpaths
The macos does create Vendor Media devices on top of APFS container
(like partition table inside the partition)
Author: tsoome
Date: Thu Nov 7 11:17:03 2019
New Revision: 354435
URL: https://svnweb.freebsd.org/changeset/base/354435
Log:
loader: implement fallback efi_devpath_to_name()
UEFI 1.10 on macs does not seem to provide devpath to name translation,
provide our own (limited) version, so we c
Author: tsoome
Date: Fri Nov 8 12:19:03 2019
New Revision: 354535
URL: https://svnweb.freebsd.org/changeset/base/354535
Log:
cstyle cleanup for i386_copy.c
No functional changes are intended.
Modified:
head/stand/i386/libi386/i386_copy.c
Modified: head/stand/i386/libi386/i386_copy.c
==
Author: tsoome
Date: Sun Nov 10 15:03:59 2019
New Revision: 354593
URL: https://svnweb.freebsd.org/changeset/base/354593
Log:
loader: memory leak in vdev_label_read_config()
We need to free the allocated buffer for label.
Modified:
head/stand/libsa/zfs/zfsimpl.c
Modified: head/stand/lib
Author: tsoome
Date: Sun Nov 10 15:07:36 2019
New Revision: 354594
URL: https://svnweb.freebsd.org/changeset/base/354594
Log:
loader: use struct initializer in vdev_probe().
Hopefully it is a bit more clear this way.
Modified:
head/stand/libsa/zfs/zfsimpl.c
Modified: head/stand/libsa/zf
Author: tsoome
Date: Tue Nov 12 10:02:39 2019
New Revision: 354635
URL: https://svnweb.freebsd.org/changeset/base/354635
Log:
reverting r354594
In our case the structure is more complex and simple static initializer
will upset compiler diagnostics - using memset is still better than build
Author: tsoome
Date: Fri Nov 15 18:57:00 2019
New Revision: 354743
URL: https://svnweb.freebsd.org/changeset/base/354743
Log:
loader: r354415 did miss to sort subpaths below the partitions
Tested on actual system (MBP with UEFI 1.10).
Modified:
head/stand/efi/libefi/efipart.c
Modified:
Author: tsoome
Date: Fri Nov 15 20:43:39 2019
New Revision: 354746
URL: https://svnweb.freebsd.org/changeset/base/354746
Log:
loader: add support for hybrid PMBR for GPT partition table
Note hybrid table is nor really UEFI specification compliant.
Sample hybrid partition table:
> ::m
Author: tsoome
Date: Sat Nov 16 08:16:50 2019
New Revision: 354766
URL: https://svnweb.freebsd.org/changeset/base/354766
Log:
loader: remove unused variable from efipart.c
Modified:
head/stand/efi/libefi/efipart.c
Modified: head/stand/efi/libefi/efipart.c
Author: tsoome
Date: Sat Nov 30 09:11:28 2019
New Revision: 355224
URL: https://svnweb.freebsd.org/changeset/base/355224
Log:
loader.efi: efipart needs better support detecting nested partitions
Just as disks can have nested partitions, the same happens with cd devices,
so we need to dete
Author: tsoome
Date: Mon Dec 2 15:37:06 2019
New Revision: 355291
URL: https://svnweb.freebsd.org/changeset/base/355291
Log:
libzpool: use CFLAGS.lz4.c to build lz4.o and lz4.pico
Clean up this Makefile a bit.
Modified:
head/cddl/lib/libzpool/Makefile
Modified: head/cddl/lib/libzpool/M
Author: tsoome
Date: Tue Aug 20 19:31:11 2019
New Revision: 351274
URL: https://svnweb.freebsd.org/changeset/base/351274
Log:
loader.efi: efipart should be more careful about constructing block device
lists
The cd handles should be collected as list of partitions. Some systems also
provi
Author: tsoome
Date: Fri Aug 30 20:54:30 2019
New Revision: 351630
URL: https://svnweb.freebsd.org/changeset/base/351630
Log:
qemu-system-aarch64 does list block device with very large block size
Also insert Vendor device as "parent" disk (found in
qemu-system-aarch64 -cpu cortex-a57).
Author: tsoome
Date: Sat Aug 31 06:24:09 2019
New Revision: 351637
URL: https://svnweb.freebsd.org/changeset/base/351637
Log:
loader.efi: use shift 16 in efipart as it is max ashift supported by zfs
Modified:
head/stand/efi/libefi/efipart.c
Modified: head/stand/efi/libefi/efipart.c
=
Author: tsoome
Date: Mon Sep 2 10:45:10 2019
New Revision: 351695
URL: https://svnweb.freebsd.org/changeset/base/351695
Log:
loader.efi: some systems do not translate scan code 0x8 to backspace
Add scancode translation for backspace.
Modified:
head/stand/efi/libefi/efi_console.c
Modifi
Author: tsoome
Date: Mon Sep 2 11:04:17 2019
New Revision: 351696
URL: https://svnweb.freebsd.org/changeset/base/351696
Log:
loader.efi: use and prefer coninex interface
Add support for EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.
Modified:
head/stand/efi/libefi/efi_console.c
Modified: head/stan
Author: tsoome
Date: Sun Apr 7 11:55:11 2019
New Revision: 346000
URL: https://svnweb.freebsd.org/changeset/base/346000
Log:
loader: remove pointer checks before free() in module.c
free() does check for NULL argument, remove duplicate checks.
MFC after:1w
Modified:
head/stand/c
Author: tsoome
Date: Sun Apr 7 12:10:19 2019
New Revision: 346001
URL: https://svnweb.freebsd.org/changeset/base/346001
Log:
loader: file_addmetadata() should check for memory allocation
malloc() can return NULL.
MFC after:1w
Modified:
head/stand/common/module.c
Modified: head
Author: tsoome
Date: Sun Apr 7 11:50:41 2019
New Revision: 345999
URL: https://svnweb.freebsd.org/changeset/base/345999
Log:
loader: file_addmodule should check for memory allocation
strdup() can return NULL.
MFC after:1w
Modified:
head/stand/common/module.c
Modified: head/sta
Author: tsoome
Date: Sun Apr 7 14:07:28 2019
New Revision: 346008
URL: https://svnweb.freebsd.org/changeset/base/346008
Log:
loader: command_lsefi: ret can be used uninitialized
MFC after:1w
Modified:
head/stand/efi/loader/main.c
Modified: head/stand/efi/loader/main.c
=
Author: tsoome
Date: Sun Apr 7 12:20:17 2019
New Revision: 346002
URL: https://svnweb.freebsd.org/changeset/base/346002
Log:
loader: mod_loadkld() error: we previously assumed 'last_file' could be null
The last_file variable is used to reset the loadaddr variable back to original
value;
Author: tsoome
Date: Sun Apr 7 11:48:41 2019
New Revision: 345998
URL: https://svnweb.freebsd.org/changeset/base/345998
Log:
loader: malloc+bzero is calloc
Replace malloc+bzero in module.c with calloc.
MFC after:1w
Modified:
head/stand/common/module.c
Modified: head/stand/comm
Author: tsoome
Date: Sun Apr 7 13:36:17 2019
New Revision: 346007
URL: https://svnweb.freebsd.org/changeset/base/346007
Log:
loader: add file_remove() function to undo file_insert_tail().
346002 did miss the fact that we do not only undo the loadaddr, but also
we need to remove the inser
Author: tsoome
Date: Thu Sep 5 09:04:48 2019
New Revision: 351837
URL: https://svnweb.freebsd.org/changeset/base/351837
Log:
ficl: add uIsGreater word
For some reason we have u< but not u>, fix it.
Modified:
head/stand/ficl/words.c
Modified: head/stand/ficl/words.c
Author: tsoome
Date: Thu Sep 5 15:06:30 2019
New Revision: 351865
URL: https://svnweb.freebsd.org/changeset/base/351865
Log:
ficl: add xemit word
While emit will output one byte on screen, the xemit will output xchar.
See: http://forth-standard.org/standard/xchar/XEMIT
Modified:
he
Author: tsoome
Date: Thu Sep 5 18:07:40 2019
New Revision: 351881
URL: https://svnweb.freebsd.org/changeset/base/351881
Log:
Adjust teken to allow build as part of loader
Building for loader needs specific headers.
Modified:
head/sys/teken/teken.c
Modified: head/sys/teken/teken.c
=
Author: tsoome
Date: Thu Sep 5 22:15:50 2019
New Revision: 351900
URL: https://svnweb.freebsd.org/changeset/base/351900
Log:
loader: use teken teminal emulator for x86 and uefi
Replace mini cons25 emulator with teken, this does enable us proper console
terminal for loader and will make i
Author: tsoome
Date: Fri Sep 6 19:30:23 2019
New Revision: 351959
URL: https://svnweb.freebsd.org/changeset/base/351959
Log:
loader.efi: UEFI text mode background colors are only using 3 bits
Need to mask background colors to pass allowed value.
Modified:
head/stand/efi/libefi/efi_conso
Author: tsoome
Date: Sun Sep 8 19:39:45 2019
New Revision: 352032
URL: https://svnweb.freebsd.org/changeset/base/352032
Log:
loader: --gc-sections needs sections to work with
--gc-sections is not really useful unless we generate sections with
-ffunction-sections -fdata-sections
Whil
Author: tsoome
Date: Sun Sep 8 19:54:28 2019
New Revision: 352037
URL: https://svnweb.freebsd.org/changeset/base/352037
Log:
remove leftover zfsloader directory
It really is empty.
Deleted:
head/stand/i386/zfsloader/
___
svn-src-head@freebsd.o
Author: tsoome
Date: Tue Sep 10 21:53:42 2019
New Revision: 352195
URL: https://svnweb.freebsd.org/changeset/base/352195
Log:
loader: vidconsole should set LINES and COLUMNS
Set LINES and COLUMNS based on terminal dimensions.
Modified:
head/stand/i386/libi386/vidconsole.c
head/stand/i3
Author: tsoome
Date: Mon Sep 16 20:26:53 2019
New Revision: 352420
URL: https://svnweb.freebsd.org/changeset/base/352420
Log:
loader_4th: scan_buffer can leave empty string on stack
When the file processing is done, we will have string with lenght 0 in stack
and we will attempt to
alloca
Author: tsoome
Date: Mon Sep 16 20:28:08 2019
New Revision: 352421
URL: https://svnweb.freebsd.org/changeset/base/352421
Log:
loader: Malloc(0) should return NULL.
We really should not allocate anything with size 0.
Modified:
head/stand/libsa/zalloc_malloc.c
Modified: head/stand/libsa/z
Author: tsoome
Date: Tue Sep 17 09:47:35 2019
New Revision: 352439
URL: https://svnweb.freebsd.org/changeset/base/352439
Log:
loader: factor out guard location setup from Realloc
To simplify and make it easier to read, use ga_Bytes field from guard
structure.
Modified:
head/stand/libsa
Author: tsoome
Date: Tue Sep 17 11:35:53 2019
New Revision: 352443
URL: https://svnweb.freebsd.org/changeset/base/352443
Log:
loader: cstyle cleanup libsa zalloc sources
Clean up libstand zalloc* sources. Note that it is not 100% whitespace
cleanup.
I also reduced block in znalloc and zf
Author: tsoome
Date: Tue Sep 17 13:07:02 2019
New Revision: 352444
URL: https://svnweb.freebsd.org/changeset/base/352444
Log:
loader: stand.h should define reallocf as Reallocf
Use the same approach as other zalloc functions.
Modified:
head/stand/libsa/stand.h
Modified: head/stand/libsa
1 - 100 of 447 matches
Mail list logo