3
0
mirror of https://github.com/XboxDev/nxdk.git synced 2025-12-01 12:03:59 +00:00

852 Commits

Author SHA1 Message Date
d0ae96acc9 winapi: Implement Set/GetFileInformationByHandle 2025-10-07 03:26:33 +02:00
56f54e4faf pbkit: Add anisotropy field to NV097_SET_TEXTURE_CONTROL0 2025-09-29 18:27:51 +09:30
4171d5bfe5 pbkit: Expose graphics context registration 2025-09-09 08:07:04 +09:30
314ef156c3 pbkit: deduplicate defines
- get rid of defines in pbkit.c which are defined in pblit_dma.h (included via pbkit.h)
2025-09-09 08:01:55 +09:30
3b24b55912 xboxkrnl: Fix doxygen @param typos 2025-08-17 08:50:30 +02:00
5f75e56f78 libc: Partial implementation of direct.h
Co-authored-by: Ryzee119 <wendland@live.com.au>
2025-08-09 11:11:53 +02:00
51dfb91a5f winapi: Implement FileTimeToLocalFileTime() 2025-08-06 08:12:16 +02:00
af7bd7175b usb: Update libusbohci submodule to 8b0039a 2025-08-04 11:08:59 +02:00
8a74cc1c4b pbkit: Use proper PAGE_* protection flags for memory allocations 2025-07-30 10:11:44 +09:30
6bc9798c88 pbkit: Refactor gamma ramp handling 2025-07-30 10:11:33 +09:30
f02fc36ffb winapi: Implement SystemTimeToFileTime() 2025-07-20 15:07:01 +09:30
e945eb52be winapi: Implement CompareFileTime() 2025-07-20 15:07:01 +09:30
e447398fc1 winapi: Implement FileTimeToSystemTime() 2025-07-20 15:07:01 +09:30
6ed48c8626 xboxkrnl: Fix typo in TIME_FIELDS definition 2025-07-20 15:07:01 +09:30
f366355416 winapi: Fix typo in thread priority define 2025-07-20 07:00:42 +02:00
85182d5374 video: Disable soften filter on start-up 2025-07-11 20:47:28 +09:30
63df173d2c pdclib: Update to 679081d 2025-07-09 12:45:49 -07:00
8b4adced2a nvnetdrv: Implement link state change handling 2025-06-29 16:18:24 -07:00
2aab910b17 sdl: Update submodule to 2554902 2025-06-21 23:03:52 +02:00
11b794f40e docker: Update to buildbase:git-3a71ed5f (based on Alpine 3.22) 2025-06-07 15:01:46 +09:30
10e711361d extract-xiso: Update to b72e5b6 2025-05-15 16:13:27 -07:00
9010e9ed39 cg: Patch binaries to remove _IO_2_1_stdout_ reference 2025-05-15 10:30:42 -07:00
7a002a8cad hal: Handle LaunchData redirects to xonlinedash 2025-05-14 16:39:36 +02:00
4ac1134e7b vp20compiler: Add ARL support 2025-05-14 16:26:29 +02:00
3e2ea493de sdl: Update submodule to 19e6e9f 2025-05-14 16:20:01 +02:00
ac6107db73 nvnetdrv: Properly clear memory space for g_txData 2025-04-21 20:26:01 +02:00
9a6cd8e1c1 Revert "docker: Update to buildbase:git-ee8f698d (based on Alpine 3.21)"
This reverts commit c43fa1f989.
2025-04-21 01:17:51 +02:00
602c743969 build: Warn if clang version is in the 19.x.x-20.1.2 range 2025-04-21 01:17:33 +02:00
233a190b3c sdl: Update submodule to dda5c75 2025-03-23 11:58:54 +10:30
f0794cfa59 xboxkrnl: Default to macro wrapper for Rtl*Memory functions 2025-03-20 10:07:27 +10:30
c4e51aa349 xboxkrnl: Fix RtlMoveMemory prototype 2025-03-20 00:02:32 +01:00
9c4a7bb6ee pbkit: Add perspective-correct texture mapping bit to control0 2025-03-16 08:32:17 +10:30
095dcc3b24 pbkit: Upstream SET_LIGHT_CONTROL 2025-03-16 08:15:22 +10:30
1c7cfbc2c9 nvnetdrv: Fully handle IRQ in DPC, remove IRQ thread 2025-03-12 22:03:26 +10:30
8914a768e9 net: Use the kernel's pool allocator instead of malloc for DPC safety 2025-03-12 22:03:26 +10:30
7b1994853b net: Reimplement arch layer for DPC compatibility and perf
sys_sem_t, sys_mbox_t and sys_thread_t are now in-place implementations instead of pointer types.
This requires us to have dummy implementations of *_set_valid and *_valid or lwIP will hang.

sys_sem_t now uses the Ke* semaphore functions, bypassing the Nt* object layer which is not safe to call while IRQL == DISPATCH_LEVEL

sys_arch_sem_wait() now protects against accidentally deadlocking by calling it while IRQL >= DISPATCH_LEVEL

ext_sys_arch_sem_try() now uses KeWaitForSingleObject(), which is safe to call from a DPC as long as the timeout is zero.

The mbox implementation now raises the IRQL instead of locking a mutex, which is sufficient on a uniprocessor system.
This prevents deadlocking when a DPC tries to post while the mutex is already locked.
2025-03-12 22:03:26 +10:30
94963e7222 winapi: Check whether VirtualAlloc is being called from a DPC 2025-03-12 22:03:26 +10:30
de7fd7d856 xboxkrnl: Add IRQL constant values 2025-03-12 22:03:26 +10:30
7b018d22fa git: Remove unnecessary .git-blame-ignore-revs commit 2025-03-07 22:36:41 -07:00
7bf952b113 git: Ignore dos2unix changes 2025-03-07 22:34:27 -07:00
2d3752a747 ci: Add workflow that checks and flags added CRLF line endings 2025-03-07 22:29:57 -07:00
d418615b94 samples: Get rid of CRLF line endings 2025-03-07 22:29:57 -07:00
ccb981ff1e fp20compiler: Get rid of CRLF line endings 2025-03-07 22:29:57 -07:00
769e41f342 usb: Get rid of CRLF line endings 2025-03-07 22:29:57 -07:00
c6b6902467 winapi: Get rid of CRLF line endings 2025-03-07 22:29:57 -07:00
66b77e6769 nvnetdrv: Get rid of CRLF line endings 2025-03-07 22:29:57 -07:00
5fabd24e0c net: Remove pktdrv 2025-03-07 21:19:59 +10:30
686fc72e7d lwip: Update submodule to STABLE-2_2_1_RELEASE 2025-03-06 17:58:07 +01:00
62858905c5 lwip: Move hardware init to after lwip prep 2025-03-06 17:58:07 +01:00
cbb688ee6d lwip: Make IP_REASS_MAXAGE more relaxed inline with upstream lwip
Co-authored-by: Dustin Holden <dustin@devholden.com>
2025-03-06 17:58:07 +01:00