The NetBSD Project

CVS log for src/sys/arch/x86/x86/Attic/efi.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / x86 / x86

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.11.6.2: download - view: text, markup, annotated - select for diffs
Wed Feb 22 19:24:59 2023 UTC (20 months, 1 week ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.11.6.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.6.1: +3 -3 lines
Pull up following revision(s) (requested by riastradh in ticket #1799):

	sys/arch/x86/x86/efi_machdep.c: revision 1.3
	(applied to sys/arch/x86/x86/efi.c)

x86/efi: Print uuids in slightly more standard notation.

Anyone need a spare hyphen?  We had a few extras, apparently.

Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Wed Feb 22 19:20:45 2023 UTC (20 months, 1 week ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +3 -3 lines
Pull up following revision(s) (requested by riastradh in ticket #1603):

	sys/arch/x86/x86/efi_machdep.c: revision 1.3
	(applied to sys/arch/x86/x86/efi.c)

x86/efi: Print uuids in slightly more standard notation.

Anyone need a spare hyphen?  We had a few extras, apparently.

Revision 1.23
Tue Aug 30 11:03:36 2022 UTC (2 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
FILE REMOVED
Changes since revision 1.22: +2 -2 lines
x86: Rename x86/efi.c -> x86/efi_machdep.c.

Avoid collision with dev/efi.c.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Oct 7 12:52:27 2021 UTC (3 years ago) by msaitoh
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +10 -10 lines
KNF. No functional change.

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:11 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +10 -26 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Dec 10 02:06:07 2019 UTC (4 years, 10 months ago) by manu
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -16 lines
Add multiboot 2 support to amd64 kernel

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Oct 18 00:56:25 2019 UTC (5 years ago) by manu
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +10 -12 lines
Fix EFI system table mapping in virtual space

Previous version was annoted as untested, and indeed it did not work.
New version uses the same approach as for ACPI table mapping.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:53 2019 UTC (5 years, 4 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +26 -11 lines
Sync with HEAD

Revision 1.14.4.3: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:45 2018 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.14.4.2: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.4.2: +6 -2 lines
Sync with HEAD, resolve a few conflicts

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Dec 3 19:46:43 2018 UTC (5 years, 11 months ago) by cherry
Branches: MAIN
CVS tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -2 lines
Do not assume that all uses of efi are pci aware.

Allow efi.c to compile in the case where pci is not enabled.

Revision 1.14.4.2: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:28 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.14.4.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.4.1: +22 -11 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Nov 15 16:58:56 2018 UTC (5 years, 11 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-1126
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
No need to write any initializer here, casted or otherwise.

(Sorry about the build breakage; thanks, kre!)

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:20:59 2018 UTC (5 years, 11 months ago) by kre
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4 lines

Update signature in prototype of efi_relva() to match
change in definition in previous, and explicitly cast
NULL to paddr_t to avoid gcc noise.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Nov 15 04:59:02 2018 UTC (5 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +21 -10 lines
Make the direct-map API always available, but fail if KASAN or rump.

(Only for architectures that support it at all; on others,
__HAVE_MM_MD_DIRECT_MAPPED_PHYS/IO are still undefined and the
functions unimplemented.)

This gives modules like zfs an opportunity to use it.

While here, fix the one caller of mm_md_direct_mapped_phys that
ignored the return value (and make sure to call pmap_kremove/update
before uvm_km_free).

Revision 1.11.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 7 15:52:54 2018 UTC (6 years, 4 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -2 lines
Pull up following revision(s) (requested by jakllsch in ticket #832):

	sys/dev/pci/pcivar.h: revision 1.112
	sys/dev/pci/pci_map.c: revision 1.34,1.35
	sys/arch/x86/x86/efi.c: revision 1.15

Enable the appropriate memory or I/O space decode in the PCI
Command/Status Register upon mapping a BAR.

This should fix PR #53286.  It's also possible there are other similar
PRs that might be fixed by this.
 -
Refine previous change to enable PCI window decoding in Command
Register upon mapping; conditionalize on a global variable, that is set
to true on x86 machines booting under EFI.

For now, initialize the global variable at compile time to false.  This
is intended to limit potential problems for other NetBSD ports, should
this changeset be pulled up to netbsd-8.

Related to PR #53286.

Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:03 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -2 lines
Sync with HEAD

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat May 19 17:18:57 2018 UTC (6 years, 5 months ago) by jakllsch
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -2 lines
Refine previous change to enable PCI window decoding in Command
Register upon mapping; conditionalize on a global variable, that is set
to true on x86 machines booting under EFI.

For now, initialize the global variable at compile time to false.  This
is intended to limit potential problems for other NetBSD ports, should
this changeset be pulled up to netbsd-8.

Related to PR #53286.

Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:50 2017 UTC (6 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.1: +549 -0 lines
update from HEAD

Revision 1.14.2.1
Sun Oct 22 01:29:26 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.14: +0 -549 lines
file efi.c was added on branch tls-maxphys on 2017-12-03 11:36:50 +0000

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Oct 22 01:29:26 2017 UTC (7 years ago) by maya
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: tls-maxphys, pgoyette-compat
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -3 lines
Add sysctl machdep.bootmethod

either "UEFI" or "BIOS" to mimic freebsd

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Oct 22 00:59:28 2017 UTC (7 years ago) by maya
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +18 -7 lines
Move initialization code out of efi_probe into efi_init

and call it from cpu_configure

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Oct 22 00:45:32 2017 UTC (7 years ago) by maya
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -6 lines
more static

Revision 1.2.2.6: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:56 2017 UTC (7 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.5: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.5: +238 -51 lines
Sync with HEAD

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:39 2017 UTC (7 years, 6 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +297 -45 lines
Sync with HEAD

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:22 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +297 -45 lines
Sync with HEAD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Mar 11 07:21:10 2017 UTC (7 years, 7 months ago) by nonaka
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +10 -18 lines
search SMBIOS from UEFI configuration table when boot with UEFI.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Feb 23 12:17:36 2017 UTC (7 years, 8 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +146 -34 lines
Avoid panic when amd64 kernel is booted from 32bit UEFI.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Feb 16 03:53:20 2017 UTC (7 years, 8 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -3 lines
Quell maybe-uninitialized false positives from gcc -Os.

reported by John D. Baker at current-users@.
http://mail-index.netbsd.org/current-users/2017/02/15/msg031132.html

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Feb 14 13:29:09 2017 UTC (7 years, 8 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +7 -3 lines
Handle persistent memory. Currently only debug output.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Feb 14 13:23:50 2017 UTC (7 years, 8 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +81 -2 lines
x86: make btinfo_memmap from btinfo_efimemmap for to reduce mem_cluster_cnt.

should fix PR/51953.

Revision 1.2.2.5: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:23 2017 UTC (7 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.4: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.4: +71 -7 lines
Sync with HEAD

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jan 26 01:35:51 2017 UTC (7 years, 9 months ago) by nonaka
Branches: MAIN
CVS tags: nick-nhusb-base-20170204
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
Fix compile failure on i386 with PAE.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jan 24 11:09:14 2017 UTC (7 years, 9 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +69 -5 lines
Initial commit of native amd64 EFI boot loader.

Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:37 2016 UTC (8 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.3: +4 -4 lines
Sync with HEAD

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Aug 24 10:27:23 2016 UTC (8 years, 2 months ago) by nonaka
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4 lines
fix incorrect check in efi_getcfgtblhead().

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:24:59 2016 UTC (8 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +4 -4 lines
Sync with HEAD

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jun 10 07:50:15 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4 lines
Add missing \n (I triggered the systbl message on a qemu virtual machine!)

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:07 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +287 -0 lines
Sync with HEAD

Revision 1.2.2.1
Fri Jan 29 02:40:22 2016 UTC (8 years, 9 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.2: +0 -287 lines
file efi.c was added on branch nick-nhusb on 2016-03-19 11:30:07 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jan 29 02:40:22 2016 UTC (8 years, 9 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Branch point for: nick-nhusb
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -9 lines
fix printf formats

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Jan 28 01:09:56 2016 UTC (8 years, 9 months ago) by christos
Branches: MAIN
Add support for grub to find the ACPI root table pointer via a bootinfo entry
from grub.
    From: https://mail-index.netbsd.org/tech-kern/2014/05/22/msg017119.html

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>