Commit Graph

114 Commits

Author SHA1 Message Date
08405e7bdc
Ad more routines for semaphores support 2023-02-17 09:40:18 +01:00
03bae53fb9
Export semaphore, spinlock and timer initialization routines 2023-02-16 22:33:54 +01:00
ccaa28399a
Initial semaphores support 2023-02-16 19:29:36 +01:00
525cc116ee
Update description 2023-02-16 19:27:01 +01:00
98884516a1
Implement KeInitializeSpinLock() routine 2023-02-16 18:34:46 +01:00
b2456fd18a
Implement kernel timer initialization routines 2023-02-16 17:56:35 +01:00
92a461d1e0
Add notes for MM 2023-02-15 23:44:10 +01:00
9ea1be96db
Implement MmZeroPages() routine 2023-02-15 20:48:48 +01:00
b1c2b209e3
Implement RtlGetStackLimits() routine 2023-02-15 20:12:58 +01:00
28b760b089
Add stubs for allocating and freeing kernel stacks 2023-02-14 22:35:16 +01:00
d8bc45e3bb
Move HL related global variables into separate file 2023-02-13 23:41:24 +01:00
050f24f877
Implement routines for atomically work with linked lists 2023-02-13 22:36:03 +01:00
9e5fb84412
More routines for performing atomic bitwise AND/OR/XOR operations 2023-02-12 23:11:23 +01:00
5a86d61b78
Implement routines for performing atomic operations 2023-02-12 22:46:58 +01:00
b43afac326
Cleanup definitions in kernel headers 2023-02-11 22:26:13 +01:00
e4fa9bdead
CurrentPrcb is needed here 2023-02-10 17:29:18 +01:00
d72002187d
Partially implement ArpIdentifyProcessor() 2023-02-10 17:23:47 +01:00
e645cf664c
Set process and thread information in processor control block 2023-02-09 17:30:24 +01:00
47f399e987
Set current process and thread in processor control block 2023-02-09 00:02:45 +01:00
c4a52938d2
Implement KeGetCurrentThread() routine 2023-02-08 23:58:24 +01:00
9132c47cd9
Initial process and thread related structures 2023-02-08 23:40:58 +01:00
929d3dfae7
Implement KeGetCurrentProcessorBlock() and KeGetCurrentProcessorControlBlock() routines for both amd64 and i686 2023-02-08 16:39:05 +01:00
d8c68ed003
Add endian conversion routines 2023-02-08 16:33:57 +01:00
a32e18b237
Implement ArReadFSDualWord() routine 2023-02-07 23:19:22 +01:00
75c519a70c
Use more generic name for this macro use pointer used behind it will point to kernel debugger after it gets initialized 2023-02-07 19:37:44 +01:00
67768ae7a3
Mark ArpIdentifyProcessor() as unimplemented 2023-02-06 16:15:24 +01:00
9c7d961c5a
Architecture specific initialization after processor init is done 2023-02-06 15:53:11 +01:00
385f0e6de0
Not all AMD64 CPUs support large pages and global pages, unfortunately 2023-02-05 22:14:47 +01:00
76f22fbdc4
Initialize segments and processor registers for i686 architecture 2023-02-05 15:45:22 +01:00
911903d0eb
Add missing routine description 2023-02-05 10:08:49 +01:00
d6aac59199
Let kernel initialize stack on it's own without relying on boot loader 2023-02-05 09:55:59 +01:00
0b743a5f26
Add stub routine for identifying processor 2023-02-05 00:42:30 +01:00
c6cadbd655
Initialize MXCSR register 2023-02-05 00:30:12 +01:00
5eaf7d63a3
Initialize Page Attribute Table 2023-02-05 00:14:34 +01:00
55cdae7c83
Initialize AMD64 processor registers 2023-02-04 23:40:03 +01:00
f181215341
Initialize segment registers 2023-02-04 00:17:07 +01:00
f37722b6e6
Distinguish ProcessorBlock and ProcessorControlBlock 2023-02-03 19:28:03 +01:00
b90f37dad4
Fill in Interrupt Descriptor Table (IDT) 2023-02-03 18:40:10 +01:00
648ad1636a
Cleanup TSS initialization code 2023-02-03 18:27:50 +01:00
269214ed34
Another improvements to GDT 2023-02-03 18:00:37 +01:00
a49d0804ce
Add trap handlers for both i686 and amd64 2023-02-02 23:31:32 +01:00
404f2f85c6
Cleanup the Interrupt Stack Table 2023-02-01 23:47:57 +01:00
7fc1f04cd0
TSS entry is already put into GDT table, just initialize it 2023-02-01 23:37:12 +01:00
cbd21ced39
Use a size of the structure, not a pointer 2023-02-01 22:38:36 +01:00
dc1a94b982
This is 'Processor Block' 2023-02-01 22:02:07 +01:00
3522539d4b
Initialize Interrupt Descriptor Table (IDT) 2023-02-01 21:56:17 +01:00
1ef205d47b
Initialize DoubleFault and NonMaskableInterrupt TSS entries 2023-02-01 20:36:40 +01:00
e2813bcdaa
Fix entries in Global Descriptor Table (GDT) 2023-02-01 20:24:55 +01:00
892c9eca86
Do not hardcode I/O map base 2023-01-30 22:38:41 +01:00
a761d3125a
Architecture specific initialization prior to processor structures initialization 2023-01-30 20:34:05 +01:00