{"id":880,"date":"2025-02-09T17:54:22","date_gmt":"2025-02-09T08:54:22","guid":{"rendered":"https:\/\/txn.myds.me\/blog\/?p=880"},"modified":"2025-02-09T17:54:22","modified_gmt":"2025-02-09T08:54:22","slug":"edk2-%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e5%85%a5%e5%87%ba%e5%8a%9b","status":"publish","type":"post","link":"https:\/\/blog.txn.red\/?p=880","title":{"rendered":"edk2 \u30d5\u30a1\u30a4\u30eb\u5165\u51fa\u529b"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Mikan \u672c\u306b\u6cbf\u3044\u306a\u304c\u3089\u52dd\u624b\u306b\u4f5c\u3063\u3066\u3044\u304f\u30b7\u30ea\u30fc\u30ba\u306e\u7d9a\u304d\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u524d\u56de\u307e\u3067\u3067\u6587\u5b57\u5217\u3092\u8868\u793a\u3059\u308b Hello world \u304c\u3067\u304d\u305f\u306e\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u5165\u51fa\u529b\u3092\u3084\u3063\u3066\u3044\u304f\u306e\u304c\u3044\u3044\u3060\u308d\u3046\u3068\u3044\u3046\u3053\u3068\u3067\u3084\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">UEFI \u8d77\u52d5\u306e\u6bb5\u968e\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u5165\u51fa\u529b\u304c\u3067\u304d\u308c\u3070\u3001\u30ab\u30fc\u30cd\u30eb\u3092\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u3092\u66f8\u304d\u8fbc\u3093\u3060\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u53d6\u308b\u3053\u3068\u306a\u3093\u304b\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u306f\u305a\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mikan \u672c\u3067\u306f\u3001\u30e1\u30e2\u30ea\u30de\u30c3\u30d7\u3092\u4f5c\u6210\u3057\u3066 memfile? \u3060\u3063\u305f\u304b\u306e\u4e00\u6642\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u3093\u3067\u3044\u308b\u304c\u3001\u30c7\u30d0\u30c3\u30b0\u7528\u9014\u3067\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u51fa\u3057\u305f\u3044\u3053\u3068\u3082\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u306e\u3067\u30d5\u30a1\u30a4\u30eb IO \u3092\u3084\u3063\u3066\u304a\u3044\u3066\u60aa\u3044\u3053\u3068\u306f\u306a\u3044\u3060\u308d\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"%25e3%2583%2595%25e3%2582%25a1%25e3%2582%25a4%25e3%2583%25ab%25e6%25a7%258b%25e6%2588%2590\">\u30d5\u30a1\u30a4\u30eb\u69cb\u6210<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>edk2 \u30d5\u30a9\u30eb\u30c0\n<ul class=\"wp-block-list\">\n<li>Hello2Pkg \u30d5\u30a9\u30eb\u30c0\n<ul class=\"wp-block-list\">\n<li>Hello2.inf<\/li>\n\n\n\n<li>Hello2Pkg.dec<\/li>\n\n\n\n<li>Hello2Pkg.dsc<\/li>\n\n\n\n<li>Main.c<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>mnt \u30d5\u30a9\u30eb\u30c0<\/li>\n\n\n\n<li>disk.img<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u7d42\u7684\u306a\u30c4\u30ea\u30fc\u69cb\u9020\u306f\u4e0a\u306e\u3088\u3046\u306a\u611f\u3058\u306b\u306a\u308b\u3001disk.img \u306f qeum-img \u3067\u4f5c\u6210\u3057\u305f\u30a4\u30e1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u3053\u3053\u306b\u30d3\u30eb\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3057\u3066 qemu \u3067\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Main.c \u306f\u30d5\u30a1\u30a4\u30eb\u8aad\u307f\u66f8\u304d\u306e\u51e6\u7406\u304c\u5165\u308b\u306e\u3067\u307b\u3068\u3093\u3069\u539f\u578b\u3092\u3068\u3069\u3081\u3066\u3044\u306a\u3044\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-c\" data-file=\"Main.c\" data-lang=\"C\"><code>#include &lt;Uefi.h&gt;\n#include &lt;Library\/UefiLib.h&gt;\n#include &lt;Protocol\/SimpleFileSystem.h&gt;\n#include &lt;Library\/MemoryAllocationLib.h&gt;\n\n\/\/ A: GetInfo() \u3067\u4ed5\u69d8\n\/\/#include &lt;Guid\/FileInfo.h&gt;\n\/\/#include &lt;Guid\/FileSystemInfo.h&gt;\n\n\nEFI_STATUS\nEFIAPI\nUefiMain(\n    IN EFI_HANDLE ImageHandle,\n    IN EFI_SYSTEM_TABLE *SystemTable\n)\n{\n    EFI_STATUS Status;\n    EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *FileSystem;\n    EFI_FILE_PROTOCOL *Root;\n    EFI_FILE_PROTOCOL *File;\n    CHAR16 *FileName = L&quot;\\\\test.txt&quot;;\n\n    \/\/ Load Protocol\n    Status = SystemTable-&gt;BootServices-&gt;LocateProtocol(\n        &gEfiSimpleFileSystemProtocolGuid,\n        NULL,\n        (VOID**)&FileSystem\n    );\n    if (EFI_ERROR(Status)) {\n        Print(L&quot;faile: locate file system protocol\\n&quot;);\n        return Status;\n    }\n\n    Status = FileSystem-&gt;OpenVolume(FileSystem, &Root);\n    if (EFI_ERROR(Status)) {\n        Print(L&quot;faile: open root directory\\n&quot;);\n        return Status;\n    }\n\n\/* B: GetInfo() \u3067\u66f8\u304d\u8fbc\u307f\u53ef\u80fd\u304b\u8abf\u3079\u308b\u3002\u30c7\u30d0\u30c3\u30b0\u3067\u4ed5\u69d8\u3057\u305f\u3002\n    EFI_FILE_SYSTEM_INFO *FSInfo;\n    UINTN FSInfoSize = 0;\n    Status = Root-&gt;GetInfo(\n        Root,\n        &gEfiFileSystemInfoGuid,\n        &FSInfoSize,\n        NULL\n    );\n    if (Status == EFI_BUFFER_TOO_SMALL) {\n        FSInfo = AllocatePool(FSInfoSize);\n        Status = Root-&gt;GetInfo(\n            Root,\n            &gEfiFileSystemInfoGuid,\n            &FSInfoSize,\n            FSInfo\n        );\n        if (!EFI_ERROR(Status)) {\n            Print(L&quot;Volume Label: %s\\n&quot;, FSInfo-&gt;VolumeLabel);\n            Print(L&quot;Read Only: %d\\n&quot;, FSInfo-&gt;ReadOnly);\n            Print(L&quot;Free Space: %d\\n&quot;, FSInfo-&gt;FreeSpace);\n        }\n        FreePool(FSInfo);\n    }\n*\/\n\n\n    CHAR16 *WriteData = L&quot;Hello file system\\n&quot;;\n    UINTN WriteSize = StrLen(WriteData) * sizeof(CHAR16);\n\n    \/\/ create file\n    Status = Root-&gt;Open(\n        Root,\n        &File,\n        FileName,\n        EFI_FILE_MODE_CREATE | EFI_FILE_MODE_WRITE | EFI_FILE_MODE_READ,\n        0\n    );\n    if (EFI_ERROR(Status)) {\n        Print(L&quot;fail: to create file\\n&quot;);\n        Root-&gt;Close(Root);\n        return Status;\n    }\n\n    Status = File-&gt;Write(File, &WriteSize, WriteData);\n    if (EFI_ERROR(Status)) {\n        Print(L&quot;fail: write to file\\n&quot;);\n        File-&gt;Close(File);\n        Root-&gt;Close(Root);\n        return Status;\n    }\n\n    File-&gt;Close(File);\n\n    \/\/ open for read\n    Status = Root-&gt;Open(\n        Root,\n        &File,\n        FileName,\n        EFI_FILE_MODE_READ,\n        0\n    );\n    if (EFI_ERROR(Status)) {\n        Print(L&quot;fail: to open file for reading: %r\\n&quot;, Status);\n        Root-&gt;Close(Root);\n        return Status;\n    }\n\n    \/\/ read\n    CHAR16 buf[128];\n    UINTN ReadSize = sizeof(buf);\n    Status = File-&gt;Read(File, &ReadSize, buf);\n    if (EFI_ERROR(Status)) {\n        Print(L&quot;fail: to read file: %r\\n&quot;, Status);\n        File-&gt;Close(File);\n        Root-&gt;Close(Root);\n        return Status;\n    }\n\n    Print(L&quot;Read from file: %s\\n&quot;,  buf);\n\n    File-&gt;Close(File);\n    Root-&gt;Close(Root);\n\n    return EFI_SUCCESS;\n}\n<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30fc\u30c9\u4e2d\u306e\u30b3\u30e1\u30f3\u30c8A:\u3001B:\u3001\u90e8\u5206\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u4f5c\u6210\u4e2d\u306b\u30d5\u30a1\u30a4\u30eb\u66f8\u304d\u8fbc\u307f\u5931\u6557\u3057\u3066\u3044\u305f\u969b\u306b\u8abf\u67fb\u3057\u305f\u6b8b\u9ab8\u3002\u3053\u3046\u3044\u3046\u3075\u3046\u306b\u3059\u308b\u3068\u958b\u3044\u305f\u30cf\u30f3\u30c9\u30eb\uff1f\u304c\u66f8\u304d\u8fbc\u307f\u53ef\u80fd\u304b\u5c5e\u6027\u3092\u898b\u308c\u308b\u3089\u3057\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hello2.inf \u306f\u3053\u3093\u306a\u611f\u3058\u306b\u306a\u308b\u3002[Guids] \u306e2\u884c\u306f Main.c \u3068\u540c\u3058GetInfo \u3067 gEfiFileSystemInfoGuid \u3092\u4f7f\u3046\u305f\u3081\u306e\u8a18\u8ff0\u3067\u3059\u3002\u30cf\u30a4\u30e9\u30a4\u30c8\u884c\u304c HelloPkg \u304b\u3089\u8ffd\u52a0\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30ebIO \u306e\u70ba\u306b\u8ffd\u52a0\u3057\u305f\u90e8\u5206\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"Hello2.inf\" data-line=\"23,26\"><code>[Defines]\nINF_VERSION     = 0x00010005\nBASE_NAME       = Hello2\nFILE_GUID       = BA807105-6F81-4BB6-ACE5-38FB4480C2A5\nMODULE_TYPE     = UEFI_APPLICATION\nVERSION_STRING  = 0.0.1\nENTRY_POINT     = UefiMain\n\n[Sources]\nMain.c\n\n[Guids]\n# gEfiFileInfoGuid\n# gEfiFileSystemInfoGuid\n\n[Packages]\nMdePkg\/MdePkg.dec\nHello2Pkg\/Hello2Pkg.dec\n\n[LibraryClasses]\nUefiLib\nUefiApplicationEntryPoint\nMemoryAllocationLib\n\n[Protocols]\ngEfiSimpleFileSystemProtocolGuid\n<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Hello2Pkg.dec \u306e\u65b9\u306f\u5909\u308f\u3089\u306a\u3044\u3002\uff08Inlucde \u30d5\u30a9\u30eb\u30c0\u3092\u4f7f\u3063\u3066\u3044\u306a\u3044\u306e\u3067 [Includes] \u306e\u884c\u306f\u524a\u9664\u3057\u3066\u3057\u307e\u3063\u305f\u3002\uff09<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"Hello2Pkg.dec\"><code>C_SPECIFICATION   = 0x00010005\nPACKAGE_NAME        = Hello2Pkg\nPACKAGE_GUID        = 6FA2CBDB-9033-491F-B17C-58CB2EB69CD9\nPACKAGE_VERSION     = 0.0.1\n\n[Includes]\n\n[Guids]\n\n[Protocols]\n\n[PcdsFixedAtBuild]\n<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Hello2Pkg.\uff44\uff53\uff43 \u30d5\u30a1\u30a4\u30eb\u306e\u65b9\u3082\u5909\u66f4\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"Hello2Pkg.dsc\"><code>[Defines]\nPLATFORM_NAME           = Hello2Pkg\nPLATFORM_GUID           = 43B8BF63-3328-4A67-83C5-57EA4FAF43DA\nPLATFORM_VERSION        = 0.0.1\nDSC_SPECIFICATION       = 0x00010005\nOUTPUT_DIRECTORY        = Build\/Hello2Pkg\nSUPPORTED_ARCHITECTURES = X64\nBUILD_TARGETS           = DEBUG | RELEASE | NOOPT\nSKUID_IDENTIFIER        = DEFAULT\n\n[LibraryClasses]\nUefiApplicationEntryPoint|MdePkg\/Library\/UefiApplicationEntryPoint\/UefiApplicationEntryPoint.inf\nUefiLib|MdePkg\/Library\/UefiLib\/UefiLib.inf\n\n\nBaseLib|MdePkg\/Library\/BaseLib\/BaseLib.inf\nBaseMemoryLib|MdePkg\/Library\/BaseMemoryLib\/BaseMemoryLib.inf\nDebugLib|MdePkg\/Library\/BaseDebugLibNull\/BaseDebugLibNull.inf\nDevicePathLib|MdePkg\/Library\/UefiDevicePathLib\/UefiDevicePathLib.inf\nMemoryAllocationLib|MdePkg\/Library\/UefiMemoryAllocationLib\/UefiMemoryAllocationLib.inf\nPcdLib|MdePkg\/Library\/BasePcdLibNull\/BasePcdLibNull.inf\nPrintLib|MdePkg\/Library\/BasePrintLib\/BasePrintLib.inf\nRegisterFilterLib|MdePkg\/Library\/RegisterFilterLibNull\/RegisterFilterLibNull.inf\nUefiBootServicesTableLib|MdePkg\/Library\/UefiBootServicesTableLib\/UefiBootServicesTableLib.inf\nUefiRuntimeServicesTableLib|MdePkg\/Library\/UefiRuntimeServicesTableLib\/UefiRuntimeServicesTableLib.inf\n\n[Components]\nHello2Pkg\/Hello2.inf\n<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d3\u30eb\u30c9\u306f\u3001\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u624b\u304f\u52d5\u304f\u3068\u3001test.txt \u304c\u30a4\u30e1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4f5c\u6210\u3055\u308c\u3001QEMU \u306e\u753b\u9762\u306b test.txt \u304b\u3089\u8aad\u307f\u8fbc\u3093\u3060 Hello file system\\n \u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">test.txt \u304c\u5b58\u5728\u3059\u308b\u72b6\u614b\u3067\u5b9f\u884c\u3057\u3066\u3082\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u76f4\u3057\u3066\u3044\u308b\u306e\u304b\u30d5\u30a1\u30a4\u30eb\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u306f\u66f4\u65b0\u3055\u308c\u3066\u554f\u984c\u306a\u304f\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ cd edk2\n$ build -p Hello2Pkg\/Hello2Pkg.dsc\n$ cd ..\n\n# \u30a4\u30e1\u30fc\u30b8\u30c7\u30a3\u30b9\u30af\u306b\u66f8\u304d\u8fbc\u3080\n$ sudo mount -o loop,uid=$(id -u),gid=$(id -u) disk.img .\/mnt\n$ cp .\/edk2\/Build\/Hello2Pkg\/DEBUG_CLANGDWARF\/X64\/Hello2.efi .\/mnt\/EFI\/BOOT\n$ sudo umount .\/mnt\n\n# QEMU \u3067\u5b9f\u884c\n$ qemu-system-x86_64 \\\n\t\t-drive if=pflash,format=raw,readonly=on,file=edk2\/Build\/OvmfX64\/DEBUG_GCC\/FV\/OVMF_CODE.fd \\\n\t\t-drive if=pflash,format=raw,file=edk2\/Build\/OvmfX64\/DEBUG_GCC\/FV\/OVMF_VARS.fd \\\n\t\t-drive format=raw,file=disk.img\n<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b21\u306f\u30e1\u30e2\u30ea\u30de\u30c3\u30d7\u306e\u4f5c\u6210\u3068\u30ab\u30fc\u30cd\u30eb\u306e\u30ed\u30fc\u30c9\u306b\u3059\u3059\u3093\u3067\u884c\u304d\u305f\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mikan \u672c\u3067\u306f\u3001\u30ab\u30fc\u30cd\u30eb\u30ed\u30fc\u30c9\u524d\u306b\u3001UEFI \u306e\u30b5\u30fc\u30d3\u30b9\u3092\u505c\u6b62\u3059\u308b\u306e\u3067\u3001\u30ab\u30fc\u30cd\u30eb\u8d77\u52d5\u5f8c\u306f UEFI \u306e\u6a5f\u80fd\u306f\u4e00\u5207\u4f7f\u3048\u306a\u304f\u306a\u308b\u3002\u30ed\u30fc\u30c9\u6642\u306b\u753b\u9762\u306e\u30d5\u30ec\u30fc\u30e0\u30d0\u30c3\u30d5\u30a1\u3092\u76f4\u63a5\u6e21\u3057\u3066\u3001\u753b\u9762\u306e\u63cf\u753b\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002\u30d3\u30c7\u30aa\u30ab\u30fc\u30c9\u306e\u30c9\u30e9\u30a4\u30d0\u304c\u306a\u3044\u4ee5\u4e0a\u305d\u3046\u3059\u308b\u3057\u304b\u306a\u3044\u3093\u3060\u3088\u306a\u3002\u304d\u3063\u3068\u3002<br>\u3053\u306e\u72b6\u614b\u3067\u306f\u6587\u5b57\u5217\u8868\u793a\u3055\u3048\u81ea\u524d\u3067\u4f5c\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u306a\u304b\u306a\u304b OS \u3063\u3066\u5927\u5909\u3060\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mikan \u672c\u306b\u6cbf\u3044\u306a\u304c\u3089\u52dd\u624b\u306b\u4f5c\u3063\u3066\u3044\u304f\u30b7\u30ea\u30fc\u30ba\u306e\u7d9a\u304d\u3067\u3059\u3002 \u524d\u56de\u307e\u3067\u3067\u6587\u5b57\u5217\u3092\u8868\u793a\u3059\u308b Hello world \u304c\u3067\u304d\u305f\u306e\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u5165\u51fa\u529b\u3092\u3084\u3063\u3066\u3044\u304f\u306e\u304c\u3044\u3044\u3060\u308d\u3046\u3068\u3044\u3046\u3053\u3068\u3067\u3084\u3063\u3066\u3044\u304d\u307e\u3059\u3002 UEFI \u8d77\u52d5\u306e\u6bb5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":1,"footnotes":""},"categories":[9],"tags":[10],"class_list":["post-880","post","type-post","status-publish","format-standard","hentry","category-dev","tag-mikan"],"_links":{"self":[{"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/posts\/880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.txn.red\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=880"}],"version-history":[{"count":0,"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/posts\/880\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.txn.red\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.txn.red\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.txn.red\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}