Project

General

Profile

Actions

Feature #9854

closed

uts: add type for early boot properties

Added by Toomas Soome over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2018-09-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

In early start and current code we build properties as <name, byte stream> pair and to create the DDI properties in uts/i86pc/os/ddi_impl.c:get_boot_properties() by identifying them by name and attaching the type (as is).

The core of the change is to create typed BOP properties. The most visible result is that we simplify the DDI property setup. If or in what extent we should implement the value validation - I would leave that for future updates. For testing - so far I have not seen any unexpected behavior regarding to properties.

Actions #1

Updated by Toomas Soome over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk over 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit dd891561fb3e50f856d7d730f22a12cc1db51788

commit  dd891561fb3e50f856d7d730f22a12cc1db51788
Author: Toomas Soome <tsoome@me.com>
Date:   2018-10-25T16:01:27.000Z

    9854 uts: add type for early boot properties
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Reviewed by: John Howard <Echosoft.LLC@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF