Commit graph

33 commits

Author SHA1 Message Date
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
Jérôme Gardou 9db2f953c2 [CMAKE]
- improve ntoskrnl/CMakeLists.txt

svn path=/branches/cmake-bringup/; revision=49391
2010-11-01 01:23:17 +00:00
Amine Khaldi a2e649110b [CMAKE]
- "cmake gracefully handles def files as source files" You mean it gracefully ignores them, right ?
- Fix the kernel and class2 exports. More to come.
- Fix imaadp32.acm

svn path=/branches/cmake-bringup/; revision=49367
2010-10-30 22:03:40 +00:00
Jérôme Gardou 4ee1da42f1 [CMAKE]
- rewrite spec2def macro because
1. cmake gracefully handles def files as source files
2. cmake gracefully handles autogenerated files as source
3. it did not take into account the fact that all shared libraries haven't the .dll extension

svn path=/branches/cmake-bringup/; revision=49358
2010-10-30 16:08:19 +00:00
Jérôme Gardou ed8cab27c4 sync with trunk r49322
svn path=/branches/cmake-bringup/; revision=49323
2010-10-27 23:45:28 +00:00
Jérôme Gardou b2f64ac552 Sync with trunk (r49303)
svn path=/branches/cmake-bringup/; revision=49307
2010-10-27 15:52:24 +00:00
Sylvain Petreolle 1fb94b1cb5 [CMAKE]
sync with trunk (r49230)

svn path=/branches/cmake-bringup/; revision=49246
2010-10-23 22:14:59 +00:00
Sylvain Petreolle 3346380aaa [CMAKE]
Livecd: Add hal, ntoskrnl, csrss, csrsrv, win32k.

svn path=/branches/cmake-bringup/; revision=49225
2010-10-22 14:15:01 +00:00
Sylvain Petreolle da55a789c3 [CMAKE]
Add minicd target.
This partial bootcd target produces a minicd iso,
able to start the install process to the cabinet installation page.

svn path=/branches/cmake-bringup/; revision=49072
2010-10-09 13:54:36 +00:00
Timo Kreuzer 912ce51ae6 [CMAKE]
Sync with trunk head (r48826)

svn path=/branches/cmake-bringup/; revision=48831
2010-09-20 17:27:52 +00:00
Timo Kreuzer f8447bf6ef [CMAKE]
Fix ntoskrnl compilation that broke after the changes to the configuration options

svn path=/branches/cmake-bringup/; revision=48829
2010-09-20 16:38:40 +00:00
Amine Khaldi 13dc8a4761 [CMAKE]
- Generalize CMAKE_C_LINK_EXECUTABLE and CMAKE_EXE_LINKER_FLAGS, and use additional flags per module.
- Fix usetup: make it depend on psdk and buildno_header, and also fix the entry point (_NtProcessStartup -> _NtProcessStartup@4)
- Make ext2lib depend on psdk.

svn path=/branches/cmake-bringup/; revision=48802
2010-09-18 12:14:03 +00:00
Sylvain Petreolle 174808a463 Move all temporary import libs to a single directory.
This allows linking to libraries with "-lfoo".

svn path=/branches/cmake-bringup/; revision=48796
2010-09-17 20:27:01 +00:00
Amine Khaldi 6e7a324a26 [CMAKE]
- Improve bootvid, crt and ntoskrnl.

svn path=/branches/cmake-bringup/; revision=48762
2010-09-12 21:02:18 +00:00
Amine Khaldi 1c24a9bbdd [FREELDR]
- Use fathelp.S from r43775 (amd64 branch by timo)
[CMAKE]
- Improve hal, ntoskrnl and freeldr/setupldr build.

svn path=/branches/cmake-bringup/; revision=48688
2010-09-02 21:00:02 +00:00
Amine Khaldi b41fc0f134 [CMAKE]
- Add ze kirnel to build.

svn path=/branches/cmake-bringup/; revision=48659
2010-08-30 14:31:44 +00:00
Amine Khaldi a867182e64 [CMAKE]
- Add hal (yes, hal) to build.

svn path=/branches/cmake-bringup/; revision=48645
2010-08-29 17:30:24 +00:00
Amine Khaldi 62ff6c86b7 - Delete rbuild and the rbuild files.
svn path=/branches/cmake-bringup/; revision=48237
2010-07-24 19:21:04 +00:00
Amine Khaldi c424146e2c Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
2010-07-24 18:52:44 +00:00