From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mx.groups.io with SMTP id smtpd.web12.15980.1629060840499352776 for ; Sun, 15 Aug 2021 13:54:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iC/JfMMV; spf=pass (domain: gmail.com, ip: 209.85.221.54, mailfrom: pedro.falcato@gmail.com) Received: by mail-wr1-f54.google.com with SMTP id r7so20935914wrs.0 for ; Sun, 15 Aug 2021 13:54:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=N+YZKSAY0TdHo4RG9naZN3JMhqIjh8b8cOgYN5QrQr8=; b=iC/JfMMVqZXNTfvrkoHAXcNzjKxrxwGcTwtsX3x+YVphV8Rj2sbBBZmMJQdDCawi8y gHAe/Vz3CHaoVNrU5D8b+3CdWiF+/8AdAjHmbYY9PYXvQI0NMCCWxzrmikm8W7IXGr96 PZHgd34Oke1FglXXYOlys4I0ElrNwat5xKRdO7VgQs3Ki6ge2lbA/MJlXzb1nVWbxa/6 S/y4AItDELMTEy1ar6S00r6TFeFgfjEchfmPW4Bo710afKbiJFl91Nc56Nj+rfhHE9o3 nAAHLEsWqXH8/LgkT7DWG+JkMlz1iX3oTP6HdVj9j1B0Hywgszu6cOYTVMraANeTTm2k wD+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=N+YZKSAY0TdHo4RG9naZN3JMhqIjh8b8cOgYN5QrQr8=; b=VeXbi7rwoWsumlCi78aPB3BZ5MUhNpyy87G8hv3CVBdDZR7z2yGhGrZIdkmuKEXLe5 F8Xo3N6PFIw8YNL/SwA6y4dZFsNDyOD8I1wzG+u7qKEKzjhdME7j31N+wSB4mHiPAXZr zimXY18j/o2VQmjT65xbhKD3QgTSU0mtvplFMpDzGCMHqzF9e0n4KWOB4o2+MK4aO5yv KinOkYbpbmOo4sO8zpLIEkC2TxY5MjWt8ocDb2qaY7uSDjXvtIyurBmNbSJsPp2+h87V igdMjwpYHqRdc5jsnz1aUpUJTfjX1PyHEsNDfHJ5ylLvsYAT5knBkUyiRc72Y9I94OHW iG6g== X-Gm-Message-State: AOAM531lXksEg9cTvi+XevbWLKKIPgOMQqqczhxP+SEruUCSw+dUBkk0 ZCcMe9amsl8V3zzM0N8eQKFMHUXIPF6yAkpU X-Google-Smtp-Source: ABdhPJyu7r79HLQjo3aMV1V1NASqElXjW0dtQC+vY0BQVL5DjqgHeaI4kWJRCHqs5repa6a3fMcQQA== X-Received: by 2002:a5d:65c2:: with SMTP id e2mr2861728wrw.191.1629060838794; Sun, 15 Aug 2021 13:53:58 -0700 (PDT) Return-Path: Received: from localhost.localdomain (bl8-253-151.dsl.telepac.pt. [85.241.253.151]) by smtp.gmail.com with ESMTPSA id e3sm9809653wrv.65.2021.08.15.13.53.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Aug 2021 13:53:58 -0700 (PDT) From: "Pedro Falcato" To: devel@edk2.groups.io Cc: Pedro Falcato , Leif Lindholm , Michael D Kinney , Bret Barkelew Subject: [Patch v3 0/3] Ext4Pkg: Add Ext4Pkg Date: Sun, 15 Aug 2021 21:51:35 +0100 Message-Id: <20210815205138.99215-1-pedro.falcato@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch-set adds Ext4Pkg, a package designed to hold various drivers and utilities related to the EXT4 filesystem. Right now, it holds a single read-only UEFI EXT4 driver (Ext4Dxe), which consumes the DISK_IO, BLOCK_IO and DISK_IO2 protocols and produce EFI_FILE_PROTOCOL and EFI_SIMPLE_FILE_SYSTEM_PROTOCOL; this driver allows the mounting of EXT4 partitions and the reading of their contents. A relevant RFC discussion, which includes a more in-depth walkthrough of EXT4 internals and driver limitations is available at https://edk2.groups.io/g/devel/topic/84368561. This patch set is version 3 and attempts to address issues raised by the community in v2's code review. Cc: Leif Lindholm Cc: Michael D Kinney Cc: Bret Barkelew Pedro Falcato (3): Ext4Pkg: Add Ext4Pkg.dec and Ext4Pkg.uni. Ext4Pkg: Add Ext4Dxe driver. Ext4Pkg: Add .DSC file. Features/Ext4Pkg/Ext4Dxe/BlockGroup.c | 228 ++++++ Features/Ext4Pkg/Ext4Dxe/Collation.c | 173 +++++ Features/Ext4Pkg/Ext4Dxe/Crc16.c | 75 ++ Features/Ext4Pkg/Ext4Dxe/Crc32c.c | 84 ++ Features/Ext4Pkg/Ext4Dxe/Directory.c | 498 ++++++++++++ Features/Ext4Pkg/Ext4Dxe/DiskUtil.c | 113 +++ Features/Ext4Pkg/Ext4Dxe/Ext4Disk.h | 453 +++++++++++ Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.c | 808 +++++++++++++++++++ Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.h | 1038 +++++++++++++++++++++++++ Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.inf | 149 ++++ Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.uni | 15 + Features/Ext4Pkg/Ext4Dxe/Extents.c | 595 ++++++++++++++ Features/Ext4Pkg/Ext4Dxe/File.c | 787 +++++++++++++++++++ Features/Ext4Pkg/Ext4Dxe/Inode.c | 465 +++++++++++ Features/Ext4Pkg/Ext4Dxe/Partition.c | 125 +++ Features/Ext4Pkg/Ext4Dxe/Superblock.c | 297 +++++++ Features/Ext4Pkg/Ext4Pkg.dec | 17 + Features/Ext4Pkg/Ext4Pkg.dsc | 68 ++ Features/Ext4Pkg/Ext4Pkg.uni | 14 + 19 files changed, 6002 insertions(+) create mode 100644 Features/Ext4Pkg/Ext4Dxe/BlockGroup.c create mode 100644 Features/Ext4Pkg/Ext4Dxe/Collation.c create mode 100644 Features/Ext4Pkg/Ext4Dxe/Crc16.c create mode 100644 Features/Ext4Pkg/Ext4Dxe/Crc32c.c create mode 100644 Features/Ext4Pkg/Ext4Dxe/Directory.c create mode 100644 Features/Ext4Pkg/Ext4Dxe/DiskUtil.c create mode 100644 Features/Ext4Pkg/Ext4Dxe/Ext4Disk.h create mode 100644 Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.c create mode 100644 Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.h create mode 100644 Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.inf create mode 100644 Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.uni create mode 100644 Features/Ext4Pkg/Ext4Dxe/Extents.c create mode 100644 Features/Ext4Pkg/Ext4Dxe/File.c create mode 100644 Features/Ext4Pkg/Ext4Dxe/Inode.c create mode 100644 Features/Ext4Pkg/Ext4Dxe/Partition.c create mode 100644 Features/Ext4Pkg/Ext4Dxe/Superblock.c create mode 100644 Features/Ext4Pkg/Ext4Pkg.dec create mode 100644 Features/Ext4Pkg/Ext4Pkg.dsc create mode 100644 Features/Ext4Pkg/Ext4Pkg.uni -- 2.32.0