Fix some issues with symbol table detection on Xen PVH:
- the stack grows down so the last pushed value is at 0(%esp), not -4(%esp).
Pointed out by Joachim Kuebart.
- 0x3fffffff is 1GB-1, not 1MB-1. Test the symtab size against 16MB
(amd64 generic symbol table is just above 1MB these days)
- I got confused by cmp's arguments order between intel and gas syntax,
so the tests did the opposite of intended and the symtab was always
considered valid.
While there use unsigned conditions.
Should fix booting in PVH mode with netbsd-INSTALL (which is stripped)
G/C dummy FDT_PLATFORM to fix NULL-dereference crash during boot
observed for official test suite runs for aarch64 and riscv64.
This became apparent with link-order change due to FDT refactoring.
Need to pull up to netbsd-11.
switch everyone to gcc.old by default.
in my testing, tools/gcc notices and cleans itself automatically and
i am reasonably confident this does not need a UPDATING entry.
Introduce a device call "device-is-system-todr", which allows the
platform device tree to be consulted if there are multiple TODR / RTC
devices present on the system; if the call is not supported, the behavior
is un-changed: the first TODR device is attached, all others ignored. If
the call is supported, devices other than the specified system TODR are
skipped.
Implement this device call for FDT.
kern/59630
Change todr_chip_handle::cookie -> todr_chip_handle::todr_dev, and
make it a device_t. Upcoming functional changes will require the
device_t associated with a TODR device.
Change todr_chip_handle::bus_cookie -> todr_chip_handle::todr_devaux.
Nothing was using the old field, but I decided to keep it around just
in cause something needs it in the future.
And with these largely mechanical yet semantically meaningful changes,
thus spake the Oracle: "Welcome to NetBSD 11.99.2."
Pull up following revision(s) (requested by thorpej in ticket #27):
share/examples/devpubd/hooks/99-ugen-perms-minipro: revision 1.2
Update for newer "minipro" programmers:
- T48 / T56 use the same USB VID/PID as the TL866II+.
- Add the T76 USB VID/PID.