Commit graph

68 commits

Author SHA1 Message Date
Cameron Gutman 4a9fcb6569 [HIVESYS]
- Fix the service entries
[HAL]
- Synchronously invalidate device relations
[NTOSKRNL]
- Remove hacks

svn path=/branches/usb-bringup-trunk/; revision=55336
2012-01-30 21:36:51 +00:00
Cameron Gutman 3aff101683 [HALACPI]
- Create PDO earlier so ACPI can be loaded earlier in boot
[HIVESYS]
- Create critical device database with required devices for USB boot
[NTOSKRNL]
- Read the CDDB and install devices that are critical for boot
- This implementation won't be 100% correct until a PnP manager rewrite but it should work well enough for our needs
- Not complete and disabled atm

svn path=/branches/usb-bringup-trunk/; revision=55328
2012-01-30 16:23:44 +00:00
Cameron Gutman f7c472bda7 [NTOSKRNL]
- Add a hack so that registering an interface after a remove and reconnect works

svn path=/branches/usb-bringup-trunk/; revision=55193
2012-01-26 03:24:47 +00:00
Cameron Gutman 9758b6cc87 [USB-BRINGUP-TRUNK]
- Don't send removal IRPs to device nodes already pending removal
- USB device removal and reinsertion works now

svn path=/branches/usb-bringup-trunk/; revision=55087
2012-01-23 00:50:25 +00:00
Cameron Gutman 3de4023a19 [USB-BRINGUP-TRUNK]
- Fix a broken check that resulted in freeing the same device object twice
- Enable the IoDetachDevice call in usbstor now that the kernel bug is fixed

svn path=/branches/usb-bringup-trunk/; revision=55086
2012-01-23 00:39:28 +00:00
Cameron Gutman a51ccbc555 [USB-BRINGUP-TRUNK]
- Send removal IRPs to children and removal relations before sending to the device itself

svn path=/branches/usb-bringup-trunk/; revision=55079
2012-01-22 21:50:29 +00:00
Cameron Gutman a687ae8748 [USB-BRINGUP-TRUNK]
- Don't do any special checks for AddDevice; a failure check is enough

svn path=/branches/usb-bringup-trunk/; revision=55042
2012-01-21 04:17:22 +00:00
Cameron Gutman 753f07c723 [USB-BRINGUP-TRUNK]
- Merge 54115-54859

svn path=/branches/usb-bringup-trunk/; revision=55020
2012-01-20 21:19:37 +00:00
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018
2012-01-20 20:58:46 +00:00
Amine Khaldi 46a8da69da [CMAKE]
* Sync with trunk r51323.

svn path=/branches/cmake-bringup/; revision=51329
2011-04-13 08:39:17 +00:00
Amine Khaldi 3793b7fdf1 [CMAKE]
* Sync to trunk r51266.

svn path=/branches/cmake-bringup/; revision=51268
2011-04-06 16:00:24 +00:00
Timo Kreuzer 0d3a397198 [NTOSKRNL]
Move macro definition out of macro instantiation.
Fixes compilation with MSVC

svn path=/branches/cmake-bringup/; revision=51181
2011-03-28 11:58:46 +00:00
Timo Kreuzer 4346778201 [CMAKE]
move the EXTERN _KiSystemService:PROC from syscalls.inc to zw.S. Fixes build of ntdll with MSVC

svn path=/branches/cmake-bringup/; revision=51180
2011-03-28 11:27:08 +00:00
Amine Khaldi 475719f162 [CMAKE]
- Sync with trunk r51165.

svn path=/branches/cmake-bringup/; revision=51166
2011-03-26 23:14:25 +00:00
Amine Khaldi 785bea480a [CMAKE]
- Sync with trunk r51050.

svn path=/branches/cmake-bringup/; revision=51154
2011-03-26 13:00:21 +00:00
Timo Kreuzer 285dd00828 [CMAKE]
Fix MSVC build of ntdllsys

svn path=/branches/cmake-bringup/; revision=50699
2011-02-15 12:46:08 +00:00
Timo Kreuzer 0ea1c67bac [NTOSKRNL]
Fix build with MSVC

svn path=/branches/cmake-bringup/; revision=50692
2011-02-14 13:45:15 +00:00
Timo Kreuzer bcf29f9d9d [NTOSKRNL]
Fix compilation of zw.S with MSVC

svn path=/branches/cmake-bringup/; revision=50660
2011-02-11 17:39:07 +00:00
Amine Khaldi 54f8c1fb23 [CMAKE]
- Fix build.

svn path=/branches/cmake-bringup/; revision=50636
2011-02-09 17:06:56 +00:00
Timo Kreuzer 89fbead325 sync trunk HEAD (r50626)
svn path=/branches/cmake-bringup/; revision=50635
2011-02-09 15:56:57 +00:00
Timo Kreuzer 14a2a83fa2 [CMAKE]
Remove module name from ntoskrnl add_importlib_target

svn path=/branches/cmake-bringup/; revision=50539
2011-01-28 18:16:48 +00:00
Timo Kreuzer 8191f95396 [CMAKE]
- Sync with trunk 50501
- fix a couple of merge artifacts (indentation)

svn path=/branches/cmake-bringup/; revision=50505
2011-01-26 23:24:08 +00:00
Sylvain Petreolle e2b7eacdd5 [CMAKE]
Sync trunk up to r50477.

svn path=/branches/cmake-bringup/; revision=50504
2011-01-26 22:19:12 +00:00
Amine Khaldi 0d77e58cf9 [CMAKE]
- Fix formatting.

svn path=/branches/cmake-bringup/; revision=50301
2011-01-06 17:08:38 +00:00
Amine Khaldi 6c0c23cb53 [CMAKE]
- Sync with trunk head (r50270)
- This also reverts r49298.

svn path=/branches/cmake-bringup/; revision=50271
2011-01-03 00:33:31 +00:00
Timo Kreuzer 93ad7973a8 [CMAKE]
Remove def file for the kernel

svn path=/branches/cmake-bringup/; revision=50234
2010-12-31 15:12:58 +00:00
Timo Kreuzer bf9290d80d [CMAKE]
Some amd64 compilation fixes

svn path=/branches/cmake-bringup/; revision=50233
2010-12-31 15:12:00 +00:00
Timo Kreuzer dd830cafba [NTOSKRNL]
- Add MiPdeToAddress and MI_IS_PAGE_LARGE for amd64
- Fix a pragma message
- Add some missing globals for amd64

svn path=/branches/cmake-bringup/; revision=50209
2010-12-29 10:20:39 +00:00
Timo Kreuzer 4bebddb463 [CMAKE/AMD64]
- add missing definitions for amd64

svn path=/branches/cmake-bringup/; revision=50195
2010-12-28 17:10:53 +00:00
Timo Kreuzer 087eda6b50 [NTOSKRNL]
- Use SLIST_ENTRY instead of SINGLE_LIST_ENTRY for interlocked operations
- Remove unused variable

svn path=/branches/cmake-bringup/; revision=50191
2010-12-28 16:03:46 +00:00
Amine Khaldi 50b7280024 [CMAKE]
- Add new-cc activation flag. Dedicated to arty.

svn path=/branches/cmake-bringup/; revision=50129
2010-12-24 18:04:31 +00:00
Amine Khaldi 4f505e46f5 [CMAKE]
- Arty: Add usermode addresses translation support. WIP.

svn path=/branches/cmake-bringup/; revision=50033
2010-12-15 23:37:54 +00:00
Amine Khaldi c2575b551d [CMAKE]
- Add dllname optional parameter to the import lib creation macro.
- Use it in the kernel.

svn path=/branches/cmake-bringup/; revision=49930
2010-12-03 16:17:41 +00:00
Amine Khaldi b7f44d1892 [CMAKE]
- WIP: Make rossym and its users rely on dwarf debug info. Brought to you by the Arty.

svn path=/branches/cmake-bringup/; revision=49906
2010-12-02 23:20:22 +00:00
Sylvain Petreolle f1283c58c6 [CMAKE]
Sync with trunk. (r49792)

svn path=/branches/cmake-bringup/; revision=49803
2010-11-26 23:33:34 +00:00
Timo Kreuzer c41cbd1d26 [NTOS]
Add some missing intrinsics for MSVC

svn path=/branches/cmake-bringup/; revision=49787
2010-11-24 20:03:01 +00:00
Timo Kreuzer e71cf78478 [CMAKE]
Use spec file for ntoskrnl and set image base to 0x00400000 on MSVC builds. This is the value that Windows has and the ms linker doesn't like to use the kernel address.

svn path=/branches/cmake-bringup/; revision=49709
2010-11-22 14:11:16 +00:00
Timo Kreuzer d208da9a5b [NTOSKRNL]
Don't include initguid.h in a global header. It causes the guids to be generated in every object file, using 16 bytes per guid. We were lucky that the linker seemed to detect duplicates, so that the resulting image size isn't affected. Add a new file guid.c, that only contains the guids.

svn path=/branches/cmake-bringup/; revision=49708
2010-11-22 14:08:41 +00:00
Amine Khaldi e11826a832 [CMAKE]
- Sync with trunk.

svn path=/branches/cmake-bringup/; revision=49668
2010-11-20 16:33:34 +00:00
Timo Kreuzer 66a7b7ba1d [NTOSKRNL]
Convert assembly to new sytax

svn path=/branches/cmake-bringup/; revision=49657
2010-11-20 11:09:32 +00:00
Timo Kreuzer eea3ac2425 [NTOSKRNL]
Remove duplicated and incompatible implementations of setjmp / longjmp

svn path=/branches/cmake-bringup/; revision=49656
2010-11-20 10:57:26 +00:00
Timo Kreuzer eb84dde490 [NTOSKRNL]
Use constants instead of a gcc extension

svn path=/branches/cmake-bringup/; revision=49655
2010-11-20 10:43:37 +00:00
Timo Kreuzer 8b7d047834 [CMAKE]
- Add asm dependencies to freeldr, ntdll, crt
- Add importlib for hal and ntoskrnl
- Fix ntoskrnl spec file
- Fix resource pathes in ntoskrnl.rc

svn path=/branches/cmake-bringup/; revision=49645
2010-11-19 22:02:33 +00:00
Timo Kreuzer 406dfdbc87 [CMAKE]
Sync trunk (rr49606)

svn path=/branches/cmake-bringup/; revision=49607
2010-11-16 13:43:39 +00:00
Timo Kreuzer c4c880d59c [NTOSKRNL]
Don't declare a variable in the moddle of a function, MSVC gets very angry about that.

svn path=/branches/cmake-bringup/; revision=49604
2010-11-15 23:43:28 +00:00
Timo Kreuzer 440627d3df [NTOSKRNL]
Remove alloc pragmas for functions that don't exist enymore

svn path=/branches/cmake-bringup/; revision=49603
2010-11-15 22:30:20 +00:00
Timo Kreuzer ac8a48c91f [NTOSKRNL]
Fix a warning for MSVC, stub __builtin_expect

svn path=/branches/cmake-bringup/; revision=49601
2010-11-15 22:06:01 +00:00
Timo Kreuzer 1c7fc49e5f [NTOSKRNL]
Convert pspec to spec

svn path=/branches/cmake-bringup/; revision=49600
2010-11-15 21:29:58 +00:00
Amine Khaldi 6967f20f37 [CMAKE]
- Improve the kernel build.

svn path=/branches/cmake-bringup/; revision=49487
2010-11-05 16:57:33 +00:00
Jérôme Gardou 887046a6ee [CMAKE]
- build msvc importlibs explicitly from def file
  - circumvent lack of pseh lib in MSVC.
  - fix advapi32.def

svn path=/branches/cmake-bringup/; revision=49409
2010-11-01 17:24:32 +00:00