Commit Graph

58232 Commits

Author SHA1 Message Date
Alexander von Gluck IV
87628f17eb intel_extreme: Add additional more recent PCH devices
Change-Id: Ib9f7dc187300c9f746bca9fd7f721c1954f5be44
2018-06-11 20:34:14 -05:00
Augustin Cavalier
3ad0683efb intel_extreme: Map VBIOS for kernel only.
korli's first suggested change from #14190. Gets past the first KDL,
but not all the way to desktop.
2018-06-11 20:20:34 -04:00
Augustin Cavalier
d22143c84e freebsd11_wlan: Change paths and add new files to Jamfile. 2018-06-11 19:49:46 -04:00
Augustin Cavalier
3c410aba97 freebsd11_wlan: Copy Haiku-specific files from FreeBSD 9 directory.
Again, unmodified.
2018-06-11 19:47:52 -04:00
Augustin Cavalier
293a2cae7a Import FreeBSD 11.1 net80211 core.
Completely unmodified and not wired into anything. Since my Haiku-specific
changes will go through Gerrit, it makes sense to import this first, so that
the diffs are readable.
2018-06-11 19:45:39 -04:00
Augustin Cavalier
8085ed3fec UserTimer: Zero-initialize sigevents.
CID 1234670 and friends. Probably harmless, though.
2018-06-11 18:57:00 -04:00
Augustin Cavalier
a287df1c5b efi: Fix bad mode changes from previous commit. 2018-06-11 17:40:38 -04:00
Jessica Hamilton
86b12d85c7 efi: move various init before call to main().
* With the previous commit, we can now move functions that require
  calling mmu_map_physical_memory to where they should have been
  originally. This also allows the SMP safe mode menu entries to
  be properly generated, now that smp_init is called prior to
  main().

Change-Id: I05ddca5273b11cb4846021664c1ea2cf8ba723b7
2018-06-11 15:17:40 +12:00
Jessica Hamilton
b2d0b3699e efi: redo mmu_map_physical_address to not require allocations.
* mmu_map_physical_address will get called prior to calling main()
  which leaves us without a heap, malloc, and new. Instead, use
  the kernel args physical allocated range array, and then
  convert to our allocated memory region type on-demand.

Change-Id: I265fd165ef7143681e8e40c3686fda1a583c20dc
2018-06-11 15:17:39 +12:00
Augustin Cavalier
8845ad353d bootloader: Update copyright years.
We've definitely changed the bootloader a good amount since 2014.
2018-06-09 22:25:33 -04:00
Augustin Cavalier
98a4ebbe3c efi: Actually add items to safemode menu.
The call to smp_... is not working since it relies on gKernelArgs being
fully initialized, which it isn't at this stage in the EFI loader. Jessica
says that in order to have that happen, the heap would also need to be
initialized early, which it also is not.

At least you can now force a safe videomode, which is enough for me to
be able to test video drivers.
2018-06-09 22:21:21 -04:00
Andrew Lindesay
a9edb9bffa HaikuDepot: Multiple improvements for user-ratings
* Display of the user-ratings listing improved
* When a user-rating is created / edited, the pkg is updated
* Creation date of the user-rating is unpacked shown
* Ability to create a user-rating with a comment, but no numerical rating
* Stars display show grey if no numerical rating present
* Improvements to error reporting when problem arise
* Parsing of the 'revision' field of the version working
* Removed debug logging for the text engine
* Other minor tweaks

Change-Id: I99f881ab1426641ef4177eec2d3bcacc7cb74e95
2018-06-09 17:07:03 +00:00
Augustin Cavalier
466255e324 freebsd11_network: Add definition missing from previous commit. 2018-06-08 21:29:04 +00:00
Augustin Cavalier
800e9d6652 freebsd11_network: More changes for freebsd11_wlan. 2018-06-08 21:03:04 +00:00
Augustin Cavalier
e1c961d028 network: Update comments in Jamfile with respect to ethernet driver upgrades. 2018-06-07 23:26:44 -04:00
Augustin Cavalier
9ac8151269 ipro1000: Delete the old BeOS driver.
"Where we're going, we don't need BeOS drivers..."
2018-06-07 23:09:03 -04:00
Augustin Cavalier
52d1e93353 Revert "intel_extreme: Broadwell is really Gen7(.5), not 8."
This reverts commit 4f059c1fc5.

From discussion on the mailing list, it seems I was correct the first time
and Broadwell is Gen8. The confusion comes from the SER5/SOC distinction,
which is not in the Linux driver, and I still don't know which one it really
belongs in.
2018-06-05 21:07:59 -04:00
Augustin Cavalier
02cb8503d2 freebsd11_network: Changes and additions for freebsd11_wlan.
There is still a lot to be done, though.
2018-06-05 18:48:02 -04:00
Adrien Destugues
1407e6d7b1 Complete implementation of printer serial transport
- Allow to configure the baudrate (it is set by the printer settings,
  but the transport didn't care)
- Implement reading from the serial port (some printers will need us to
  poll the status and the like, as there is usually no hardware flow
  control)

Change-Id: I70ba2566595d5dfa5eda3d518614db6514cb2398
2018-06-05 21:44:14 +00:00
Augustin Cavalier
4f059c1fc5 intel_extreme: Broadwell is really Gen7(.5), not 8. 2018-06-05 17:27:45 +00:00
Jérôme Duval
bdd7dae89c kernel/x86_64: add a compatibility syscalls table.
* install syscall handlers in compatibility mode.
* copy the syscall entry in the compatibility commpage, ATM only for Intel
SYSENTER.
* copy the thread exit handler in the compatibility commpage.

Change-Id: Ic350799938815194377d8a4560cb106fe7366cc6
2018-06-05 17:13:08 +00:00
Jérôme Duval
0d1e94a465 mount_server: restore automount notification.
Fix #14149.
2018-06-04 22:58:47 +02:00
Jérôme Duval
8088f452ff efi: fix loader build. 2018-06-03 18:14:32 +02:00
Jérôme Duval
379d232693 net80211: fix ieee80211_node_dectestref().
* sync with FreeBSD.
* implement atomic_cmpset_int() with atomic_test_and_set().
2018-05-31 19:19:50 +00:00
Jérôme Duval
499712a9ec device_manager: IORequest: use user_memcpy() to access a user buffer.
* should fix #14164, but the case can't be reproduced easily it seems.

Change-Id: I636db93cc1efe2784b2530dced6a900fbfe3dce8
2018-05-31 11:55:18 +00:00
Augustin Cavalier
92875838d6 WebPositive: Remove now-uneeded -std=, disable Wformat-truncation.
Same case as last commit.
2018-05-28 20:46:44 -04:00
Augustin Cavalier
1011a95a7c Icon-O-Matic: Remove some dead code.
This caused -Wformat-overflow (but only if -ftree-vrp was enabled,
which at present we disable it universally.)
2018-05-28 20:45:48 -04:00
Jérôme Duval
9e75e900da kernel: use non-deprecated signatures for new/delete operators.
add posix_memalign(), needed for c++17.
2018-05-28 20:49:15 +02:00
Jérôme Duval
b3e749b0c1 kernel,libroot,boot: remove c++11 and gnu++11 flags.
* c++14 is the default with current GCC
* remove pragmas for x86intrin.h
2018-05-28 18:54:22 +02:00
Jérôme Duval
8e4aa13350 console: use user_memcpy to read the user buffer. 2018-05-26 15:52:37 +02:00
Jérôme Duval
57aac99526 nforce: sync with FreeBSD 11.1. 2018-05-26 13:52:40 +02:00
Jérôme Duval
2df44799a5 rdc: sync with FreeBSD 11.1. 2018-05-26 13:52:40 +02:00
Autocomitter
6973d22af3 Update translations from Pootle 2018-05-26 08:51:20 +00:00
Automatic committer
5e16931b6c Update translations from Pootle 2018-05-24 06:10:38 +00:00
Augustin Cavalier
053cc0d4fe ape_reader: Properly fix the build under GCC 7.
Since we cannot '#define wchar_t char' anymore, we need to properly
fix the source code to work with char instead.
2018-05-23 18:59:32 -04:00
Adrien Destugues
ca4d9e0f9f ape_reader: build fix.
We support wchar_t now, so don't try to avoid it.
2018-05-23 22:57:25 +02:00
Jérôme Duval
177f5facbf kernel drivers: have timer hooks return B_HANDLED_INTERRUPT.
* 0 means B_UNHANDLED_INTERRUPT.
* uses int32 as return type.
2018-05-23 18:41:35 +02:00
waddlesplash
02a7351fa2 Upgrade to GCC 7. 2018-05-22 21:43:38 -04:00
waddlesplash
1f839e89e6 configure: Rebuild cross-tools if GCC configure is newer than built GCC. 2018-05-22 20:43:11 -04:00
waddlesplash
b87a52803f tests: Fix the build under GCC 7. 2018-05-22 20:43:06 -04:00
waddlesplash
77d1e4fd44 kernel: TARGET_PACKAGING_ARCH not HAIKU_ARCH for present compiler arch.
HAIKU_ARCH is CPU architecture. Sorry for the noise...
2018-05-22 20:41:52 -04:00
waddlesplash
3d5f8b7ccf protocols/unix: Fix build after previous commit. 2018-05-22 19:46:20 -04:00
Adrien Destugues
8bca37d604 vfs: Bind flock locks to file descriptors
* File locks created by flock should only apply for the file descriptor
  that was used to lock the file. Another fd on the same file should then
  be denied access (calling flock should fail).
* fcntl based locks, however, are in a separate namespace and are global
  to a team.
* This issue was found when running webkitpy test suite, and should close
  ticket #13795.
* Don't use session or team as comparison in release_advisory_lock(), as
  that information might not be available anymore (e.g. when called from
  Team::~Team()). This fixes #14121.

Change-Id: I9efb96cfcefe7e72b0060220c635a665e7e643cc
Co-authored-by: Axel Dörfler <axeld@pinc-software.de>
2018-05-22 20:29:21 +00:00
Jérôme Duval
fc48586b9b kernel/libroot: use compiler built-in for rdtsc().
* spares two MOV instructions.
* the warning is fixed upstream:
2bbcec1f88
2018-05-22 17:48:02 +02:00
Augustin Cavalier
3acaf25e8f kernel: Disable rtl-stv1 optimization on GCC 7.
See inline comment and accompanying ticket.
2018-05-21 20:52:11 -04:00
Augustin Cavalier
c5a6b06396 add-ons/print: Disable probably-bogus warnings on GCC 7. 2018-05-21 20:51:23 -04:00
Alexander von Gluck IV
7f167d4f4a radeon_hd/dp: Fix bug in lane training. Kudos gcc7
* GCC7's static analysis found this one and it still
  took #gcc and me a while to spot. Nice work gcc7!
* Should help DisplayPort training issues :-)

Change-Id: I9b47f13c95e622a2c08ff329ec9c3fc7e3db493d
2018-05-21 18:02:32 -05:00
Augustin Cavalier
66e852769e VSTHost: Fix the build on GCC 7.
rename round -> vstround.
2018-05-21 17:57:50 -04:00
Alexander von Gluck IV
20aff1c8ca HaikuPorts/x86: Fix x86 build_packages repo url
Change-Id: Ib8f70f87b70b146c9342890bbff80cd4cc5e9680
2018-05-21 13:32:49 -05:00
Jérôme Duval
8ac3d98578 x86_64: use the compiler built-in for cpuid. 2018-05-21 15:28:55 +02:00